Skip to content

Commit

Permalink
Add HTML, CSS sections to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Oct 22, 2024
1 parent 2db24d3 commit a2d4dc3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
* [Example: sanitation](#example-sanitation)
* [Example: line numbering and highlighting](#example-line-numbering-and-highlighting)
* [Types](#types)
* [HTML](#html)
* [CSS](#css)
* [Compatibility](#compatibility)
* [Security](#security)
* [Related](#related)
Expand Down Expand Up @@ -392,6 +394,19 @@ console.log(String(file))
This package is fully typed with [TypeScript][].
It exports the additional type [`Options`][api-options].
## HTML
On the input side,
this plugin looks for code blocks with a `language-*` class.
On the output side,
this plugin generates `span` elements with classes that can be enhanced with
CSS.
## CSS
See [“CSS” in `lowlight`][github-lowlight-css] for more info.
## Compatibility
Projects maintained by the unified collective are compatible with maintained
Expand Down Expand Up @@ -482,6 +497,8 @@ abide by its terms.
[author]: https://wooorm.com
[github-lowlight-css]: https://github.com/wooorm/lowlight#css
[lowlight]: https://github.com/wooorm/lowlight
[lowlight-all]: https://github.com/wooorm/lowlight#all
Expand Down

0 comments on commit a2d4dc3

Please sign in to comment.