{"repo":"arminveres/md-pdf.nvim","free":true,"listed":false,"github":"https://github.com/arminveres/md-pdf.nvim","clone":"git clone https://github.com/arminveres/md-pdf.nvim.git","description":"Preview markdown files and convert to PDF inside Neovim!","language":"Lua","stars":100,"topics":["lua","nvim","nvim-plugin","markdown","pdf","pdf-converter","previewer"],"license":"MIT","category":"media-processing","readme_excerpt":"Markdown to PDF [!NOTE] Pull requests are welcome! [!WARNING] This plugin is still very early in its development, so expect bugs and if possible report them here! Thanks and enjoy. A very simple and easy plugin to convert open markdown files to PDFs and open them it to the side. Features - Preview markdown documents easily on Linux, Mac, Windows or just define a custom preview command! - Generate PDFs out of markdown - Lightweight 200 loc fully lua written plugin - auto-generate on save, don't reopen new viewer Installation Currently you can just put it into lazy or packer and require it at some point. Lazy Configuration Title page metadata When title page = true , add a standard Pandoc/YAML front matter block to your markdown file. Fields like title , author , date , and an optional logo (relative to the markdown file, e.g. assets/logo.png ) are picked up automatically and rendered on the dedicated title page. Requirements [!WARNING] The plugin currently only recognizes the document being open on Zathura. Tested on Windows 10, MacOS 13, and Linux (Fedora Workstation 38) - neovim = 9, didn't test below that. - PDF Viewer, uses xdg-open on Linux, open on Mac and powershell on Windows - pandoc for conversion, also probably some TeX distribution with pdflatex included. Why I have often found myself wanting to see my markdown files as a PDF, for which I usually created a Makefile which converted the files through pandoc . After having done it a few times it became repetitive and ","default_branch":null,"files":null,"tree":[],"storefront":"/r/arminveres","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/arminveres/md-pdf.nvim/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}