mProjectsCode / obsidian-js-engine-plugin

https://www.moritzjung.dev/obsidian-js-engine-plugin-docs/
GNU General Public License v3.0
73 stars 5 forks source link

Is it possible to see the code & the result simultaniously? #10

Closed cocoonkid closed 5 months ago

cocoonkid commented 6 months ago

Thank you for this plugin. It's really helpful.

But I wonder the following:

image

and then the result appears as expected : image

But I'd like to always have the code visible and just display the result right below the code block. Especially since Icons don't look very good and become unwieldy.

image

Or possible in a second codeblock that could be declared as result of the initial one? With prepended symbols like >>>>

I hope I am able to properly explain myself here :-)

Thank your for taking the time

mProjectsCode commented 6 months ago

You can duplicate the code block and set the language to js for one of them.

cocoonkid commented 6 months ago

After some trial and error I went with https://github.com/mokeyish/obsidian-code-emitter. Thanks for your help anyways Sir :-). image