summaryrefslogtreecommitdiff
path: root/dot-config/nvim/lua/plugins
diff options
context:
space:
mode:
authorJosé Juan Loeza Sierra <jj@xz6ze.com>2025-10-06 08:55:11 -0700
committerJosé Juan Loeza Sierra <jj@xz6ze.com>2025-10-06 08:55:11 -0700
commitcd55fabf29d996cc1e52fcbf8608fede90452bdb (patch)
treeddd61e904cbc4a45a8cb3454c5a259ea1b83c975 /dot-config/nvim/lua/plugins
parent179baa9934bdee1ff9f799f660b15be0bd0fba53 (diff)
change markdown comment and code rendering
Diffstat (limited to 'dot-config/nvim/lua/plugins')
-rw-r--r--dot-config/nvim/lua/plugins/markdown.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/dot-config/nvim/lua/plugins/markdown.lua b/dot-config/nvim/lua/plugins/markdown.lua
index 1351860..48c957d 100644
--- a/dot-config/nvim/lua/plugins/markdown.lua
+++ b/dot-config/nvim/lua/plugins/markdown.lua
@@ -9,4 +9,29 @@ return {
},
},
},
+ {
+ "MeanderingProgrammer/render-markdown.nvim",
+ opts = {
+ html = {
+ comment = {
+ -- Turn on / off HTML comment concealing.
+ conceal = false,
+ },
+ },
+ code = {
+ -- Whether to conceal nodes at the top and bottom of code blocks.
+ conceal_delimiters = false,
+ -- Width of the code block background.
+ -- | block | width of the code block |
+ -- | full | full width of the window |
+ width = "block",
+ -- Determines how the top / bottom of code block are rendered.
+ -- | none | do not render a border |
+ -- | thick | use the same highlight as the code body |
+ -- | thin | when lines are empty overlay the above & below icons |
+ -- | hide | conceal lines unless language name or icon is added |
+ border = "thick",
+ },
+ },
+ },
}