Skip to content

Instantly share code, notes, and snippets.

@vsl-iil
Created April 19, 2025 22:52
Show Gist options
  • Save vsl-iil/f1b934a4e4f870d512a03561e1939eb5 to your computer and use it in GitHub Desktop.
Save vsl-iil/f1b934a4e4f870d512a03561e1939eb5 to your computer and use it in GitHub Desktop.
Dinkus tag - adds <dinkus> HTML tag to separate paragraphs | Добавляет HTML-тэг для разделения текста (* * *). См. пример: https://codepen.io/vsl-iil/pen/zxxvvqK
/*
* Adds a dinkus tag. Just write <dinkus></dinkus> in
* your HTML to add a dinkus (* * *) in text. You can
* also put <br> inside to make asterism (⁂):
* <dinkus><br></dinkus>
* See https://codepen.io/vsl-iil/pen/zxxvvqK for an
* example.
*/
dinkus {
display: block;
text-align: center;
margin: 1rem 0;
line-height: 10px;
}
dinkus::before {
content: "*";
}
dinkus::after {
content: " * *";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment