starter/lua/plugins/markdown.lua

70 lines
1.4 KiB
Lua
Raw Normal View History

return {
2024-05-25 23:27:46 +08:00
{
"opdavies/toggle-checkbox.nvim",
ft = "markdown",
},
{
"yujinyuz/gitpad.nvim",
opts = {
title = "Note",
border = "rounded",
dir = "~/Workspace/Notes/",
},
},
{
"jmbuhr/otter.nvim",
ft = "markdown",
dependencies = {
"hrsh7th/nvim-cmp", -- optional, for completion
"neovim/nvim-lspconfig",
"nvim-treesitter/nvim-treesitter",
},
},
2024-06-11 10:38:50 +08:00
{
"sarrisv/readermode.nvim",
cmd = "ReaderMode",
opts = {
enabled = false,
},
},
2024-05-25 23:27:46 +08:00
{
"vhyrro/luarocks.nvim",
lazy = true,
priority = 1001,
opts = {
rocks = { "magick" },
},
},
{
"nvim-neorg/neorg",
dependencies = { "luarocks.nvim" },
ft = { "norg" },
version = "*",
},
{
"3rd/image.nvim",
ft = { "markdown", "quarto", "vimwiki" },
dependencies = { "luarocks.nvim" },
opts = {
backend = "kitty",
integrations = {
markdown = {
enabled = true,
only_render_image_at_cursor = false,
filetypes = { "markdown", "vimwiki", "quarto" },
},
},
editor_only_render_when_focused = false,
window_overlap_clear_enabled = true,
-- window_overlap_clear_ft_ignore = { 'cmp_menu', 'cmp_docs', 'scrollview' },
tmux_show_only_in_active_window = true,
window_overlap_clear_ft_ignore = { "cmp_menu", "cmp_docs", "scrollview", "scrollview_sign" },
max_width = nil,
max_height = nil,
max_width_window_percentage = nil,
max_height_window_percentage = 30,
kitty_method = "normal",
},
},
}