/** * Quarto adapter (.qmd) — notebook-first. * * A .qmd is treated as a notebook that doesn't serialize outputs: * - optional YAML front matter (kept opaque; jupyter/nebula keys normalized) * - ```{lang ...} fences are code cells; `#| id: x` carries the cell id; * all other `#|` chunk options stay in cell content verbatim (they are * valid comments) and are never interpreted * - prose between fences becomes markdown cells * * No Quarto rendering, no chunk-option semantics, one kernel per document. * * Markdown cells are delimited by an HTML-comment marker mirroring the * chunk-option syntax: ``. HTML comments are invisible in * rendered Quarto output, so this is notebook-first without rendering cost: * adjacent markdown cells stay distinct, empty markdown cells survive, and * markdown ids persist (no positional fallback for Nebula-written files). * Foreign .qmd files without markers still parse (one implicit markdown cell * per prose block, positional ids); markers appear on first Nebula save. * * Known unrepresentables (inherent): * - markdown content containing a bare ```{lang} fence-open line outside a * wrapping plain fence is indistinguishable from a real code chunk (in * Quarto itself too) and will re-parse as one * - a markdown content line that is itself a `` marker * will re-parse as a cell boundary */ import { NotebookFormatAdapter } from './types'; export declare const qmdAdapter: NotebookFormatAdapter;