Skip to content

Commit

Permalink
update render-markdown.nvim settings
Browse files Browse the repository at this point in the history
  • Loading branch information
daler committed Aug 13, 2024
1 parent d44f544 commit 7501d88
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions .config/nvim/lua/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -683,22 +683,25 @@ return {
})
end
},
-- { 'MeanderingProgrammer/markdown.nvim', -- nice rendering of callouts, evertyhing else disabled
-- -- enabled = false,
-- name = 'render-markdown', -- Only needed if you have another plugin named markdown.nvim
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
-- config = function()
-- require('render-markdown').setup({
-- heading = { enabled = false },
-- sign = { enabled = false },
-- code = { enabled = false },
-- dash = { enabled = false },
-- bullet = { enabled = false },
-- checkbock = { enabled = false },
-- link = { enabled = false },
-- win_options = {} ,
-- })
-- end,
-- }
{ 'MeanderingProgrammer/render-markdown.nvim', -- nice rendering of callouts, evertyhing else disabled
-- enabled = false,
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
config = function()
require('render-markdown').setup({
heading = { enabled = true, position = 'inline', signs = { "§"}, backgrounds = { "@markup.heading" }, foregrounds = { "@markup.heading" }, },
sign = { enabled = true },
code = { enabled = true },
dash = { enabled = false },
bullet = { enabled = false },
checkbox = { enabled = false },
link = { enabled = false },
win_options = {
conceallevel = {
rendered = 1,
},
},
})
end,
}
}
-- vim: nowrap

0 comments on commit 7501d88

Please sign in to comment.