- parse properly Quarto arguments `#| echo:false`
- provide Quarto codefence (refactored to separate function)
- save files with extension `.qmd`
- all functionality tested
- updated documentation
This is opt-in for now, requires passing mdstrings=true.
Co-authored-by: CarloLucibello <carlo.lucibello@gmail.com>
Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com>
Instead of passing documenter=(true|false) to Literate.markdown
pass flavor = DocumenterFlavor() or flavor = CommonMarkFlavor()
as appropriate. For Literate.(notebook|script) it is not needed
anymore either, since removal of at-ref and at-id are now happening
unconditionally.
This implement a simple LiterateDisplay and pushes that
to the display stack when executing code to capture manual
calls to display(x) and display(mime, x), fixes#128.
Admittedly this is a little strange: it adds support for a special first-line
syntax that only applies to Jupyter notebook outputs. But this %% format is
somewhat standard across notebook-generating tools, and the ability to protect
it with a `#nb` leader makes it possible to specifically target this line to a
notebook output. We aim to use something like this for generation of notebooks
with support for nbgrader's metadata extensions, but it could also be used to
specify cell types for Jupyter notebook presentations \(with presentation
extensions\) or other such fun. Fixes#67.
Co-authored-by: Matt Bauman <mbauman@gmail.com>
Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com>
This changes the folder variable to "dev" instead of "latest" when `travis_tag` is empty,
Documenter uses "dev" not instead of "latest", whilst latest is currently symlinked by
Documenter to provide some backward compatibility, it still breaks some things like using `__NBVIEWER_ROOT_URL__`
* Call IJulia.display_dict with invokelatest
This is required for using printing methods defined in the notebook.
* Remove invokelatest from IJulia.limitstringmime