Open
Description
highlight.js can be used on server side to change code
tags
line-numbers plugin depends on window
https://stackoverflow.com/questions/48843806/how-to-use-npm-marked-with-highlightjs
highlight.js can be used on server side to change code
tags
line-numbers plugin depends on window
https://stackoverflow.com/questions/48843806/how-to-use-npm-marked-with-highlightjs
Activity
skoropadas commentedon Jun 12, 2023
For those who are looking for the functionality of adding lines on the
Node.js
side can look at the plugin forrehype
in my repository, it splits into lines and wraps the content created byrehype-highlight
inspan.line
which in the future you can use to create numbered lines.