LearnNewsExamplesServices
Frontmatter
id7878
titleAdd Markdown and YAML to Highlight.js build configuration
stateClosed
labels
enhancementai
assigneestobiu
createdAtNov 23, 2025, 12:56 PM
updatedAtNov 23, 2025, 12:57 PM
githubUrlhttps://github.com/neomjs/neo/issues/7878
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 23, 2025, 12:57 PM

Add Markdown and YAML to Highlight.js build configuration

Closed v11.9.0 enhancementai
tobiu
tobiu commented on Nov 23, 2025, 12:56 PM

The ContentComponent in the Portal app (apps/portal/view/learn/ContentComponent.mjs) has been updated to support markdown and yaml for syntax highlighting in readonly code blocks.

However, the custom Highlight.js bundle generation script (buildScripts/buildHighlightJs.mjs) currently only includes: ['bash', 'css', 'javascript', 'json', 'scss', 'xml'].

This ticket is to update buildScripts/buildHighlightJs.mjs to include 'markdown' and 'yaml' in the languages array, ensuring these languages are included in the next build of the highlighting library.

tobiu added the enhancement label on Nov 23, 2025, 12:56 PM
tobiu added the ai label on Nov 23, 2025, 12:56 PM
tobiu assigned to @tobiu on Nov 23, 2025, 12:56 PM
tobiu referenced in commit e4e8756 - "Add Markdown and YAML to Highlight.js build configuration #7878" on Nov 23, 2025, 12:57 PM
tobiu closed this issue on Nov 23, 2025, 12:57 PM