I have this:
--font-monospace: "Source Code Pro", monospace;
at the start of my theme’s code.
I created the Community Theme:
In my theme since the font uses ligatures, the arrows are there by default, making this
-> into this ->
but I agree with @ryanjamurphy I do prefer using text expansion tools for things like this.
I use espanso which is free open source (cross Platform)
espanso - Cross-platform Text Expander written in Rust
My Text Expansion Example
For anyone else who might want to set this up with espanso here’s my set up for arrows.
This is my current set up
I created a file called
in the follwing path
keep in mind I’m using linux so the exact path will be different, but everything else should be mostly the same.
Make sure to check out Espanso’s Great Instructions
Documentation - espanso - Cross-platform Text Expander written in Rust
Then I have this text expansions in that
- trigger: ";right"
- trigger: ";left"
- trigger: ";up"
- trigger: ";down"
This means that when I write
;down I get this arrow ↓
What I like about this approach (with text expansion) is that now you can use this method anywhere in my computer, not just Obsidian.
Hope that helps @ani and anyone else interested in setting this up