Interacting with Other Notes #45
ericbright2002
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
These things are definitely possible. I'm trying to wrap up the next release at the moment. Once I'm done, I'll think on this and reply with a more detailed response. For now, one question about the second idea: it'd be easy enough to modify a section of a document, as long as you can define the start and end of the section. What would define the end of the section? Perhaps using the following "##" would work? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First, let me say that this is already an amazing plug-in. Your Inline Scripts single-handedly convinced me to hop over to Obsidian for solo play, so thank you! My goal when I play RPGs solo is to never leave the journal where I'm typing out my game play nor do I want to flip between editing and reading mode (like with the Dice Rolls plug-in). With the upcoming table release your previewed earlier, I'll almost have everything I need for that, but there are a couple of things that would be useful if you are interested/have the time to incorporate them into future releases.
I'd love a command to create a new note in a specific folder. I had a templater script working for that (although it's broke today for some reason), but I used an inline script to output the templater script which then still had to Alt-R to run templater and then run a notevars to update the frontmatter variables. Would it be possible to create the file, apply a template, and then modify the frontmatter with a notevars command all in a single shortcut? From what I can tell, the expand commands in the shortcut files don't get executed until the end, so the creation would have to fully finish before the updating of frontmatter variables.
Along those same line, I'd love to be able to drop text or an image in another note without leaving my main journal note. For example, Ironsworn has vows where you mark progress, and those progress tracks are made up of ten images in a row. I'd like to be able to grab the contents under a heading (say ## Progress Track) and either replace it fully with the new images, append text/image to it if I want to keep a running record rather than current value, or prepend to it to keep the most recent at the top. Something like:
modifynote {note path to heading} {append - 0, prepend - 1, replace - 2} {content to add to note}
Does any of that sound feasible? If so, what can I do to help you with it?
Beta Was this translation helpful? Give feedback.
All reactions