Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use in a website? #15

Open
dwrolvink opened this issue May 16, 2023 · 0 comments
Open

Use in a website? #15

dwrolvink opened this issue May 16, 2023 · 0 comments

Comments

@dwrolvink
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant