Header size snippet - make it adjustable

Things I have tried

What I’m trying to do


I’m using header snippet for obsidian, but want to make them adjustable. So, initial font size is the size of text, but for headers from h5 to h1 - i want to add some px.

Here is the snippet:

  font-size: var(--editor-font-size);
  font-weight: bold;
  color: black;

I linked font size to regular font, so it will automatically change when I’m using quick adjustment. Are there any options to make something like this:
font-size: (var(--editor-font-size) + 10px); (add some px to variable)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.