← Về thư mục
frontend/src/features/md/render.ts
- t · function · L24-L26 — function t(key: string): string
- mdCodeBlock · function · L28-L46 — function mdCodeBlock(code: string, lang: string): string
- mdHref · function · L59-L64 — function mdHref(href: string): string
- mdInline · function · L70-L107 — function mdInline(t: string | null | undefined): string
- MdListItem · type · L109-L109 — type MdListItem = { indent: number; ordered: boolean; text: string };
- MdListCursor · type · L110-L110 — type MdListCursor = { v: number };
- mdBuildList · function · L112-L130 — function mdBuildList(items: MdListItem[], cur: MdListCursor): string
- mdList · function · L132-L165 — function mdList( lines: string[], start: number, n: number, ): { html: string; next: number }
- renderMd · function · L167-L300 — function renderMd(src: string | null | undefined): string
- isDelimRow · function · L180-L190 — isDelimRow = (s: string): boolean
- looksTable · function · L191-L201 — looksTable = (idx: number): boolean
- isClose · function · L214-L219 — isClose = (s: string): boolean
- cells · function · L254-L259 — cells = (r: string): string[]