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.