Skip to content

realprogrammersusevim/md-to-html.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages