Sogari
d8f065e156
Add multiple Admonitions per chunk
3 years ago
Sogari
d2c7efcd5c
Fix multiple lists in admonition Body
3 years ago
Sogari
2688dc8063
Add tests for code questions (freecode tag), Fix numbers in mc answers
3 years ago
Sogari
f27ee47516
Add Multiple-Choice functionality for pluto-nb (mc-tag)
3 years ago
Sogari
e8acc87c19
Fix Code representation in Question and Refactor Pluto nb
3 years ago
Sogari
08faaacc7a
Fix Floats disturbing answer lists (e.g. 1.0) in Pluto nb
3 years ago
Sogari
7350e70413
Add category discrimination (sc tag for single choice)
3 years ago
Sogari
be9ae28743
Fix single line code cells in pluto nb
3 years ago
Sogari
62a666aa4e
Refactor pluto function
3 years ago
Sogari
9b1964dad4
Remove trailing newlines, refactor formatting
3 years ago
Sogari
6db69f97dd
Remove empty cells after afmonitions
3 years ago
Sogari
2530f9a7b8
Refactor string formatting helper functions
3 years ago
Sogari
cbe61eaf23
Add normal behavior when no Admonition, refactor ControlFlow
3 years ago
Sogari
2948d69759
Add helper functions at the end of the pluto-nb
3 years ago
Sogari
eac8a817b1
Add text after Admonition
3 years ago
Sogari
1213abeea7
Add text before the Admonition
3 years ago
Sogari
281df20492
Add control flow for sc-question
3 years ago
Sogari
c4678a2a73
Add generative question names
3 years ago
Sogari
5bf2aeb648
Add correct/danger admonitions
3 years ago
Sogari
800956b40f
Add SC-Question Admonition formatting for Pluto
3 years ago
Matthias Plochocki
77ad06d737
Add CommonMark parameter, invis first cell
3 years ago
Fredrik Ekre
54bc6119c6
docs
4 years ago
Fredrik Ekre
874b758e82
fixes
4 years ago
Fredrik Ekre
2ec34eeaeb
Fixes
4 years ago
Fredrik Ekre
872c00d1e0
folding cells
4 years ago
Fredrik Ekre
3e11724c8f
WIP: Output Pluto-flavored notebooks.
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