Skip to content

chore: render markdown at build time

Simon Knox requested to merge md-prerender into main

For the Design tab, serve HTML instead of markdown that gets rendered on client.

Updated the <md-display /> tab to take either an md prop (raw markdown, rendered clientside) or a prerenderedMd prop (html string, rendered in content_preparer).

The markdown on the 'Vue component' tab is still rendered clientside, since the GlDocumentationComponent is a whole other beast.

Unblocks !1659 (closed)

Edited by Simon Knox

Merge request reports

Loading