Highlighting codeblocks in README's and CHANGELOG's. #797
MangoIV
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
CommonMark
already does the right thing when converting a codeblock of some languagelang
to html; it wraps it in a<code class="language-lang">
tag. Incidentally, this is exactly what a javascript syntax highlighting library likeprism.js
(https://prismjs.com/#basic-usage) wants to see when it is used for highlighting codeblocks. I think this would quite a nice low-hanging fruit to add to flora which would really make the landing pages of all kinda package more enjoyable.Beta Was this translation helpful? Give feedback.
All reactions