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

Code highlighting broken when starting with module #340

Open
sparksp opened this issue Sep 23, 2020 · 0 comments
Open

Code highlighting broken when starting with module #340

sparksp opened this issue Sep 23, 2020 · 0 comments

Comments

@sparksp
Copy link

sparksp commented Sep 23, 2020

If you use an elm code snippet in your documentation that starts with a module line then the highlighting does not work correctly, for example: jfmengels/[email protected] (bad highlighting with module line) vs jfmengels/[email protected] (good highlighting without module line).

I've tried out the same code samples with the most recent version of highlight.js and everything seems to work fine there, so I would suggest that updating highlight.js will solve this problem.

example of broken highlighting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant