diagram working
This commit is contained in:
parent
15a269c629
commit
55b8652ce0
21
lua/plugins/diagram.lua
Normal file
21
lua/plugins/diagram.lua
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
return {
|
||||||
|
"3rd/diagram.nvim",
|
||||||
|
dependencies = {
|
||||||
|
"3rd/image.nvim",
|
||||||
|
},
|
||||||
|
opts = {},
|
||||||
|
config = function()
|
||||||
|
require("diagram").setup({
|
||||||
|
integrations = {
|
||||||
|
require("diagram.integrations.markdown"),
|
||||||
|
require("diagram.integrations.neorg"),
|
||||||
|
renderer_options = {
|
||||||
|
mermaid = {
|
||||||
|
background = "#hex",
|
||||||
|
theme = "default",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user