MDExNative.Comrak.MathBlock (MDExNative v0.3.6)

Copy Markdown View Source

Display math between lines of only $$, enabled with extension: [math_dollars: true, math_dollars_block: true].

The literal is not parsed as Markdown. closed records whether a closing $$ line was present; an unclosed block runs to the end of its container.

Spec: https://comrak.ee/extensions/math-dollars-block.html

Summary

Types

t()

@type t() :: %MDExNative.Comrak.MathBlock{
  closed: boolean(),
  fence_offset: non_neg_integer(),
  literal: String.t(),
  sourcepos: term()
}