Use in a website?
dwrolvink opened this issue · 0 comments
dwrolvink commented
Hi there, I am the developer of ObsidianHtml. A user would like to export their vault to html, and asked if I could make their mathpad codeblocks appear as they do in Obsidian.
I see in the main.ts file a lot of integrations with Obsidian specific code, so I don't think using the main.js from your release directly will work.
Is this something that you would want to support?
I envision having a
<code class="mathpad">
plot(sin(x))
</code>
block, or even a div, and have mathpad do its thing on the contents. Either on page load or as a precompile step would work for our project.
If this is out of scope for you, then I completely understand as well!
Cheers.