Skip to content

Apply custom CSS styles to selected text in your Obsidian Notes

License

Notifications You must be signed in to change notification settings

dadoirie/style-text-obsidian-plugin

 
 

Repository files navigation

Obsidian Style Text

Apply custom CSS styles to selected text in your Obsidian Notes.

Instructions

The Style Text Obsidian plugin allows to create as many CSS Styles as you wish:

Alt text

Then, they will be available to be applied to the selected text in the editor via Commands (Command Palette):

Alt text

Each command can optionally be assigned to Obsidian Hotkeys for quick access: Alt text

The styles are also available in contextual menu in the editor. You first need to enable them in the plugin settings:

Alt text

So the enable styles will be available in the context-menu to be applied to the selected text after right-clicking: Alt text

To get the pretended result: Alt text

The plugin also offers an aditional command "Remove Style" to get rid of the unwanted styles. You only need to select the paragraph, or text or place the cursor in front of a style text and choose the command from the context menu or command palette:

Alt text

The order of the context menu items follows the order in the settings. You can move up or down the styles as desired:

Alt text

Say Thank You

If you enjoy Style Text Obsidian Plugin then please support my work by buying me a coffee on https://ko-fi.com/F1F6H4TAR

“”

About

Apply custom CSS styles to selected text in your Obsidian Notes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 77.5%
  • CSS 13.6%
  • JavaScript 8.9%