Function render
Source pub fn render(markdown: &str, base: &str) -> Result<String, DocsError>
Expand description
Render Markdown to HTML. Islands in ```island fences become
astro-island-compatible custom elements (base prefixes component URLs).
§Errors
DocsError for malformed island fences; Markdown itself never fails —
unknown constructs render their inner content (documented M1 behaviour).