plugins.markdown-preview.settings.preview_options

Preview options

Type: null or (attribute set)

Default: null

Declared by:

plugins.markdown-preview.settings.preview_options.content_editable

Content editable from the preview page.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.markdown-preview.settings.preview_options.disable_filename

Disable filename header for the preview page.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.markdown-preview.settings.preview_options.disable_sync_scroll

Disable sync scroll.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.markdown-preview.settings.preview_options.flowchart_diagrams

flowcharts diagrams options.

Plugin default: []

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

Default: null

Declared by:

plugins.markdown-preview.settings.preview_options.hide_yaml_meta

Hide yaml metadata.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.markdown-preview.settings.preview_options.katex

katex options for math.

Plugin default: []

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

Default: null

Declared by:

plugins.markdown-preview.settings.preview_options.maid

mermaid options.

Plugin default: []

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

Default: null

Declared by:

plugins.markdown-preview.settings.preview_options.mkit

markdown-it options for render.

Plugin default: []

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

Default: null

Declared by:

plugins.markdown-preview.settings.preview_options.sequence_diagrams

js-sequence-diagrams options.

Plugin default: []

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

Default: null

Declared by:

plugins.markdown-preview.settings.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.

Plugin default: "middle"

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

Default: null

Declared by:

plugins.markdown-preview.settings.preview_options.toc

Toc options.

Plugin default: []

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

Default: null

Declared by:

plugins.markdown-preview.settings.preview_options.uml

markdown-it-plantuml options.

Plugin default: []

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

Default: null

Declared by: