You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have an issue with inline code blocks. I have marked and Prismjs configured, with the scripts and styles in angular.json. Using the codeblocks with 3 backticks works perfectly fine, and in the html it generates a pre > code with class= . Prismjs correctly highlights this using the theme.
The issue is with the single backticks. This generates a code html element around the text, without a class. Therefore Prism doesnt highlight it. When I try to do a custom code element and give it a class, then Prism will highlight it as expected.
I would like to put backticks around my text in markdown file, and have that automatically get highlighted.
Is this possible ngx-markdown?
The text was updated successfully, but these errors were encountered:
Hi, I have an issue with inline code blocks. I have marked and Prismjs configured, with the scripts and styles in angular.json. Using the codeblocks with 3 backticks works perfectly fine, and in the html it generates a pre > code with class= . Prismjs correctly highlights this using the theme.
The issue is with the single backticks. This generates a code html element around the text, without a class. Therefore Prism doesnt highlight it. When I try to do a custom code element and give it a class, then Prism will highlight it as expected.
I would like to put backticks around my text in markdown file, and have that automatically get highlighted.
Is this possible ngx-markdown?
The text was updated successfully, but these errors were encountered: