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

Add Verilog syntax highlighting to Antora #10

Open
esynr3z opened this issue Jun 5, 2024 · 0 comments
Open

Add Verilog syntax highlighting to Antora #10

esynr3z opened this issue Jun 5, 2024 · 0 comments

Comments

@esynr3z
Copy link
Owner

esynr3z commented Jun 5, 2024

Antora uses highlight.js for syntax highlighting, but only specific languages are supported:

Syntax highlighting also requires a contribution from the UI. The reference Antora UI bundles the highlight.js library (both the JavaScript and the CSS) and adds it to each page. The names of the languages that are currently supported are listed in the highlight.bundle.js file in Antora’s UI repository.

https://docs.antora.org/antora/latest/asciidoc/source/#source-highlighter

It looks like custom UI bundle need to be created.

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