Hacker News new | ask | show | jobs
by rustyminnow 1459 days ago
I was confused about your comment at first - I was sure it was already a feature where you could use ```X to render the contents with a language. E.g. you could go ```java or ```javascript and get syntax highlighting for that language.

What you're saying is since ```mermaid now renders a mermaid diagram, there isn't a way to display a block of raw mermaid code with syntax highlighting.

That's a very valid point.

2 comments

They could add a ```mermaid-source tag.
I agree my comment was difficult to understand, so I edited it to hopefully make it better. Thank you!