Docs · API reference · Verso.Serializers
MarkdownSerializer Class#
Serializer for Markdown (.md) notebooks. Continuous prose becomes markdown cells and
top-level fenced code blocks with a recognized language tag become code cells; everything else
(bare or unknown fences, indented code, fences nested in quotes or lists) stays inline as
prose. Saving writes plain Markdown back, so the file remains readable anywhere Markdown
renders. Cell outputs are not persisted in this format.
public sealed class MarkdownSerializer : Verso.Abstractions.INotebookSerializer, Verso.Abstractions.IExtension
Inheritance System.Object → MarkdownSerializer
Implements INotebookSerializer, IExtension
Fields#
FenceMetadataKey Field#
Cell metadata key holding the verbatim opening fence line a code cell was parsed from, reused on save so the author's fence style and tag never churn.
public const string FenceMetadataKey = "md.fence";