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.
The
ContentComponentin the Portal app (apps/portal/view/learn/ContentComponent.mjs) has been updated to supportmarkdownandyamlfor 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.mjsto include'markdown'and'yaml'in thelanguagesarray, ensuring these languages are included in the next build of the highlighting library.