Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Experimental

Shawon edited this page Jan 10, 2026 · 12 revisions

🧩 Experimental options

--- Experimental options.
---@class markview.config.experimental
---
---@field fancy_comments boolean When `true`, enables preview on **all buffers** with an active `tree-sitter parser`.
---
---@field date_formats string[] List of lua patterns for detecting date in YAML.
---@field date_time_formats string[] List of lua patterns for detecting date & time in YAML.
---
---@field prefer_nvim boolean Opens text file inside Neovim.
---@field file_open_command string Command used to open files inside Neovim.
---
---@field list_empty_line_tolerance integer Maximum number of empty lines that can stay between text of a list item.
---
---@field read_chunk_size integer Number of `bytes` to check before opening a link. Used for detecting when to open files inside Neovim.
---
---@field linewise_ignore_org_indent? boolean Prevents indentation of sections from being cleared in `linewise_hybrid_mode`.

fancy_comments

When true enables fancy comment rendering. See integrations#fancy_comments for more information.

date_formats

A list of date string formats(used for detecting YAML properties).

date_formats = {
 "^%d%d%d%d%-%d%d%-%d%d$", --- YYYY-MM-DD
 "^%d%d%-%d%d%-%d%d%d%d$", --- DD-MM-YYYY, MM-DD-YYYY
 "^%d%d%-%d%d%-%d%d$", --- DD-MM-YY, MM-DD-YY, YY-MM-DD
 "^%d%d%d%d%/%d%d%/%d%d$", --- YYYY/MM/DD
 "^%d%d%/%d%d%/%d%d%d%d$", --- DD/MM/YYYY, MM/DD/YYYY
 "^%d%d%d%d%.%d%d%.%d%d$", --- YYYY.MM.DD
 "^%d%d%.%d%d%.%d%d%d%d$", --- DD.MM.YYYY, MM.DD.YYYY
 "^%d%d %a+ %d%d%d%d$", --- DD Month YYYY
 "^%a+ %d%d %d%d%d%d$", --- Month DD, YYYY
 "^%d%d%d%d %a+ %d%d$", --- YYYY Month DD
 "^%a+%, %a+ %d%d%, %d%d%d%d$", --- Day, Month DD, YYYY
},

date_time_formats

A list of date & time string formats(used for detecting YAML properties).

date_formats = {
 "^%a%a%a %a%a%a %d%d %d%d%:%d%d%:%d%d ... %d%d%d%d$", --- UNIX date time
 "^%d%d%d%d%-%d%d%-%d%dT%d%d%:%d%d%:%d%dZ$", --- ISO 8601
},

prefer_nvim

When true, opens text files inside of Neovim using experimental.file_open_command.

prefer_nvim = true

markview.nvim-experimental.prefer_nvim.mov

prefer_nvim = false

markview.nvim-experimental.no_prefer_nvim.mov

prefer_nvim = false,

file_open_command

The command used to open new files inside Neovim. experimental.prefer_nvim must be enabled to use this.

file_open_command = "tabnew",

list_empty_line_tolerance

demo

Number of repeating empty lines needed to terminate a list item. Any non empty lines after them will not be considered part of the list item.

list_empty_line_tolerance = 3,

read_chunk_size

Number of bytes to read from a file to check if it's a text file.experimental.prefer_nvim must be enabled to use this.

read_chunk_size = 1024,

linewise_ignore_org_indent

Caution

Deprecated. I couldn't find use for this option and thus this was deprecated.

Prevents section indentations to be removed when using markdown.headings.org_indent.

linewise_ignore_org_indent = false

Clone this wiki locally

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /