Created
April 19, 2025 22:52
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * 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