Files
dotfiles/dot_config/nvim/lua/plugins/pandoc.lua
s0wlz (Matthias Puchstein) 8018b53353 feat: finalize migration to chezmoi and modernize configuration logic
- Modularize Hyprland config into hyprland.d/
- Implement infinitely scalable monitor/workspace logic using templates and loop-based data structures
- Consolidate host-specific configs (hyprlock, hyprpaper, waybar) into single templates
- Resolve waybar symlink conflict and fix template execution errors
- Integrate chezmoi data variables for scale, resolution, and peripherals
2025-12-27 22:52:43 +01:00

26 lines
637 B
Lua

-- A vimtex-like workflow for compiling Markdown to PDF using pandoc
return {
"arminveres/md-pdf.nvim",
lazy = true,
-- Set up a keymap for compiling
keys = {
{
"<Leader>mc",
function()
-- The plugin's main function to convert markdown to pdf
require("md-pdf").convert_md_to_pdf()
end,
desc = "Markdown Compile",
},
},
-- Configure the plugin
opts = {
-- Set zathura as the PDF viewer to match the vimtex setup
preview_cmd = function()
return "zathura"
end,
-- other options...
ignore_viewer_state = true, -- Auto-recompile PDF on each write
},
}