Fixed Width Font

It would be great to be able to choose the font so that I can use a fixed-width font in Obsidian. This makes writing in markdown much easier.

I am a programmer, and thus the natural attraction to Obsidian (I absolutely love it).
From this perspective, having a fixed width font is valuable, especially since I intend to use Obsidian to write documentation for my github projects; the graph view is very nice for this also.

1 Like

you can create an obsidian.css file in your vault and add the following code

      --font-monospace: "Source Code Pro", monospace;

       .markdown-source-view { font-family: var(--font-monospace) }

If you are already using another theme, you might have to modify it accordingly

There are some other posts where you can find more information on how to do it according to you needs.

Hope it helps!

1 Like

Iā€™m moving this to #resolved-help, do ping me if something was not covered by the previous answers.

1 Like