Skip to content

Releases: jglev/obsidian-apply-patterns-plugin

1.2.1

21 Aug 18:27
Compare
Choose a tag to compare

I'm unsure of the root cause, but a bug appeared whereby {{date}} strings were unable to be parsed because Chrono could not be imported fully. This seems to have something to do with dependency versions: by using yarn.lock from commit 1916f780df6eb80cd471a83a6181dd0096a96f8c of the tasks plugin and then re-installing dependencies with yarn, the issue resolved itself. 🤷‍♀️ This obviously warrants further investigation!

1.2.0

12 Aug 15:28
Compare
Choose a tag to compare
  • "Apply to whole document" command has been added
  • Users can now more easily import, export, and clear plugin settings.
  • \n is now parsed correctly in To strings.
  • Custom commands have been added (via the Settings tab).

1.1.1

06 Aug 13:50
Compare
Choose a tag to compare
  • Fixed bug whereby after selecting a pattern to apply, the user would not be able to type new text into the editor until either (a) opening a new Modal (such as the Command Palette) or switching away and back to the window.

1.1.0

03 Aug 20:26
Compare
Choose a tag to compare
  • Added ability to filter Patterns in the Settings tab.
    • Currently, the user must click the Magnifying Glass icon to refresh the search.
  • Added ability to re-arrange Patterns in the Settings tab.

1.0.0

03 Aug 16:40
Compare
Choose a tag to compare

Initial release. Adds two commands to the source editor:

  • Apply Patterns: Apply pattern to whole lines will loop over each line that is selected in the editor, and apply the Pattern to the entirety of each line.
  • Apply Patterns: Apply pattern to selection will apply the Pattern to just the text selected in the editor, as one (potentially multi-line) string.

{{date}} strings are validated and parsed before Regular Expression parsing occurs.