gitbook-plugin-prism
gitbook-plugin-prism copied to clipboard
Prism's line numbers plugin
Hello everybody!
I would like to know if it's possible to show line numbers in code blocks. I know that Prism has a line numbers plugin, and I'm wondering how to enable it.
Thanks!
Prism adds line numbers using the plugin prism/plugins/line-numbers and I'm not sure if it works outside the browser. It would be nice to have line numbers supported in Gitbook's PDF rendering as well.
I'll have to do some digging to see if this feature could be added.