File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 27
27
* [ Example: sanitation] ( #example-sanitation )
28
28
* [ Example: line numbering and highlighting] ( #example-line-numbering-and-highlighting )
29
29
* [ Types] ( #types )
30
+ * [ HTML] ( #html )
31
+ * [ CSS] ( #css )
30
32
* [ Compatibility] ( #compatibility )
31
33
* [ Security] ( #security )
32
34
* [ Related] ( #related )
@@ -392,6 +394,19 @@ console.log(String(file))
392
394
This package is fully typed with [TypeScript][].
393
395
It exports the additional type [` Options` ][api-options].
394
396
397
+ ## HTML
398
+
399
+ On the input side,
400
+ this plugin looks for code blocks with a ` language-* ` class.
401
+
402
+ On the output side,
403
+ this plugin generates ` span` elements with classes that can be enhanced with
404
+ CSS.
405
+
406
+ ## CSS
407
+
408
+ See [“CSS” in ` lowlight` ][github-lowlight-css] for more info.
409
+
395
410
## Compatibility
396
411
397
412
Projects maintained by the unified collective are compatible with maintained
@@ -482,6 +497,8 @@ abide by its terms.
482
497
483
498
[author]: https://wooorm.com
484
499
500
+ [github-lowlight-css]: https://github.com/wooorm/lowlight#css
501
+
485
502
[lowlight]: https://github.com/wooorm/lowlight
486
503
487
504
[lowlight-all]: https://github.com/wooorm/lowlight#all
You can’t perform that action at this time.
0 commit comments