console.log("test")
What highlight framework does this use and how can I contribute my own? Is it tree-sitter? I see that it is hljs… uhm
is there a tree-sitter version? ![]()
karl-police asks which highlighting framework Discourse uses for code blocks and whether it supports tree-sitter instead of the default Highlight.js. NateDhaliwal suggests a theme component for customizing code block colors, but karl-police clarifies they want to integrate tree-sitter to replace Highlight.js entirely, not just change colors.
console.log("test")
What highlight framework does this use and how can I contribute my own? Is it tree-sitter? I see that it is hljs… uhm
is there a tree-sitter version? ![]()
If you want different colors, check out this Theme Component:
I made a tree-sitter and I am wondering how someone can integrate it a forum, so it doens’t have to be HighlightJS ![]()