Comments (5)
AFAIU, Literate just provide multiple MIME types of the same object and it is up to the renderer to chose how this should be displayed.
from literate.jl.
OK, after digging a bit I do think the issue is most likely on the other end. I pasted in there lots of details: kokes/nbviewer.js#28 (comment)
May I ask, why include multiple formats in the Literate output at all? Is this in case something is incompatible with SVG?
Something about this also confuses Jupyter itself, which does not seem to show the graphs when opening a notebook produced by Literate.
from literate.jl.
Something about this also confuses Jupyter itself, which does not seem to show the graphs when opening a notebook produced by Literate.
That sounds like you are not "trusting" the notebook (which is needed to render svg), ref https://ipython.org/ipython-doc/3/notebook/security.html#explicit-trust.
from literate.jl.
Oh awesome, thank you! I would never have found the "trust" concept.
The remaining question on the other thread seems to be whether there is a standard order of preference for formats which ought to be used. I would guess vector > raster > text but beyond that I don't know.
from literate.jl.
Solved on the other side (kokes/nbviewer.js#28) thus closing here.
from literate.jl.
Related Issues (20)
- Support for Configuration per Code Block HOT 7
- Passphrase for my SSH key HOT 1
- Literate will ask for SSH passphrase multiple times HOT 1
- Escaping link interpretation for Documenter links HOT 3
- FR: Output to Quarto markdown flavour HOT 3
- Option to capture errors? HOT 1
- FR: Supporting flavor-specific filtering
- consecutive (or custom) image filenames HOT 6
- suggestion: mention MarkdownTables.jl in the manual HOT 2
- Add link to Weave.jl
- Empty code cells in Jupyter notebook and errors allowed? HOT 8
- Question: checking for all `[deps]` in `docs/Project.toml` HOT 5
- UndefVarError occurs while execution of generated notebook HOT 1
- Plots.default propagating between different Literate examples? HOT 3
- Standard multiline doc strings HOT 4
- Is it possible to get comments inside a code block while converting to markdown? HOT 2
- Remove `@raw html` decorations if target is Jupyter notebook HOT 2
- Literate does not strip notebook references when source spans multiple lines HOT 2
- RequestError: HTTP/2 302 (Operation too slow ...) in Literate/Documenter build HOT 4
- "Makefile" like capability for Literate examples? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from literate.jl.