insanum / obsidian_gruvbox

A gruvbox theme for Obsidian
MIT License
162 stars 38 forks source link

Feature request: Enable font ligatures #15

Closed jaideeprana closed 3 years ago

jaideeprana commented 3 years ago

This theme is almost perfect for me, except the fact that it lacks font ligratures.

Is there a way to add it in the next release or can you share a way for me to customise gruvbox to support it?

tallguyjenks commented 3 years ago

you just need to add a font that supports ligatures. Like Fira Code.

Under the body selector, you can set the font to Fira Code as long as it's installed on your system and it should display ligatures:

body {
    font-family: 'fira code';
}

https://fonts.google.com/specimen/Fira+Code

jaideeprana commented 3 years ago

Hey Bryan,

I watch your youtube channel, it's awesome and full of useful tips :) I particularly like the ones related to obsidian.

I tried using Fire code and Jetbrains mono, they are installed in my system. However I am unable to get them working with obsidian gruvbox.

tallguyjenks commented 3 years ago

did you try the above example?

jaideeprana commented 3 years ago

When I downloaded the Fira code from the link you mentioned it started working :).

Thanks for your help :)