Markdown indented code blocks (#20473)
* Implement Markdown indented code blocks
Additional indentation of 4 spaces makes a block an "indented code block"
(monospaced text without syntax highlighting).
Also `::` RST syntax for code blocks is disabled.
So instead of
```rst
see::
Some code
```
the code block should be written as
```markdown
see:
Some code
```
* Migrate RST literal blocks :: to Markdown's ones
This commit is contained in:
parent
594e93a66b
commit
6505bd347d
33 changed files with 697 additions and 603 deletions
|
|
@ -790,9 +790,9 @@ be part of a single graph.
|
|||
Assignments like `a = b` "connect" two variables, both variables end up in the
|
||||
same graph `{a, b} = G(a) = G(b)`. Unfortunately, the pattern to look for is
|
||||
much more complex than that and can involve multiple assignment targets
|
||||
and sources::
|
||||
and sources:
|
||||
|
||||
f(x, y) = g(a, b)
|
||||
f(x, y) = g(a, b)
|
||||
|
||||
connects `x` and `y` to `a` and `b`: `G(x) = G(y) = G(a) = G(b) = {x, y, a, b}`.
|
||||
A type based alias analysis rules out some of these combinations, for example
|
||||
|
|
@ -1586,16 +1586,16 @@ all the arguments, but also the matched operators in reverse polish notation:
|
|||
```
|
||||
|
||||
This passes the expression `x + y * z - x` to the `optM` macro as
|
||||
an `nnkArgList` node containing::
|
||||
an `nnkArgList` node containing:
|
||||
|
||||
Arglist
|
||||
Sym "x"
|
||||
Sym "y"
|
||||
Sym "z"
|
||||
Sym "*"
|
||||
Sym "+"
|
||||
Sym "x"
|
||||
Sym "-"
|
||||
Arglist
|
||||
Sym "x"
|
||||
Sym "y"
|
||||
Sym "z"
|
||||
Sym "*"
|
||||
Sym "+"
|
||||
Sym "x"
|
||||
Sym "-"
|
||||
|
||||
(This is the reverse polish notation of `x + y * z - x`.)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue