-
-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't print multiples lines in dynamic commands #1321
Comments
Dynamic commands is a feature that I won't be working on anymore (see #913). If you really need it to be dynamic, please use Dataview instead. |
I can't do this, because dataview only render text, but templater insert text to note. It's required to use result after (render using kanban). 'Tasks' plugin don't work too(only render). I don't find alternatives for using markdownTaskList(from dataview; returns plain text) in dynamic templater. |
I think it's easy to fix, but i don't know javascript(but know other laguages). If you say where dynamic commands render(in code), I try to fix it myself. |
Dynamic commands do not insert text into a note, but if you say they seem to for your needs then I believe it. Just search for |
I think it's not that repository issue. Mb bug in https://github.com/SilentVoid13/rusty_engine (created for this project). Bug may contains in Parser::parse_whitespace in first argument "i", that's whitespace chars. I can't fix it because all in one file and names are one letter. |
Plugin information (please complete the following information):
Describe the bug
in all dynamic templates(<%+ ... %>) no new lines added. As I can see it replaced to white spaces.
Example
dynamic:
__ <- not printed, it's for you
<%+ "hello \n \n something" %>
__
hello something
__
but static:
__
<% "hello \n \n something" %>
__
hello
something
__
Expected behavior
new line as new line
Screenshots
Additional context
I need to use it for displaying my tasks in kanban(plugin). It's require tasks in markdown format, but templater don't add new line and I have this:
The text was updated successfully, but these errors were encountered: