Last active
August 23, 2021 15:55
-
-
Save jakepog/650cadd02198fbe4e2da72f0086c50ef to your computer and use it in GitHub Desktop.
Obsidian non-Latin fonts snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add Hebrew font: https://fontlibrary.org/en/font/ezra | |
| @font-face { | |
| font-family: 'Hebrew'; | |
| src: local("EzraSIL"); | |
| font-weight: 700; | |
| unicode-range: U+0590-05FF, U+20AA, U+25CC, U+FB1D-FB4F; | |
| } | |
| # Add Greek font: https://fontlibrary.org/en/font/gentium-plus | |
| @font-face { | |
| font-family: 'Greek'; | |
| src: local("GentiumPlus"); | |
| font-weight: 500; | |
| unicode-range: U+0370-03FF; | |
| } | |
| # Display fonts: | |
| .workspace, .popover { | |
| font-family: 'Hebrew', 'Greek', sans-serif; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment