-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
Guidance/standardization of "front matter" #200
Comments
Cross posting from slack - edit: useful reference: https://twitter.com/aureliengeron/status/1445950207754006530?s=20 |
"frontmatter" proposal:
|
We could also use substitutions to keep the extra content in the notebooks to a minimum: https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#substitutions-with-jinja2 |
idea (needs to be tested): provide some templates for installation instructions, could have a paragraph of intro, be inside a dropdown, have tabs within the dropdown for pip/conda installs... but leave the packages to be installed as jinja substitutions. We can then add notebook metadata to define the substitutions, see https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#substitutions-with-jinja2. main expected problem: install commands should probably be formatted as code but I don't know how to get jinja to work inside code. |
Is this issue now defunct/solved given we have the Style Guide? |
I remember at some point discussing the possibility to in addition to the tags and categories that will already give an idea of the notebook topics and difficulty, we could define some kind of standard front matter so that all notebook have a quick explanation about what knowledge is assumed, links to notebooks that explain those concepts that are treated as known by the reader..
The text was updated successfully, but these errors were encountered: