Skip to content

3.7.0

Choose a tag to compare

@greetclammy greetclammy released this 21 Oct 21:41
· 164 commits to main since this release
bae242c

Due to major changes, this release resets all plugin settings to their default values. Sorry about that! As a precaution, all previous settings can be found in .obsidian/first-line-is-title/data_old.json.

New

  • Strip inline math and Strip math block options (#71).
  • Strip table markup option (#70).
  • Detect diagrams sub-option under Strip code block markup.
  • Convert replacement characters sub-option under the Insert title in first line on note creation setting.
  • Added notification that shows when note has disable property and manual command is run.

Improved

  • Removed context menu commands for tags in note body in Reading view.
  • Updated settings UI.
  • If selected text is entirely a wikilink and Add safe internal link is run, the wikilink syntax will now be removed (#79).
  • Markup is now stripped even when there's nothing in-between markup syntax (e.g., **** for bold).
  • The cursor is now moved to note as soon as the view is ready.
  • Updated the icon for the Put first line in title in all notes command.
  • Added notification for when a safeword prevents a manual rename command.
  • The cursor is now moved to note body when creating notes with the core Unique note creator plugin if Move cursor to first line is enabled.
  • Minor improvements.

Fixed

  • Rename on focus causing notes to be renamed according to stale cache.
  • In heading-only mode, the filename now becomes Untitled when a note had content but then became empty.
  • Forbidden characters that are configured to be stripped rather than replaced in Replace characters not being omitted in link target when creating a safe internal link.
  • YAML stripped upon Templater new note template insertion if the first line results in Untitled filename.
  • Title insertion now dynamically builds reversal map from user settings instead of hardcoded defaults.
  • Minor bugs.

Under the hood

  • Massive refactoring undertaken.
  • Ensured compliance with plugin guidelines.
  • Console commands to enable debug mode added: window.DEBUG.enable('first-line-is-title') or window.DEBUG.enable('FLIT').
  • Moved template folder and Excalidraw detection from Exclusions tab open to one-time plugin onload.
  • First-time setup logic now runs after clearing settings.
  • Added content output for excluded files.