Code
Highlighting happens at build time
export function renderSlidePage(options: RenderSlideOptions): string {
const { html, title } = renderMarkdown(md, options.slide.body, resolveAsset)
return renderPage({ ...options, main: applyLayout({ html, ...options }), title })
}
slide build talk.md --serve --open
None of the highlighter ships to the browser; the colours are --slide-syn-*.