Style Importer
approvedby Josh Rouwhorst
Import a stylesheet from a URL into your snippets folder.
Style Importer
The Style Importer plugin lets you load a CSS file into your snippets folder from a URL. This provides an easy way to keep styles synced across multiple notebooks.
Setup
When you first set up this plugin in a notebook you will want to go through these steps:
- Open Settings.
- Go to Style Import settings.
- Set the URL where your CSS file is hosted.
- Go to Appearance settings.
- Scroll down to CSS Snippets.
- Click the Refresh button if you don't see a style-importer file.
- Toggle on the style-importer file.
Hosting CSS
A quick way to get your CSS file hosted is to go to GitHub Gists where you can create a gist. Create your CSS file there and then enter the URL to the Raw version of your file in the Style Import settings.
Internet Requests & File Changes
This plugin will only make requests to the URL(s) you provide it for CSS files. It then saves that file in your .obsidian/snippets folder under the filename style-importer.css. No other file manipulation is done by this plugin.
Feedback
If you have any feedback or questions you can submit an issue on the GitHub project.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.