Fredrik Ekre
9d9a31cd91
Replace ``x``-math with $x$-math for notebooks, fixes #116 .
4 years ago
David Widmann
a7f40596cf
Hide code lines with `#hide` when executing Markdown, fixes #166 ( #188 )
4 years ago
David Widmann
efe9d0a4ec
Call `showable` in correct world age ( #187 )
4 years ago
Thibaut Lienart
07949365b3
Relax Dict -> AbstractDict for user configurations, closes #185 . ( #186 )
4 years ago
Fredrik Ekre
3f4c17eca4
Automatically detect "edit branch", and let users
...
override using edit_url kwarg, closes #179 .
4 years ago
Tamas K. Papp
cb788bc399
Support image/svg+xml for markdown execution. ( #183 )
4 years ago
Fredrik Ekre
fbd39a3d5a
Fix multiline comments with rn line endings, fixes #171 . ( #172 )
4 years ago
Fredrik Ekre
439f69e654
Fix named at-examples to not contain spaces, fixes #168 . ( #169 )
4 years ago
Fredrik Ekre
aab932aa51
Fix multiline comment support with \r\n line endings, fixes #165 . ( #167 )
4 years ago
Fredrik Ekre
21c16e65c1
Ignore build version information for automatic URLs, fixes #162 .
4 years ago
Carlo Lucibello
42f39411cd
Add support for multiline markdown strings as markdown blocks ( #152 )
...
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>
4 years ago
Fredrik Ekre
94bc2260d2
Deprecate the documenter keyword argument. ( #159 )
...
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.
4 years ago
Fredrik Ekre
91f536baee
Update configuration docs. ( #158 )
4 years ago
Fredrik Ekre
6d3b76a006
Various documentation updates. ( #157 )
4 years ago
Fredrik Ekre
79615c90f1
Adds a concept of "flavors" for different output. ( #156 )
...
Adds `Literate.FranklinFlavor` that supports text/html output
when executing the markdown file.
fixes #146 , closes #147
4 years ago
Manuel
8b2d1799e6
change default code fence to use four backticks, fixes #144 ( #145 )
4 years ago
st--
d561b540e3
include inputfile in errors ( #150 )
5 years ago
Morten Piibeleht
08df88d5ed
Print out executed code blocks when in debug mode ( #137 )
5 years ago
Morten Piibeleht
de9a8a2efd
Use IOCapture instead of withoutput ( #124 )
...
fixes #138 , fixes #140 , closes #135
5 years ago
Fredrik Ekre
ceff7a36be
Capture output from display(x) and display(mime, x)
...
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 .
5 years ago
Fredrik Ekre
dc409d0f43
Support multiline comments for markdown input, fixes #26 . ( #123 )
5 years ago
Fredrik Ekre
3980541e87
Factor out code for Jupyter notebook output.
5 years ago
Fredrik Ekre
35dd9671d3
Use config to pass around some internal variables.
5 years ago
Fredrik Ekre
19204b6451
Factor out the write-to-file code.
5 years ago
Fredrik Ekre
85da8c56c5
Factor out some common pre-processing code.
5 years ago
Fredrik Ekre
6d1aec90b1
Implement #hide EOL token to filter lines after execution in markdown(...).
5 years ago
Fredrik Ekre
e08ca0a19b
Let markdown output capture output with the "text/markdown" MIME.
5 years ago
Takafumi Arakaki
ca2aba21f6
Fix a missing at-ref link in the documentation ( #118 )
5 years ago
Fredrik Ekre
2ba316ac90
Make output directory default to pwd.
6 years ago
Fredrik Ekre
e7fae2459e
Misc doc updates; links, css, changelog, compat notes etc.
6 years ago
Fredrik Ekre
56ec426ae5
Add empty line between input and output code-blocks in markdown, fixes #101 .
6 years ago
Fredrik Ekre
7e89fdbffd
Implement support for executing markdown pages, fixes #9 . ( #100 )
6 years ago
Jonas Schulze
6931ed43a3
Fix notebook validation warning
...
Previously, Jupyter complained about an unexpected property for markdown
cells. So it is added for code cells only now.
6 years ago
Fabian Greimel
b0806edb67
Allow all filter tokens at the end of lines ( #93 )
6 years ago
Fredrik Ekre
61f0778fe7
Fix devurl when running on Travis CI, fixes #87 .
6 years ago
Fredrik Ekre
43bde3820f
Add a horizontal rule before the credits.
6 years ago
Fredrik Ekre
4e71b159e5
Make URLs configurable, fixes #79 . ( #84 )
6 years ago
Fredrik Ekre
0f9e836d68
Support configuration with a config::Dict kwarg. ( #83 )
6 years ago
Fredrik Ekre
233b3746a8
Fix warning to not mention the same thing three times.
6 years ago
Kristoffer Carlsson
72a94ac8ac
respect semicolon output supression when exporting to Documenter ( #82 )
6 years ago
Fredrik Ekre
e00be10227
Add a docstring to the module.
6 years ago
Fredrik Ekre
cf2b552550
Fix EditURL when running with GitHub Actions.
6 years ago
Thibaut Lienart
bd11c9d682
Very minor docstring fixes ( #78 )
6 years ago
Fredrik Ekre
ccce600209
Add support for links when running in GitHub Actions.
6 years ago
Fredrik Ekre
d141df42f3
Fix invalid string that should have been s_str. ( #76 )
6 years ago
David Widmann
84c11dd041
Use $$...$$ instead of equation environment ( #72 )
6 years ago
Fredrik Ekre
0453bcdbe9
Append an extra newline for the credit entry, fixes #70 .
6 years ago
Fredrik Ekre
7af5414616
Fix expansion of link macros when docs are built
...
with DocumentationGenerator.jl
6 years ago
Fredrik Ekre
a8ab34fc2d
WIP support DG.
6 years ago
Matt Bauman
0872a96a88
RFC: Add support for Jupyter cell metadata via %% syntax ( #43 )
...
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>
6 years ago