Skip to content

Commit dc43654

Browse files
committed
Add reference to rehype-starry-night
1 parent eb42077 commit dc43654

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

readme.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ or any place where you want to talk about JavaScript-y code,
6565
and want to improve the experience of your readers by showing them more
6666
info about the code.
6767

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+
6872
If you are not using remark or rehype,
6973
you can instead use [`twoslash`][twoslash] directly.
7074
If you don’t care for [`starry-night`][github-starry-night],
@@ -365,8 +369,8 @@ exploit it.
365369

366370
## Related
367371

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
370374

371375
## Contribute
372376

@@ -422,6 +426,8 @@ abide by its terms.
422426

423427
[github-rehype]: https://github.com/rehypejs/rehype
424428

429+
[github-rehype-starry-night]: https://github.com/rehypejs/rehype-starry-night
430+
425431
[github-remark-parse]: https://github.com/remarkjs/remark/tree/main/packages/remark-parse
426432

427433
[github-remark-rehype]: https://github.com/remarkjs/remark-rehype

0 commit comments

Comments
 (0)