-
I understand I can make a dynamic pandoc markdown using I tried the following code.
The output is given by
<span class="ojs-in-a-box-waiting-for-module-import observablehq">
<span>|1|2|
|-|-|
|3|4|</span>
</span>
Is there any way to inject a pure text into markdown cell from Or is there any markdown js library which render like a |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
There is no way to render pandoc markdown from within the browser (which is where OJS runs). You can of course use the simple OJS markdown renderer but that might not do everything you want. The closest thing to pandoc is to use markdown-it with a bunch of plugins to emulate pandoc features (but you still won't get anything close to real pandoc or obviously the quarto extensions to pandoc. |
Beta Was this translation helpful? Give feedback.
-
OJS is rendered on the client (so well after Pandoc has done its thing!) It has a totally different computation model so can't emit markdown that will be seen by Pandoc -- it's rendered in the user's browser after they load the page rather than when you call |
Beta Was this translation helpful? Give feedback.
There is no way to render pandoc markdown from within the browser (which is where OJS runs). You can of course use the simple OJS markdown renderer but that might not do everything you want. The closest thing to pandoc is to use markdown-it with a bunch of plugins to emulate pandoc features (but you still won't get anything close to real pandoc or obviously the quarto extensions to pandoc.