(no title)
thesunny | 1 year ago
One optimization that might be interesting is to simply use Markdown as your main document all the time and then when you want to add special functionality like the math block to simply have that as a code block in Markdown. For example, using the triple back tick followed by the word math. Then anything inside of that math block works just like you already have.
This also makes it easy to add other types of blocks incrementally.
One challenge for me in reading the sample document was that it wasn’t clear that a math block was a math block without the comments that you wrote. Using the triple back tick with the block type would solve that problem
kjksf|1 year ago
I've been thinking about making math an option within markdown.
The type of the block is shown at the bottom, in the status bar.
geoelectric|1 year ago
For example, ```tasks blocks are used in Obsidian Tasks to denote queries. The extension replaces the block with the rendered task list, when in wysiwyg editing or in the rendered view.
In your case the results would just appear, a la soulver, but the way of setting it up would be familiar.