diff --git a/blog/2024/12/12/modal-form-showcase-thread/index.html b/blog/2024/12/12/modal-form-showcase-thread/index.html index 6558d12..34cfde6 100644 --- a/blog/2024/12/12/modal-form-showcase-thread/index.html +++ b/blog/2024/12/12/modal-form-showcase-thread/index.html @@ -14,6 +14,8 @@ + + @@ -949,6 +951,22 @@

Modal form showcase thread

+ + + + + + diff --git a/blog/2024/12/19/release-notes-for-1560/index.html b/blog/2024/12/19/release-notes-for-1560/index.html new file mode 100644 index 0000000..27df97b --- /dev/null +++ b/blog/2024/12/19/release-notes-for-1560/index.html @@ -0,0 +1,1068 @@ + + + + + + + + + + + + + + + + + + + + + + + Release notes for 1.56.0 - Obsidian Modal Form docs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Skip to content + + +
+
+ +
+ + + + + + +
+ + + + + + + +
+ +
+ + + + +
+
+ + + + + + + + + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+
+ + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +

Release notes for 1.56.0

+ +

Templates now support Templater syntax

+

Modal Form 1.56.0 enhances its templates feature with Templater support! +I'm particularly excited about this integration because, with a little addition we are greatly improving the usability of this plugin, but also Templater. +Now binding a particular form to a complex template is easier than ever, knowing the fields available in the template also becomes a lot easier and I think the overall experience is greatly improved.

+

Templates with Templater syntax

+

What's New

+

The Templater integration adds the following capabilities to form templates:

+
    +
  • Use Templater syntax (<% %>) inside form templates
  • +
  • Process dates, files, and system information through Templater
  • +
  • Automatic processing of Templater syntax after form variables are replaced
  • +
+

Here's a little example combining both syntaxes:

+
---
+created: <% tp.date.now() %>
+---
+
+Dear {{name}},
+
+Meeting scheduled for <% tp.date.now("MMMM Do, YYYY") %>
+Location: {{location}}
+
+Best regards,
+{{signature}}
+
+

How it Works

+

The template processing now happens in two stages:

+
    +
  1. First, Modal Form replaces all form variables (the {{variable}} syntax)
  2. +
  3. Then, if Templater is available, it processes any Templater syntax in the resulting text
  4. +
+

Retry Functionality

+

Getting templater templates right at the first try can be hard, that's why we added a retry option when templater processing part fails. +If something goes wrong during templater processing , Modal Form now provides a retry modal where you can try to fix the template and try again.:

+

Retry option when template processing fails

+

This makes it easier to fix any issues without losing your form data and gives you an insight on how te template is processed.

+

Check out the templates documentation for more details and examples of how to use this new feature.

+ + + + + + + + + + + + + + + + + + +
+
+ + + +
+ + + +
+ + + +
+
+
+
+ + + + + + + + + + \ No newline at end of file diff --git a/blog/archive/2024/index.html b/blog/archive/2024/index.html index 45d12a2..8ee26bc 100644 --- a/blog/archive/2024/index.html +++ b/blog/archive/2024/index.html @@ -716,6 +716,15 @@