dcoales / obsidian-embedded-note-titles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Obsidian Embedded Note Titles Plugin

This plugin embeds the note title at the top of each note in both preview and edit mode. This plugin does not modify notes, and the title is not a part of the document itself.

Example output of plugin

Note

In general, this plugin attempts to size the titles to align with the note content. Some themes may have styling that conflicts with these calculations. If you notice misalignment between the title and the note, the titles can be styled via css like so:

.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... */
}

About

License:GNU General Public License v3.0


Languages

Language:TypeScript 94.3%Language:JavaScript 5.7%