Yaml Code highlite
See original GitHub issueDescription
Hi,
I am using the last Docker images, and I try to get my Yaml code highlighted but seems not working.
Here my mkdocs.yml
site_name: test
theme:
name: 'material'
palette:
primary: 'blue'
accent: 'blue'
markdown_extensions:
- codehilite
- admonition
- pymdownx.details
- pymdownx.critic
- pymdownx.superfences
- pymdownx.mark
pages:
- 'Home': index.md
- 'Requirements': Requirements.md
Issue Analytics
- State:
- Created 5 years ago
- Comments:19 (12 by maintainers)
Top Results From Across the Web
Highlight YAML - Online YAML Tools
Free, quick and easy online utility that highlights YAML syntax right in your browser. There are no ads or downloads. Simply enter YAML...
Read more >Syntax Highlighting in YAML Documents - Oxygen XML Editor
Syntax Highlighting in YAML Documents · Open the Preferences dialog box . · Go to Editor > Syntax Highlight. · Select and expand...
Read more >andreazorzetto/yh: YAML syntax highlighter to bring ... - GitHub
A dummy syntax highlighter that brings colours to YAML output, jq style. This project starts with the author's incapacity to give up on...
Read more >Inline YAML Syntax Highlighting - Visual Studio Marketplace
Inline YAML Syntax Highlighting. Provides basic inline, template literal syntax highlighting through grammar injection for ...
Read more >YAML Syntax Highlighting - TeX - LaTeX Stack Exchange
The »minted« package is your friend here. It uses Python Pygments as back-end for syntax highlighting. And one of the Pygments lexers is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It works !!! Thanks !!!
@markainick, that isn’t what I meant. I meant, don’t use Pygments, but instead use a JavaScript based syntax highlighter like highlight.js or something else. You’d have to disable pygments use in things like CodeHilite. You’d have to look at their documentation and use the appropriate option. Then you’d have to include the JS highlighter and theme of your choice, and possible configuration. I unfortunately don’t have a step by step guide handy at this moment.
In short, there are only three options: