Skip to content

Releases: greetclammy/first-line-is-title

3.10.1

02 Dec 11:36

Choose a tag to compare

Improved

  • Made setting descriptions more clear.
  • Tweaked settings UI.

Fixed

  • Backslashes in first line becoming __ESCAPED0_ in title when backslash replacement OFF.

3.10.0

30 Nov 12:13

Choose a tag to compare

New

  • Strip horizontal rule markup setting.
  • Command to add internal link with custom link path #95.

Fixed

  • Rename on focus overriding New note delay #93.
  • Self-referential links causing rename loop due to stale Obsidian cache.

Under the hood

  • Made plugin compliant with Obsidian plugin guidelines.

3.9.0

28 Nov 20:36

Choose a tag to compare

New

  • Setting to set title case (preserve case, uppercase, or lowercase) #99.

Improved

  • Changed the default replacement for " to ''.
  • Set the max Character count value to 252 — to match the Obsidian value.

Fixed

  • File content cleared when note moved to vault.

3.8.1

21 Nov 22:34

Choose a tag to compare

Improved

  • Add safe internal link commands now support multiple selections or cursors.
  • Updated settings UI.
  • Renamed Insert filename command to Insert filename at cursor position.

Fixed

  • / path stripped in Exclusions.
  • Cursor positioning now independent of new note delay.
  • Forbidden characters not being allowed to enter into Text to replace fields.

Under the hood

  • Confined CSS to plugin contexts only.

3.8.0

27 Oct 00:13
29ec213

Choose a tag to compare

New

  • Insert filename command.
  • Options to export and import plugin settings.
  • Option to preserve note last modified date when renaming or when modifying Properties #80.

Improved

  • Added error notification in heading-only mode for when the fist line isn't a heading and a rename command is run.
  • Reliability of renaming and title insertion in notes in Canvas.
  • Added deduplications and cleanup to entries in Exclusions.
  • First line alias insertion/update in now completely disabled in page preview due to unreliability #53.
  • Updated settings UI.

Fixed

  • Inserting footnote in first line altering filename #83.
  • Batch operation success notifications showing inaccurate rename counts #86.
  • Folder batch rename command doesn't run if folder excluded #87.
  • First line alias updated automatically in manual mode.

3.7.0

21 Oct 21:41
bae242c

Choose a tag to compare

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.

3.6.0

18 Oct 12:31
0f13c34

Choose a tag to compare

New

  • Strip markdown table option (#70).
  • Full Russian localization.

Improved

  • Move cursor to first line can now be enabled in manual mode (#72).
  • Notes are now processed on any note content modification in open editor (excluding YAML), not just on first line change.
  • Minor UI tweaks.

Fixed

  • Unable to manually add a new property in Source view when first line alias is enabled (#69).
  • Some debug logs appearing in console even with Debug disabled.
  • Rename on focus not working when switching between using arrows keys and with Ctrl/Cmd held down (#60).
  • Code blocks and cardlinks not reflected in first line alias.
  • Duplicate file creation upon first line modification (#78).
  • New note delay delaying all processing even after it's over (#76).
  • Multiple issues with folder context menu items.

Under the hood

  • Consolidated titleSourceLine logic into a shared utility function.

3.5.2

15 Oct 14:27
6cf4921

Choose a tag to compare

Improved

  • Minor UI tweaks.

Fixed

  • No alias update and no notification shown on rename if the note already has the correct name with the n+1 counter.
  • Unable to change Content read method setting.
  • Alias insertion/update not respecting Content read method setting.

Under the hood

  • A myriad of minor fixes and improvements.
  • Ensured compliance with plugin guidelines.

3.5.1

14 Oct 19:41
d1e1f11

Choose a tag to compare

Improved

  • The original filename is now logged to console when running a manual command or when first renaming upon tab open (#61).
  • Minor UI improvements.

Fixed

  • Failure to enable renaming if boolean value of property to disable renaming is formatted as string (#62).
  • In manual mode, notes automatically renaming when active if 'Rename on focus' was ON when the mode was last set to automatic (#67).