This plugin adds several new styling options and the ability to configure any number of custom style markup options for your Obsidian notes!
Out of the box, you'll get:
- Underline
- Superscript
- Subscript
- Hidden, which hides text behind censor bars
You can customize any of these styles, controlling the HTML tag and CSS properties associated with them.
All styles are marked up via inline code syntax. For example, you can underline like this:
This text has some _underlined_
text.
All custom styles have commands in the command palette to toggle them on selected text and can be bound to individual hotkeys.
extra_styles_demo.mp4
- Clone this repo.
npm i
oryarn
to install dependenciesnpm run dev
to start compilation in watch mode.
- Copy over
main.js
,styles.css
,manifest.json
to your vaultVaultFolder/.obsidian/plugins/your-plugin-id/
.
Special thanks and attribution to the Dataview plugin (https://github.com/blacksmithgu/obsidian-dataview/), from which I based much of the inline rendering code on. As such this plugin maintains the MIT license.