Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.56 KB

File metadata and controls

57 lines (39 loc) · 1.56 KB

Markdown to HTML

GitHub Repo stars GitHub license

Description

This is an extremely small and lightweight NeoVim plugin to convert a Markdown document into simple HTML.

Screen.Recording.2022-09-16.at.9.42.09.AM.mov

Requirements

NeoVim >= 0.5

Installation

Everything is coded in pure Lua. There are absolutely no heavy dependencies like Pandoc to download and set up. That means you can install this plugin like you would any other plugin. Here are examples for the two most common plugin managers.

Vim-Plug:

Plug 'realprogrammersusevim/md-to-html.nvim', { 'on': 'MarkdownToHTML', 'NewMarkdownToHTML' }

Packer:

use {
    'realprogrammersusevim/md-to-html.nvim',
    cmd = { 'MarkdownToHTML', 'NewMarkdownToHTML' },
  }

Lazy.nvim

{
  'realprogrammersusevim/md-to-html.nvim',
  cmd = { 'MarkdownToHTML', 'NewMarkdownToHTML' },
}

Usage

Currently this plugin only has two commands. :MarkdownToHTML converts the current buffer in place and :NewMarkdownToHTML which creates a new file with the same name but converted to HTML instead of Markdown. As of yet, there are no configuration options.

Credits

CREDITS.md