jfcere / ngx-markdown

Angular markdown component/directive/pipe/service to parse static, dynamic or remote content to HTML with syntax highlight and more...
https://jfcere.github.io/ngx-markdown
MIT License
1.07k stars 182 forks source link

Custom component for syntax highlighting #532

Closed MotassemJa closed 4 months ago

MotassemJa commented 4 months ago

Is it possible to supply a custom component for the syntax highlighting? I would like to customise it and provide an extended angular component that looks a bit different from the prismjs styles.

Is such thing possible?

jfcere commented 4 months ago

Hi @MotassemJa,

No this is not possible. You can customize prism.js styling but not provide your own implementation.