How to apply custom css snippets to Obsidian Publish?

Hi @ktbumjun, sorry if the docs weren’t clear enough on this topic. Obsidian Publish doesn’t let you publish individual CSS snippets; however, if you’re comfortable doing so, you can add a single publish.css file to your vault.

So you could take all the contents of the individual CSS snippet files that you use and combine them into a publish.css file at the root of your vault.

Then make sure to upload the publish.css inside the Publish modal:

(yours will show up under the NEW section, unlike mine)


Let me know if that makes sense!

2 Likes