The surrounding context of Markdown that's being generated, in order to prevent nestings that Markdown doesn't allow.
- inEmph : Bool
The current code is inside emphasis.
- inBold : Bool
The current code is inside strong emphasis.
- inLink : Bool
The current code is inside a link.
- linePrefix : String
The prefix that should be added to each line (typically for indentation).
Instances For
@[reducible, inline]
The monad for generating Markdown output.
Instances For
A way to transform inline elements extended with i
into Markdown.
A function that transforms an
i
and its contents into Markdown, given a way to transform the contents.
Instances
Equations
- One or more equations did not get rendered due to their size.
A way to transform block elements extended with b
that contain inline elements extended with i
into Markdown.
- toMarkdown : (Inline i → MarkdownM Unit) → (Block i b → MarkdownM Unit) → b → Array (Block i b) → MarkdownM Unit
A function that transforms a
b
and its contents into Markdown, given a way to transform the contents.
Instances
Equations
- One or more equations did not get rendered due to their size.
instance
Lean.Doc.instToMarkdownInlineOfMarkdownInline
{i : Type u_1}
[MarkdownInline i]
:
ToMarkdown (Inline i)
Equations
- Lean.Doc.instToMarkdownInlineOfMarkdownInline = { toMarkdown := fun (inline : Lean.Doc.Inline i) => Lean.Doc.instToMarkdownInlineOfMarkdownInline._private_1 inline }
instance
Lean.Doc.instToMarkdownBlockOfMarkdownInlineOfMarkdownBlock
{i : Type u_1}
{b : Type u_2}
[MarkdownInline i]
[MarkdownBlock i b]
:
ToMarkdown (Block i b)
Equations
- One or more equations did not get rendered due to their size.
instance
Lean.Doc.instToMarkdownPartOfMarkdownInlineOfMarkdownBlock
{i : Type u_1}
{b : Type u_2}
{p : Type u_3}
[MarkdownInline i]
[MarkdownBlock i b]
:
ToMarkdown (Part i b p)
Equations
- One or more equations did not get rendered due to their size.