# Markdown Integration Audience: operators and maintainers who rely on generated HTML outputs from Markdown source files. Markdown-to-HTML is an implemented file-format integration used by destination transform policy. ## Dependency Rendering uses `github.com/yuin/goldmark`. The exact version is pinned in `go.mod`. ## Renderer Behavior The transformer constructs `goldmark.New()` with no project-specific extensions, parser options, renderer options, templates, CSS, or metadata injection. Supported output modes: - `sidecar`: renders each source manifest file ending in `.md` and writes a generated output beside it with the `.md` suffix replaced by `.html`. - `index`: renders one Markdown source file to `index.html` at the destination bundle path. In `index` mode, `transform.markdown_to_html.input` may name the source manifest path to render. If `input` is omitted, the source manifest must list exactly one `.md` file. The selected input must be a clean relative source path, must be listed in the source manifest, and must end in `.md`. Raw HTML embedded in Markdown is not passed through by the current renderer behavior. Tests allow Goldmark's disabled-or-escaped raw HTML output forms and reject literal script tags in generated HTML. ## HTML Wrapper Rendered Markdown body HTML is wrapped in a fixed document shell: - `` - `` - UTF-8 `` - empty `