mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
## Description Allow specifying a page number for pdfs inside of markdown. This is done by adding "#page=<page-number>" to the file name. This is same way it is done in obsidian (as discussed in https://forum.obsidian.md/t/link-to-the-exact-page-of-and-external-pdf-file/2111) The parsing of the page info should probably be done way before the conversion, but this was the best I could with my limited time. I'm pretty new to lua, and this codebase, so this might not be the best code, but I hope it at least helps :D ## Related Issue(s) - Fixes #1805 |
||
|---|---|---|
| .. | ||
| snacks | ||
| trouble/sources | ||