mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-02-04 06:42:05 +00:00
Update 2025-02-28
Update 2025-02-14 Update 2025-02-16 Update 2025-02-21 Update 2025-02-23 Update 2025-02-25 Update 2025-02-27 Update 2025-02-28
This commit is contained in:
@@ -1,25 +1,25 @@
|
||||
return {
|
||||
{
|
||||
"nfrid/markdown-togglecheck",
|
||||
dependencies = { "nfrid/treesitter-utils" },
|
||||
ft = { "markdown" },
|
||||
keys = {
|
||||
{
|
||||
"<C-space>",
|
||||
function()
|
||||
require("markdown-togglecheck").toggle()
|
||||
end,
|
||||
desc = "Toggle Checkmark",
|
||||
ft = "markdown",
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
-- create empty checkbox on item without any while toggling
|
||||
create = true,
|
||||
-- remove checked checkbox instead of unckecking it while toggling
|
||||
remove = false,
|
||||
},
|
||||
},
|
||||
-- {
|
||||
-- "nfrid/markdown-togglecheck",
|
||||
-- dependencies = { "nfrid/treesitter-utils" },
|
||||
-- ft = { "markdown" },
|
||||
-- keys = {
|
||||
-- {
|
||||
-- "<C-space>",
|
||||
-- function()
|
||||
-- require("markdown-togglecheck").toggle()
|
||||
-- end,
|
||||
-- desc = "Toggle Checkmark",
|
||||
-- ft = "markdown",
|
||||
-- },
|
||||
-- },
|
||||
-- opts = {
|
||||
-- -- create empty checkbox on item without any while toggling
|
||||
-- create = true,
|
||||
-- -- remove checked checkbox instead of unckecking it while toggling
|
||||
-- remove = false,
|
||||
-- },
|
||||
-- },
|
||||
{
|
||||
"tadmccorkle/markdown.nvim",
|
||||
ft = { "markdown" },
|
||||
@@ -86,16 +86,58 @@ return {
|
||||
},
|
||||
},
|
||||
{
|
||||
"Kicamon/markdown-table-mode.nvim",
|
||||
"OXY2DEV/markview.nvim",
|
||||
-- enabled = false,
|
||||
lazy = false,
|
||||
opts = {
|
||||
filetype = {
|
||||
"*.md",
|
||||
preview = {
|
||||
icon_provider = "mini",
|
||||
hybrid_modes = { "i", "n" },
|
||||
debounce = 50,
|
||||
},
|
||||
cursor_line = {
|
||||
disable_rendering = true,
|
||||
},
|
||||
linewise_hybrid_mode = true,
|
||||
markdown = {
|
||||
enable = true,
|
||||
math = {
|
||||
engine = "typst", -- Use Typst engine for math rendering
|
||||
inline = true, -- Enable for inline math
|
||||
blocks = true, -- Enable for math blocks
|
||||
},
|
||||
},
|
||||
latex = {
|
||||
enable = false,
|
||||
blocks = {
|
||||
-- ["$$"] = {
|
||||
-- renderer = "typst.math_blocks",
|
||||
-- },
|
||||
},
|
||||
},
|
||||
typst = { enable = false },
|
||||
html = { enable = false },
|
||||
checkboxes = {
|
||||
default = " ",
|
||||
remove_style = "checkbox",
|
||||
states = {
|
||||
{ " ", "/", "X" },
|
||||
{ "<", ">" },
|
||||
{ "?", "!", "*" },
|
||||
{ '"' },
|
||||
{ "l", "b", "i" },
|
||||
{ "S", "I" },
|
||||
{ "p", "c" },
|
||||
{ "f", "k", "w" },
|
||||
{ "u", "d" },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"MeanderingProgrammer/render-markdown.nvim",
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter", "echasnovski/mini.icons" },
|
||||
opts = {},
|
||||
config = function(_, opts)
|
||||
require("markview").setup(opts)
|
||||
require("markview.extras.checkboxes").setup(opts.checkboxes)
|
||||
require("markview.extras.headings").setup()
|
||||
require("markview.extras.editor").setup()
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user