NEW: If you are interested in making your academic writing easier, take a look at this project, which was made to address the limitation of this snippet-based approach.
Here you will find an Obsidian css-snippet, which will format pdf-exports as academic writing akin to LaTeX compilation. Simply place academic-pdf-export.css
in your obsidian snippets folder and activate it in settings. Check the official guide for help. Tested with minimal-theme.
Consider this a starting point. Pull-requests and forks are very welcome. I will no longer be updating the snippets myself, and new releases of obsidian may alter the output
This css-snippet uses the 'Latin Modern' font family - a LateX font clone, which may have to be installed separately, or you can simply change the fonts in the css to something else, e.g. 'Times New Roman'.
To the left is shown obsidian in source mode, i.e. the source code. To the right is the exported pdf.
Source | Build |
---|---|
UI-tweaks.css
will make Obsidian preview mode better resemble what is being exported.
LEGAL NOTICE: This repository, including any and all of its forks and derivatives, may NOT be used in the development or training of any machine learning model of any kind, without the explicit permission of the owner of the original repository.