Hi, I give you an example of a multiline snippet like the one you need between other single-line snippets. You should configure this in the Text Snippet Settings page:
snippets : It is an obsidian plugin, that replaces your selected text.
multiline : <div style="page-break-after: always"></div>$nl$$nl$$end$
other : another text snippet
If you do not add the $end$ then you should add an empty line between the last 2 snippets.
snippets : It is an obsidian plugin, that replaces your selected text.
multiline : <div style="page-break-after: always"></div>$nl$$nl$
other : another text snippet
Check that the Newline mark is configured to $nl$ in the same settings page.
Hi, I’ve copied and pasted exactly what you shared and it works like a charm.
I write “pbk”, press Ctrl + Tab and it is replaced by
<div style="page-break-after: always"></div>
From your first capture the $nl$ and $end$ do not get “processed” correctly by the plugin. Please check the following settings to assure the text is exactly $nl$ and $end$ with no spaces at the beginning nor at the end.