Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/verso/Verso/Doc/Elab.lean
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,13 @@ public meta def _root_.Lean.Doc.Syntax.code.expand : InlineExpander
@[inline_expander Lean.Doc.Syntax.inline_math]
public meta def _root_.Lean.Doc.Syntax.inline_math.expand : InlineExpander
| `(inline| \math code( $s )) =>
``(Inline.math MathMode.inline $s)
``(Inline.math MathMode.inline $(quote s.getString))
| _ => throwUnsupportedSyntax

@[inline_expander Lean.Doc.Syntax.display_math]
public meta def _root_.Lean.Doc.Syntax.display_math.expand : InlineExpander
| `(inline| \displaymath code( $s )) =>
``(Inline.math MathMode.display $s)
``(Inline.math MathMode.display $(quote s.getString))
| _ => throwUnsupportedSyntax


Expand Down
Loading