Skip to content

Commit ae8a09c

Browse files
committedMar 11, 2025·
docs: updates
1 parent 91a9156 commit ae8a09c

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed
 

‎README.md

+2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ Or via CDN
5858
<link rel="stylesheet" href="https://unpkg.com/syntax-highlight-element@latest/dist/themes/prettylights.css">
5959
```
6060

61+
Currently there are only limited [themes](https://github.com/andreruffert/syntax-highlight-element/tree/main/src/themes) available/converted. You can always create your own theme. Contributions are also very welcome.
62+
6163
## Attributes
6264

6365
* `language` The code language. The default is `plaintext`. Currently suported languages `html|css|js`.

‎docs/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ <h3>CSS</h3>
138138
<svg class="icon" width="1em" height="1em" aria-hidden="true"><use xlink:href="#copy"></use></svg>
139139
</clipboard-copy>
140140
</div>
141+
<p>Currently there are only limited <a href="https://github.com/andreruffert/syntax-highlight-element/tree/main/src/themes" target="_blank" rel="noreferrer">themes</a> available/converted. You can always create your own theme. Contributions are also very welcome.</p>
141142
</article>
142143
</section>
143144

‎docs/style.css

+10
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,16 @@
367367
}
368368

369369
p,
370+
li {
371+
text-wrap: balance;
372+
}
373+
374+
li + li {
375+
margin-block-start: var(--spacing-2);
376+
}
377+
378+
p,
379+
ul,
370380
.copy-code {
371381
margin-block-start: 0;
372382
margin-block-end: var(--spacing-4);

0 commit comments

Comments
 (0)