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

embed svg instead of png for plot #182

Closed
tpapp opened this issue Jan 17, 2022 · 2 comments · Fixed by #183
Closed

embed svg instead of png for plot #182

tpapp opened this issue Jan 17, 2022 · 2 comments · Fixed by #183

Comments

@tpapp
Copy link
Contributor

tpapp commented Jan 17, 2022

I would like

# # Experiment with Literate

using PGFPlotsX
Plot(Table(1:10, 1:10))

rendered with Literate.markdown("index.jl", ".", flavor = Literate.CommonMarkFlavor(), execute = true) to embed the plot as svg instead of png.

Looking at the source, this seems to be hardcoded. Ok if I make a PR to customize this, or is there an easier way?

@fredrikekre
Copy link
Owner

Sure, that would be fine. I just didn't know if there was a common enough way to embed svg in markdown.

@tpapp
Copy link
Contributor Author

tpapp commented Jan 17, 2022

Cf #126.

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

Successfully merging a pull request may close this issue.

2 participants