SkillAgentSearch skills...

Markview.nvim

A hackable markdown, Typst, latex, html(inline) & Asciidoc previewer for Neovim

Install / Use

/learn @OXY2DEV/Markview.nvim
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<!--markdoc { "generic": { "filename": "doc/markview.nvim.txt", "force_write": true, "header": { "desc": "☄️ A hackable `Markdown`, `LaTeX`, `Typst` etc. previewer.", "tag": "markview.nvim" }, "toc": { "entries": [ { "text": "📚 Requirements", "tag": "markview.nvim-requirements" }, { "text": "🎇 Commands", "tag": "markview.nvim-commands" }, { "text": "💡 Configuration", "tag": "markview.nvim-config" }, { "text": "🧭 Usage", "tag": "markview.nvim-usage" }, { "text": "🧩 Extras", "tag": "markview.nvim-extras" }, { "text": "📦 Presets", "tag": "markview.nvim-presets" } ] } }, "markdown": { "link_url_modifiers": [ [ "^#%-extra%-modules", "|markview.nvim-extras|" ], [ "^#%-presets", "|markview.nvim-presets|" ], [ "/Usage$", "|markview.nvim-usage|" ] ], "list_items": { "marker_minus": "◆", "marker_plus": "◇" }, "tags": { "Features$": [ "markview.nvim-features" ], "Requirements$": [ "markview.nvim-requirements" ], "Commands$": [ "markview.nvim-commands" ], "Autocmds$": [ "markview.nvim-autocmds" ], "Highlight groups$": [ "markview.nvim-hl", "markview.nvim-highlights" ], "Presets$": [ "markview.nvim-presets" ], "Extra modules$": [ "markview.nvim-extras" ], "Contributing to the projects$": [ "markview.nvim-contribute" ] } } } --> <!--markdoc_ignore_start--> <h1 align="center">☄️ Markview.nvim</h1> <p align="center"> A hackable <b>Markdown</b>, <b>HTML</b>, <b>LaTeX</b>, <b>Typst</b> & <b>YAML</b> previewer for Neovim. </p> <!--markdoc_ignore_end--> <div align="center"> <img src="https://github.com/OXY2DEV/markview.nvim/blob/images/v27/markview.nvim-splitview.png"> </div>

| :set wrap | :set nowrap | |---------------|----------------| | wrap | nowrap |

<div align="center"> <img src="https://github.com/OXY2DEV/markview.nvim/blob/images/v27/markview.nvim-splitview_2.png"> <img src="https://github.com/OXY2DEV/markview.nvim/blob/images/v27/markview.nvim-hybrid_mode.png"> <img src="https://github.com/OXY2DEV/markview.nvim/blob/images/v27/markview.nvim-comment.png"> <img src="https://github.com/OXY2DEV/markview.nvim/blob/images/v27/markview.nvim-asciidoc.png"> </div> <div align="center"> <a href="https://github.com/OXY2DEV/markview.nvim/wiki/Home">📚 Wiki</a> | <a href="https://github.com/OXY2DEV/markview.nvim/wiki/Extras">🧩 Extras</a> | <a href="https://github.com/OXY2DEV/markview.nvim/wiki/Presets">📦 Presets</a> </div>

✨ Features

Core features,

  • Preview Markdown, <code>HTML</code>, $LaTeX$, Typst & Asciidoc(See integrations#Asciidoc) within Neovim.
  • Hybrid editing mode! Allowing editing & previewing at the same time.
  • Splitview! Allows editing & previewing side-by-side.
  • Wrap support(markdown only, at the moment)! Allows using text wrapping while not losing most rendering features! See integrations#wrap for fixing visual glitches or integrations#nowrap for disabling it.
  • Highly customisable! You can change almost anything using the config!
  • Dynamic highlight groups that automatically updates with the colorscheme!
  • Callout, checkbox completions for blink.cmp & nvim-cmp.
  • Works with tree-sitter injections too!
<TOC/> <!--markdoc_ignore_start-->

📚 Table of contents

Also see,

📜 Complete feature-list

<details> <summary>Expand to see complete feature list</summary> <!--markdoc_ignore_end-->

Asciidoc

<img src="https://github.com/OXY2DEV/markview.nvim/blob/images/v27/markview.nvim-asciidoc.png">

Supported syntax,

  • Admonitions
  • Checkboxes(also supports custom checkbox states).
  • Horizontal rules
  • Literal blocks
  • Hiding document attributes
  • Image macros
  • Keycode macros
  • List items(ordered & unordered)
  • Automated TOC(Table of Contents)

Asciidoc inline

Supported syntax,

  • Bold
  • Highlights
  • Italic
  • Monospace
  • URI

Fancy comments,

<img src="https://github.com/OXY2DEV/markview.nvim/wiki/images/comment/markview.nvim-comment.injection.png">

Comments are still experimental! The original parser only supports basic features.

Conventional commit style comments with support for a subset of markdown & vimdoc. See integrations#fancy-comments For more info.

Supported syntax,

  • Tasks(e.g. feat, TODO etc.)
  • Task scopes.

Extra syntax(needs external parser),

  • **Bold**
  • *Italic*
  • Code
  • 'Quoted_text'
  • "Double quoted text"
  • @mentions
  • issues/reference#52
  • https://example.com
  • |help-section|
  • Code blocks

HTML,

<img src="https://github.com/OXY2DEV/markview.nvim/blob/images/v25/repo/html-tokyonight_night.png">
  • Customizable previews for container & void elements.

  • Supports the following container elements out of the box,

    • <a></a>
    • <b></b>
    • <code></code>
    • <em></em>
    • <i></i>
    • <kbd></kbd>
    • <mark></mark>
    • <pre></pre>
    • <s></s>, <strike></strike>, <del></del>
    • <strong></strong>
    • <sub></sub>
    • <sup></sup>
    • <u></u>
  • Supports the following void elements out of the box,

    • <hr>
    • <br>

LaTeX,

<img src="https://github.com/OXY2DEV/markview.nvim/blob/images/v25/repo/latex-cyberdream.png">
  • Supports basic LaTeX syntax,

    • Math blocks(typically $$...$$) & inline math(typically $...$).
    • Escaped characters.
    • Math fonts
    • Math symbols.
    • \text{}.
  • Supports commonly used math commands out of the box,

    • \frac{}
    • \sin{}
    • \cos{}
    • \tan{}
    • \sinh{}
    • \cosh{}
    • \tanh{}
    • \csc{}
    • \sec{}
    • \cot{}
    • \csch{}
    • \sech{}
    • \coth{}
    • \arcsin{}
    • \arccos{}
    • \arctan{}
    • \arg{}
    • \deg{}
    • \drt{}
    • \dim{}
    • \exp{}
    • \gcd{}
    • \hom{}
    • \inf{}
    • \ker{}
    • \lg{}
    • \lim{}
    • \liminf{}
    • \limsup{}
    • \ln{}
    • \log{}
    • \min{}
    • \max{}
    • \Pr{}
    • \sup{}
    • \sqrt{}
    • \lvert{}
    • \lVert{}
    • \boxed{}
  • Supports the following math fonts(requires any modern Unicode font),

    • default(Default math font).
    • \mathbb{}
    • \mathbf{}
    • \mathbffrak{}
    • \mathbfit{}
    • \nathbfscr{}
    • \mathcal{}
    • \mathfrak{}
    • \mathsf{}
    • \mathsfbf{}
    • \mathsfbfit{}
    • \mathsfit{}
    • \mathtt{}
  • Supports Unicode based subscript & superscript texts.

  • Supports 2056 different math symbol definitions.

Markdown,

<img src="https://github.com/OXY2DEV/markview.nvim/blob/images/v25/repo/markdown-catppuccin_mocha.png">
  • Supports basic markdown(Github-flavored) syntax,

    • Block quotes(with support for callouts & titles).
    • Fenced code blocks.
    • Headings(setext & atx).
    • Horizontal rules.
    • List items(+, -, *, n. & n)).
    • Minus & plus metadata.
    • Reference link definitions.
    • Tables.
    • Checkboxes(supports minimal-style checkboxes).
    • Email links.
    • Entity references.
    • Escaped characters.
    • Footnotes.
    • Hyperlinks.
    • Images.
    • Inline codes/Code spans.
    • Autolinks
  • Wrap support for,

    • Block quotes & Callouts.
    • Sections(when markdown.headings.org_indent is used).
    • List items(when markdown.list_items.<item>.add_padding is true).
    • tables(limited due to technical limitations).
  • Org-mode like indentation for headings.

<img src="https://github.com/OXY2DEV/markview.nvim/blob/images/v25/repo/markdown_inline-nightfly.png">
  • Obsidian/PKM extended syntax support,

    • Block reference links.
    • Embed file links.
    • Internal links(supports aliases).
  • Wide variety of HTML entity names & codes support.

    • Supported named entities: 786.
    • Supported entity codes
  • Github emoji shorthands support. Supports 1920 shorthands.

  • Custom configuration based on link patterns.

Typst,

<img src="https://github.com/OXY2DEV/markview.nvim/blob/images/v25/repo/typst-kanagawa_wave.png">
  • Supports the following items,

    • Code blocks.
    • Code spans.
    • Escaped characters.
    • Headings.
    • Labels.
    • List items(-, + & n.).
    • Math blocks.
    • Math spans.
    • Raw blocks.
    • Raw spans.
    • Reference links.
    • Subscripts.
    • Superscripts.
    • Symbols.
    • Terms.
    • URL links.
  • Supports a variety of typst symbols,

    • Symbol entries: 932
    • Symbol shorthands: 40
  • Supports Unicode based subscript & superscript texts.

YAML,

<img src="https://github.com/

View on GitHub
GitHub Stars3.4k
CategoryDevelopment
Updated4h ago
Forks88

Languages

Lua

Security Score

100/100

Audited on Apr 1, 2026

No findings