Open greatislander opened 3 years ago
Currently, we use a custom integration of HighlightJS to highlight code blocks: https://github.com/fluid-project/infusion-docs/blob/main/.eleventy.js#L21-L31
Eleventy has a great syntax highlighting plugin that would make this much cleaner and is used in some other projects e.g. the ILDH site: https://github.com/fluid-project/docs-inclusive-learning/blob/main/.eleventy.js#L18
Replace the custom HighlightJS integration with the Eleventy Syntax Highlighting plugin, adapt the stylesheets used for HighlightJS markup to support Prism as seen in ILDH (https://github.com/fluid-project/docs-inclusive-learning/blob/main/src/assets/styles/partials/prism.styl)
Not applicable.
When this is updated, we should make sure that all of the syntax highlighting support the required contrast ratios.
Is your feature request related to a problem?
Currently, we use a custom integration of HighlightJS to highlight code blocks: https://github.com/fluid-project/infusion-docs/blob/main/.eleventy.js#L21-L31
Eleventy has a great syntax highlighting plugin that would make this much cleaner and is used in some other projects e.g. the ILDH site: https://github.com/fluid-project/docs-inclusive-learning/blob/main/.eleventy.js#L18
Describe the solution you'd like
Replace the custom HighlightJS integration with the Eleventy Syntax Highlighting plugin, adapt the stylesheets used for HighlightJS markup to support Prism as seen in ILDH (https://github.com/fluid-project/docs-inclusive-learning/blob/main/src/assets/styles/partials/prism.styl)
Describe alternative solutions you've considered
Not applicable.
Additional context or notes
Not applicable.