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

Allow alternative ways of syntax highlighting #25

Open
Aarkon opened this issue Jun 15, 2021 · 0 comments
Open

Allow alternative ways of syntax highlighting #25

Aarkon opened this issue Jun 15, 2021 · 0 comments
Labels
docs Documentation issue

Comments

@Aarkon
Copy link

Aarkon commented Jun 15, 2021

Hi!

First of all, thank you for your great work! 😃 I'd like to propose an enhancement, which would be a (documented) way to exchange Highlight.js with something ideally happening at build time, or at least some internal function that is called when displaying code blocks in HTML. Your official documentation says this is already possible, but not how to do it:

Code blocks have syntax highlighting via Highlight.js (but you can set up something else)

If it is true what this line says (I have no doubt it is 😉), this should merely be a writing task, with no coding at all.

elm-pages for instance has syntax highlighting without third party runtime libraries. Their solution looks like hooking into markdown rendering itself though, which I as an elm beginner don't dare to touch already. Don't get me wrong, I don't want to spark any jealousy here - elm-apges doesn't work for me for some reasons, but maybe there is some inspiration to be taken from this project in this regard.

@alexkorban alexkorban added the docs Documentation issue label Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation issue
Projects
None yet
Development

No branches or pull requests

2 participants