package mosaic

  1. Overview
  2. Docs

Module Mosaic_mlx.MarkdownSource

Companion types for the markdown widget.

type style_key = Mosaic_ui.Markdown.style_key =
  1. | Default
  2. | Heading of int
  3. | Emphasis
  4. | Strong
  5. | Code_span
  6. | Code_block
  7. | Image
  8. | Blockquote
  9. | Thematic_break
  10. | List_marker
  11. | Strikethrough
  12. | Task_marker
  13. | Table_border
  14. | Conceal_punctuation
    (*

    Style keys identifying markdown element classes.

    *)

Style resolver: maps a style_key to an Ansi.Style.t.

val default_style : style

The built-in terminal style resolver.