Skip to content

Commit

Permalink
feat(markdown-and-latex): add peek.nvim markdown preview (AstroNvim#285)
Browse files Browse the repository at this point in the history
feat(peek): add peek markdown preview
  • Loading branch information
khaneliman authored and RayJameson committed Jun 20, 2023
1 parent fb9ff0f commit bd0107a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lua/astrocommunity/markdown-and-latex/peek-nvim/peek.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
return {
"toppair/peek.nvim",
build = "deno task --quiet build:fast",
config = function()
vim.api.nvim_create_user_command("PeekOpen", require("peek").open, {})
vim.api.nvim_create_user_command("PeekClose", require("peek").close, {})
end,
cmd = {
"PeekOpen",
"PeekClose",
},
}
5 changes: 5 additions & 0 deletions lua/astrocommunity/markdown-and-latex/peek-nvim/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# peek.nvim

Markdown preview plugin for Neovim

**Repository:** <https://github.com/toppair/peek.nvim>

0 comments on commit bd0107a

Please sign in to comment.