@ -59,6 +59,9 @@ certain lines:
@@ -59,6 +59,9 @@ certain lines:
Lines *starting* or *ending* with one of these tokens are filtered out in the
[preprocessing step](@ref Pre-processing).
!!! compat "Literate 2.3"
Filter tokens at the end of the line requires at least Literate version 2.3.
!!! tip
The tokens can also be negated, for example a line starting with `#!nb` would
be included in markdown and script output, but filtered out for notebook output.
@ -124,3 +127,9 @@ The following convenience "macros"/source placeholders are always expanded:
@@ -124,3 +127,9 @@ The following convenience "macros"/source placeholders are always expanded:
```
This variable is automatically determined on Travis CI, GitHub Actions and GitLab CI,
but can be configured, see [Configuration](@ref Configuration).
!!! compat "Literate 2.1"
GitHub Actions support for the macros above requires at least Literate version 2.1.
!!! compat "Literate 2.2"
GitLab CI support for the macros above requires at least Literate version 2.2.
@ -50,8 +50,8 @@ representation of the output.
@@ -50,8 +50,8 @@ representation of the output.
to use `execute=true` for markdown output that is meant to be used as input to
Documenter.
!!! compat "Literate 2.3"
Code execution of markdown output requires at least Literate version 2.3.
!!! compat "Literate 2.4"
Code execution of markdown output requires at least Literate version 2.4.
See the section about [Configuration](@ref) for more information about how to configure the
behavior and resulting output of [`Literate.markdown`](@ref).
@ -139,6 +139,9 @@ The behavior of [`Literate.markdown`](@ref), [`Literate.notebook`](@ref) and
@@ -139,6 +139,9 @@ The behavior of [`Literate.markdown`](@ref), [`Literate.notebook`](@ref) and
ways to do this; pass `config::Dict` as a keyword argument, or pass individual
keyword arguments.
!!! compat "Literate 2.2"
Passing configuration as a dictionary requires at least Literate version 2.2.
!!! note "Configuration precedence"
Individual keyword arguments takes precedence over the `config` dictionary, so for e.g.
`Literate.markdown(...; config = Dict("name" => "hello"), name = "world")` the
@ -288,7 +288,7 @@ See the manual section about [Configuration](@ref) for more information.
@@ -288,7 +288,7 @@ See the manual section about [Configuration](@ref) for more information.
|`credit`|Booleanforcontrollingtheadditionof`This file was generated with Literate.jl ...`tothebottomofthepage.IfyoufindLiterate.jlusefulthenfeelfreetokeepthis.|`true`||