I used AI to make a plugin to export notes to real (not fully rasterized) PDF on mobile. It works fine for me. For anyone interested you can check the repo to read the README and download it GitHub - ALE-ARME/markdown-to-pdf-mobile
This is really cool!
I have recently migrated to Obsidian after decades of use with OneNote where export to PDF was one of the main uses of the mobile app. With OneNote, to get the export PDF feature i did nothing at all. With your plugin, i feel i need to do more but your Readme is a bit cryptic to me.
Can you explain how to get the plugin from your GitHub page to my android device like Iām a 3 year old with no coding experience? And, are you likely to make it a community plugin?
What iāve tried already: entering ānpm installā into a terminal on my linux mint computer. but this returned an error. i feel like itās the wrong approach, but no sure where else to enter a ācommandā?
Thanks for your efforts putting the plugin together!
OK, so for any other noobs playing along, this is what i was able to do:
Go to the GIT page linked. download the main.js and manifest.json files from the āreleasesā page. paste these into a folder āmarkdown-to-pdf-mobile-1.0.1ā (or newer version if you have an update), then copy that folder into the plugins folder of whichever vault you want to use it in. now, this is in a hidden folder, so you need to unhide these folders in your file explorer (on linux mint nemo, i just use the keyboard shortcut CTRL+H). The plugins folder is a sub of .obsidian folder.
Then, once you have the files in the right place, open your vault and enable the plugin via the community settings. To use, find the page you want to export, hit the hamburger menu in the bottom right, scroll to the bottom of the context menu and select āPDF settingsā.
Follow the prompts and adjust any desired (e.g. i have found the page break very handy to keep things like āingredientsā all on the same page of my recipe exports), then all the way at the bottom a button to āGenerateā. bada boom bada bing you have a PDF. It works really great!
Wishlist:
- An option for a default export path. currently the plugin put the PDF in the same folder as the original note. I CAN see the benefit here (you can see straight away if there was a PDF made already before going to the effort of exporting again), but would still like the option. I guess bases would help find all the exports too, as these exports will be the only pdfs in my vault.
- An option to include a (edit: footer) with date printed. This would assist version control.
- Support for non-English letters. I have a lot of recipes in Polish, and i have yet to see any of the accented letters render in the print (e.g., Ä , Ä, Ä, Å, Å, ó, Å, Åŗ, ż) though the file name saves identical to the note name. I havenāt tested any other language (French would be another which may crop up from time to time in my recipes).
Hi, thanks for using the plugin.
Iāve updated the README with installation instructions and also new features:
- Support for other languages through custom .ttf font files. Polish should work now if you set the built in Roboto
- Custom path in plugin settings (not the sidebar settings, but the settings other plugins have)
- Footnote (I recommend to read the README)
- You can set the same background of your notes to the PDF as well, so now itās light, dark and custom CSS
I messed up with the repo so I started from scratch. I recommend to delete the old plugin files and install manually again or with BRAT