plugins.markdown-preview.extraConfig.preview_options

Preview options

Type: null or (attribute set)

Default: null

Declared by:

plugins.markdown-preview.extraConfig.preview_options.content_editable

Content editable from the preview page.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.markdown-preview.extraConfig.preview_options.disable_filename

Disable filename header for the preview page.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.markdown-preview.extraConfig.preview_options.disable_sync_scroll

Disable sync scroll.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.markdown-preview.extraConfig.preview_options.flowchart_diagrams

flowcharts diagrams options.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default: []

Declared by:

plugins.markdown-preview.extraConfig.preview_options.hide_yaml_meta

Hide yaml metadata.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.markdown-preview.extraConfig.preview_options.katex

katex options for math.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default: []

Declared by:

plugins.markdown-preview.extraConfig.preview_options.maid

mermaid options.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default: []

Declared by:

plugins.markdown-preview.extraConfig.preview_options.mkit

markdown-it options for render.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default: []

Declared by:

plugins.markdown-preview.extraConfig.preview_options.sequence_diagrams

js-sequence-diagrams options.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default: []

Declared by:

plugins.markdown-preview.extraConfig.preview_options.sync_scroll_type

Scroll type:

  • “middle”: The cursor position is always shown at the middle of the preview page.
  • “top”: The vim top viewport is always shown at the top of the preview page.
  • “relative”: The cursor position is always shown at the relative position of the preview page.

Type: null or one of “middle”, “top”, “relative” or raw lua code

Default: null

Plugin default: "middle"

Declared by:

plugins.markdown-preview.extraConfig.preview_options.toc

Toc options.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default: []

Declared by:

plugins.markdown-preview.extraConfig.preview_options.uml

markdown-it-plantuml options.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default: []

Declared by: