From 49f60ace000a86cb0ea41ab329b412dcaf915ead Mon Sep 17 00:00:00 2001 From: Zeioth Date: Fri, 26 May 2023 16:19:51 +0200 Subject: [PATCH] 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 --- .../markdown-and-latex/markmap/README.md | 7 +++++++ .../markdown-and-latex/markmap/markmap-nvim.lua | 10 ++++++++++ 2 files changed, 17 insertions(+) create mode 100644 lua/astrocommunity/markdown-and-latex/markmap/README.md create mode 100644 lua/astrocommunity/markdown-and-latex/markmap/markmap-nvim.lua diff --git a/lua/astrocommunity/markdown-and-latex/markmap/README.md b/lua/astrocommunity/markdown-and-latex/markmap/README.md new file mode 100644 index 000000000..1312805bf --- /dev/null +++ b/lua/astrocommunity/markdown-and-latex/markmap/README.md @@ -0,0 +1,7 @@ +# markmap.nvim + +**Repository:** + +Visualize your Markdown as mindmaps with markmap. + +**Note:** This will install `markmap-cli` globally on your system with `npm`. diff --git a/lua/astrocommunity/markdown-and-latex/markmap/markmap-nvim.lua b/lua/astrocommunity/markdown-and-latex/markmap/markmap-nvim.lua new file mode 100644 index 000000000..e7d334aef --- /dev/null +++ b/lua/astrocommunity/markdown-and-latex/markmap/markmap-nvim.lua @@ -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", + }, +}