Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dev UI] Markdown - code syntax highlighting #2045

Open
MichaelDoyle opened this issue Feb 20, 2025 · 0 comments
Open

[Dev UI] Markdown - code syntax highlighting #2045

MichaelDoyle opened this issue Feb 20, 2025 · 0 comments
Labels

Comments

@MichaelDoyle
Copy link
Member

I noticed we currently do not highlight code syntax.

Image
  • Although ngx-markdown has optional requires another package to be added) support for prismjs, the rest of the dev-ui is using highlightjs.
  • We should be able to customize how code blocks are rendered such that highlight js will do the appropriate thing
  • See also: https://www.npmjs.com/package/ngx-markdown#markedoptionsrenderer
@MichaelDoyle MichaelDoyle changed the title [Dev UI] Markdown - code syntax highlighting and more [Dev UI] Markdown - code syntax highlighting Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant