File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,10 @@ or any place where you want to talk about JavaScript-y code,
65
65
and want to improve the experience of your readers by showing them more
66
66
info about the code.
67
67
68
+ You can combine this package with
69
+ [ ` rehype-starry-night ` ] [ github-rehype-starry-night ] .
70
+ That applies syntax highlighting with ` starry-night ` to all code.
71
+
68
72
If you are not using remark or rehype,
69
73
you can instead use [ ` twoslash ` ] [ twoslash ] directly.
70
74
If you don’t care for [ ` starry-night ` ] [ github-starry-night ] ,
@@ -365,8 +369,8 @@ exploit it.
365
369
366
370
## Related
367
371
368
- * [ ` rehype-highlight ` ] ( https://github.com/rehypejs/rehype-highlight )
369
- — highlight code blocks
372
+ * [ ` rehype-starry-night ` ] ( https://github.com/rehypejs/rehype-starry-night )
373
+ — apply syntax highlighting with ` starry-night ` to all code
370
374
371
375
## Contribute
372
376
@@ -422,6 +426,8 @@ abide by its terms.
422
426
423
427
[ github-rehype ] : https://github.com/rehypejs/rehype
424
428
429
+ [ github-rehype-starry-night ] : https://github.com/rehypejs/rehype-starry-night
430
+
425
431
[ github-remark-parse ] : https://github.com/remarkjs/remark/tree/main/packages/remark-parse
426
432
427
433
[ github-remark-rehype ] : https://github.com/remarkjs/remark-rehype
You can’t perform that action at this time.
0 commit comments