Comments (5)
Note a caveat/shortcoming of the cell metadata approach, is that you have to assume that the cell only has one output, which this metadata would be applied to. This is what is done in IPyPublish: https://ipypublish.readthedocs.io/en/latest/metadata_tags.html#cell-output-level
from myst-nb.
Imo we could start with a few of the most common artifacts one would put in a document (tables and figures seem like a good start) and build roles or directives around each.
from myst-nb.
This also makes me think about tangle js:
I wonder if that can be inspiration for the future
from myst-nb.
IMO this approach has a danger of bundling too much into the cell metadata.
An alternative approach would be to implement figures as containers, which would include complete cells inside them.
from myst-nb.
I think the original intention of this issue was closed in #243 and https://myst-nb.readthedocs.io/en/latest/use/formatting_outputs.html#images
Although, I can certainly think of more improvements to add in the future 😄
Fell free to open another issue, or re0open with a more specific title/goal
from myst-nb.
Related Issues (20)
- Tag a new release HOT 5
- `eval` role sometimes returns no outputs if previous cell ends with semicolon
- path is deprecated. HOT 4
- could you make a release ? HOT 17
- Code-blocks reference and glossary myst directives not working as expected HOT 4
- Tests which use the `sphinx_run` fixture are broken for `sphinx>7`; failing CI results HOT 1
- Add `append_css` config variable to docs HOT 1
- 1.0.0: pytest is failing in 4 units HOT 2
- 1.0.0: documentation build fails HOT 5
- Tables from code-output not properly rendered HOT 3
- GitHub Release and changelog entry for version 1.0 HOT 4
- Add support for custom kernel provision
- Fail to evaluate notebooks when compiling Jupyter Book: no running kernel HOT 2
- `%glue` magic command
- Using include directive, conf.py configuration is not picked up HOT 2
- Does not work with Sphinx's internationalization workflow HOT 3
- Dollar math in markdown cells is incorrectly rendered HOT 2
- No displayed output when embedding glued figures from another page/notebook HOT 1
- Skip empty output text blocks?
- Suppressing log during Sphi9nx document compilation HOT 1
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 myst-nb.