all repos — dotfiles @ 9dd42020ffc168010885c72a34221accd361d4d0

linux dotfiles

config/nvim/lua/plugins/markdown-preview.lua

1 2 3 4 5 6 7 8 9
return {
  'iamcco/markdown-preview.nvim',
  cmd = { 'MarkdownPreviewToggle', 'MarkdownPreview', 'MarkdownPreviewStop' },
  build = 'cd app && yarn install',
  init = function()
    vim.g.mkdp_filetypes = { 'markdown' }
  end,
  ft = { 'markdown' },
}