mgmeyers / obsidian-embedded-note-titles

GNU General Public License v3.0
58 stars 5 forks source link

Titles are too big. Could we get a setting to change the heading? I'd prefer just H3 at the top since I use multipane layouts often. #3

Closed classicrob closed 2 years ago

yutaizhou commented 3 years ago

Hi @classicrob, the following worked for me, just put it in a .css snippet and have Obsidian use it. Feel free to replace font-size, weight, etc, with whatever you need:

.embedded-note-titles .markdown-preview-view > h1, /* ...preview mode styles... */
.embedded-note-titles .is-readable-line-width.markdown-preview-view > h1, /* ...preview mode styles with readable line width enabled... */
.embedded-note-titles .CodeMirror-scroll > h1, /* ...edit mode styles... */
.embedded-note-titles .is-readable-line-width .CodeMirror-scroll > h1 /* ...edit mode styles with readable line width enabled... */
{
font-size: 22px !important;
}
classicrob commented 3 years ago

Thank you!

dricard commented 2 years ago

That doesn't work for at all.

mgmeyers commented 2 years ago

In the latest insider release, there are style settings (via the Style Settings plugin) to control the styling of the title. This will be available more widely once live preview is released to the public.

mgmeyers commented 2 years ago

Obsidian 0.13.14 has been released to the public, and the styling of headings can be adjusted via Style Settings