Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

tuurep/markdown-preview.nvim

 
 

Repository files navigation

⚠️ Archived:

This fork hasn't been kept in sync for a long while now,

I've been using https://github.com/jannis-baum/Vivify instead.


Forked from iamcco/markdown.nvim

Why?

The point of this fork is only to modify browser favicon and browser tab title 😃

I've set favicon as this: new favicon

I wanted the title of the browser tab to be the full filename (so include .md or .markdown extension), but the upstream code trims the file extension outside of the user setting that allows formatting the title string.

Setup for Vim (8+) and NeoVim

Requires yarn to build and install

With vim-plug:

See vim-plug

Add this in your .vimrc or init.vim:

Plug 'tuurep/markdown-preview.nvim', { 'do': './build-hook.sh' }

Other Vim/NeoVim plugin managers would need to similarly run the build-hook as a post-update-hook, as I don't track the build output files (at app/out/) in this repo, unlike in upstream.

To build manually, run at project root:

yarn install
yarn build
cd app
yarn install

(this is what's in build-hook.sh, too)

About

Fork

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 58.3%
  • Vim Script 23.2%
  • CSS 8.3%
  • TypeScript 6.3%
  • Shell 3.1%
  • Batchfile 0.8%