This repository was archived by the owner on May 18, 2023. It is now read-only.
This repository was archived by the owner on May 18, 2023. It is now read-only.
Markdown guides: language syntax highlighting not in place #303
Open
Description
Describe the bug
Adding syntax highlighting for xml files in markdown source does not render any colour in the built HTML.
For example:
<!-- OpenLiberty runtime -->
<liberty.groupId>io.openliberty</liberty.groupId>
<liberty.artifactId>openliberty-runtime</liberty.artifactId>
<version.openliberty-runtime>19.0.0.8</version.openliberty-runtime>
<http.port>9080</http.port>
<https.port>9443</https.port>
<packaging.type>usr</packaging.type>
<app.name>${project.artifactId}</app.name>
<package.file>${project.build.directory}/${app.name}.zip</package.file>
Text is just orange and not a combination of green and orange as generated when built from AsciiDoc. The HTML source is marked up, so possibly a CSS issue.
<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"><!-- OpenLiberty runtime --></span>
| <span class="nt"><liberty.groupId></span>io.openliberty<span class="nt"></liberty.groupId></span>
Expected behavior
Code highlighted in green and orange
Actual behavior
Code only highlighted in orange
Steps to reproduce the bug
Add the example above into a markdown guide and build locally.
Environment where the bug occurred
- Firefox (Desktop)
- Safari (Desktop)
- Chrome (Desktop)
- Internet Explorer (Desktop)
- iOS (Mobile)
- Android (Mobile)
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Metadata
Metadata
Assignees
Labels
No labels