-
-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(markdown-and-latex): add markmap.nvim (#229)
* 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 <[email protected]>
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
10
lua/astrocommunity/markdown-and-latex/markmap/markmap-nvim.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
}, | ||
} |