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

fix svg output in markdown mode #16

Open
nlf opened this issue Oct 31, 2023 · 0 comments
Open

fix svg output in markdown mode #16

nlf opened this issue Oct 31, 2023 · 0 comments

Comments

@nlf
Copy link
Contributor

nlf commented Oct 31, 2023

currently when operating on a markdown file, we replace the code block with the actual generated svg. this doesn't embed well.

what we should do instead is write the svg content to a file (whose name should be a shortened hash of the contents) and an image reference written to the markdown

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