Add syntax highlight for code blocks to comments

I would like to have users the ability to format code blocks and inline comments.


code block
with multiple lines

or the inline code strings

For code blocks, you can specify the language in the Ghost editor. You do need to add a syntax highlighting library (like Prism) to your frontend, though - see A complete guide to code snippets from the Ghost Tutorials.

Do you mean supporting syntax highlighting in member comments? Or, as @vikaspotluri123 suggested, within post content?

Just want to clarify… :smile:

I am talking about code block and inline code syntax highlighting in member comments.

Code block and inline code syntax is already there in post and works well.

(Sorry, could not answer here directly since I had to wait a day or so and then forgot that I wanted to answer here)