Ericsson / codechecker

CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy
https://codechecker.readthedocs.io
Apache License 2.0
2.21k stars 369 forks source link

[web] Render markdown (or at least a meaningful subset of it) in comments #3829

Open whisperity opened 1 year ago

whisperity commented 1 year ago

In comments, the most major Markdown-ish features should be rendered in the web interface: bold, italic, underline, and monospace highlight with backticks. (Links and images are not really needed.) There are definitely some NodeJS libs that can render Markdown to inline HTML.

vodorok commented 1 year ago

This is a pretty popular lib for it, we should deffo try it: https://www.npmjs.com/package/markdown-it