You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
How persistent output is working right now with outputting it directly below the code block, there must be three empty lines after it to not break/replace anything that comes after.
So if you have multiple code blocks it can quickly get messy if you don't want it to break things.
For example, if I were to run the following:
Before:
After:
And the same thing is if you run it multiple times but have the "proper" spacing:
Before:
Run 1:
Run 2:
Run 3:
Describe the solution you'd like
The way I see it, some possible solutions could be:
Have it output to a predefined property in the note (would be nice).
Have it output to another code block that contains a specific string (similar to using sed to replace something in a file).
Automatically add a certain amount of line breaks to the output as to not break/replace other content in the note.
Have it work similarly to the QuickAdd plugin where you can specify specific headers that it should be output to and also if it should append it to the top/bottom of the file/header (simlar to using echo "Text to append" >> file.txt and sed -i '1i Text to prepend' file.txt).
Describe alternatives you've considered
Short of not using persistent output, nothing I've tried has worked (due to what was explained above)
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
How persistent output is working right now with outputting it directly below the code block, there must be three empty lines after it to not break/replace anything that comes after.
So if you have multiple code blocks it can quickly get messy if you don't want it to break things.
For example, if I were to run the following:
And the same thing is if you run it multiple times but have the "proper" spacing:
Describe the solution you'd like
The way I see it, some possible solutions could be:
sed
to replace something in a file).echo "Text to append" >> file.txt
andsed -i '1i Text to prepend' file.txt
).Describe alternatives you've considered
Short of not using persistent output, nothing I've tried has worked (due to what was explained above)
The text was updated successfully, but these errors were encountered: