return { { "MeanderingProgrammer/markdown.nvim", name = "render-markdown", -- Only needed if you have another plugin named markdown.nvim -- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.nvim' }, -- if you use the mini.nvim suite -- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.icons' }, -- if you use standalone mini plugins dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-tree/nvim-web-devicons" }, -- if you prefer nvim-web-devicons opts = { file_types = { 'markdown', 'codecompanion' }, sign = { enabled = false, }, }, }, { "zk-org/zk-nvim", config = function() require("zk").setup({ picker = "select", }) function MAP(mode, l, r, desc) vim.keymap.set(mode, l, r, { desc = desc, silent = true }) end MAP("n", "", "lua vim.lsp.buf.definition()", "Open the link under cursor") MAP("n", "zn", "ZkNew { dir = vim.fn.expand('%:p:h'), title = vim.fn.input('Title: ') }", "Create new note") MAP("v", "zN", ":'<,'>ZkNewFromContentSelection { dir = vim.fn.expand('%:p:h'), title = vim.fn.input('Title: ') }", "Create new note using selection as content") MAP("n", "zl", "ZkInsertLink", "Insert Link into cursor position") MAP("v", "zl", ":'<,'>ZkInsertLinkAtSelection", "Insert Link into selection") MAP("n", "zb", "ZkBacklinks", "Backlinks") MAP("n", "zo", "ZkLinks", "Outlinks") MAP("n", "zf", "ZkNotes", "Find note") MAP("n", "zt", "ZkTags", "Find tags") end } }