This commit is contained in:
2026-05-31 17:35:20 +02:00
parent a2a6b50e50
commit f0807241fa
5 changed files with 68 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
return {
"3rd/image.nvim",
build = false, -- nie wymaga kompilacji
opts = {
backend = "kitty", -- kitty / ueberzug / ueberzugpp
integrations = {
markdown = {
enabled = true,
clear_in_insert_mode = false,
download_remote_images = true,
only_render_image_at_cursor = false,
filetypes = { "markdown" },
},
},
max_width = 100,
max_height = 30,
max_width_window_percentage = math.huge,
max_height_window_percentage = math.huge,
kitty_method = "normal",
},
}
+33
View File
@@ -0,0 +1,33 @@
return {
"MeanderingProgrammer/render-markdown.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter",
"nvim-tree/nvim-web-devicons",
"3rd/image.nvim",
},
ft = { "markdown" },
opts = {
heading = {
enabled = true,
icons = { "󰲡 ", "󰲣 ", "󰲥 ", "󰲧 ", "󰲩 ", "󰲫 " },
},
code = {
enabled = true,
style = "full",
border = "thin",
},
bullet = {
enabled = true,
icons = { "●", "○", "◆", "◇" },
},
checkbox = {
enabled = true,
unchecked = { icon = "󰄱 " },
checked = { icon = "󰱒 " },
},
-- tabele i html wyłączone bo brak parserów
html = { enabled = false },
latex = { enabled = false },
-- usunięte "table = {}" które powodowało błąd
},
}
+6
View File
@@ -1,5 +1,11 @@
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
opts = {
ensure_installed = {
"markdown",
"markdown_inline"
}
},
highlight = { enable = true }
}