/** * Item text as HTML for the roadmap page's side panel (roadmap-view-readability). * * The one escaping scheme on the page lives here: `escapeHtml` for text and double-quoted * attributes alike (html-roadmap-view/AC-12). Markdown is tokenised line by line and every * piece escaped, so markup in an item is text on the page. The tags emitted are a fixed list * and none carries an attribute taken from item text; a `[text](url)` link stays as typed * (roadmap-view-readability/AC-14). * * Deliberately not a markdown library: the page has no dependency, and the roadmap corpus * uses nine constructs — headings, paragraphs, nested lists, blockquotes, tables, fences, and * bold and code spans — all of which this covers. * * @module */ /** Escape text for HTML text and double-quoted attribute values alike. */ export declare function escapeHtml(text: string): string; /** `**bold**` and `` `code` `` inside one line; every other character is escaped. Emits no links. */ export declare function inline(md: string): string; /** * Markdown blocks as HTML. Headings drop two levels below the panel's `h3` sections — `#` and * `##` to `h4`, `###` to `h5`, deeper to `h6` — so the outline never skips a level. */ export declare function renderMarkdown(md: string): string; //# sourceMappingURL=markdown.d.ts.map