Skip to content

Commit

Permalink
feat(markdown-and-latex): add markmap.nvim (#229)
Browse files Browse the repository at this point in the history
* Added: Markmap.nvim

* Let's not give the html_output option, so it's detected automatically for windows too.

* Use `npm` instead of `yarn` because more AstroNvim users have it

---------

Co-authored-by: Micah Halter <micah@mehalter.com>
  • Loading branch information
Zeioth and mehalter committed May 26, 2023
1 parent 69b9d22 commit 49f60ac
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lua/astrocommunity/markdown-and-latex/markmap/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# markmap.nvim

**Repository:** <https://github.com/Zeioth/markmap.nvim>

Visualize your Markdown as mindmaps with markmap.

**Note:** This will install `markmap-cli` globally on your system with `npm`.
10 changes: 10 additions & 0 deletions lua/astrocommunity/markdown-and-latex/markmap/markmap-nvim.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
-- [markdown markmap]
-- https://github.com/Zeioth/markmap.nvim
return {
"Zeioth/markmap.nvim",
build = "npm install -g markmap-cli",
cmd = { "MarkmapOpen", "MarkmapSave", "MarkmapWatch", "MarkmapWatchStop" },
opts = {
hide_toolbar = "false",
},
}

0 comments on commit 49f60ac

Please sign in to comment.