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

JavaScript highlighting (fenced code blocks) #365

Open
mitchallen opened this issue Oct 22, 2023 · 0 comments
Open

JavaScript highlighting (fenced code blocks) #365

mitchallen opened this issue Oct 22, 2023 · 0 comments

Comments

@mitchallen
Copy link

mitchallen commented Oct 22, 2023

JavaScript keywords are not all being highlighted for blocks like this:

 ~~~{.javascript .numberLines caption="keywords.js"}
# Keywords

var a = "Alpha"
const b = "Beta"
let c = "Gamma"
~~~

In this case, only the const keyword is being highlighted. It seems like only generic keywords that could apply to many languages are being highlighted.

I'm building with the docker container using these parameters:

    --template eisvogel --listings

Do I need to pass in specific definitions for JavaScript?

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