Skip to content

Latest commit

 

History

History
540 lines (452 loc) · 5.57 KB

File metadata and controls

540 lines (452 loc) · 5.57 KB

Table .

a b c
1 2 3
xxxxxx yyyyyy zzzzzz
.
a b c
:----- -----: :----:
1 2 3
xxxxxx yyyyyy zzzzzz
.

Table escape . | a | | - | . | a | | - | .

MyST Role . Euler's identity, equation {math:numref}euler, was elected one of the most beautiful mathematical formulas. . Euler's identity, equation {math:numref}euler, was elected one of the most beautiful mathematical formulas. .

MyST Role escape . Escaped role {math:numref}euler, right there . Escaped role {math:numref}euler, right there .

MyST LineComment . a line % a comment another line . a line

% a comment

another line .

MyST LineComment - multiline . a line % a multiline %comment % yep

% another comment . a line

% a multiline %comment % yep

% another comment .

MyST LineComment escape . a line % a comment another line . a line % a comment another line .

MyST BlockBreak . a line +++ a block break another line . a line

+++ a block break

another line .

MyST BlockBreak: empty content . a line +++ another line . a line

+++

another line .

MyST BlockBreak escape . a line +++ NOT a block break another line . a line +++ NOT a block break another line .

MyST Target . (myst_target)= That's a myst target^ . (myst_target)=

That's a myst target^ .

MyST Target escape . (myst_target)= That's a myst target^ The escape has no effect . (myst_target)=

That's a myst target^ The escape has no effect .

Document block attribute order stability . { #id2 key1="value1" .class1 .class2 key2="value2" } block . {#id2 .class1 .class2 key1="value1" key2="value2"} block .

Block attribute collapsing . {#id1 .class1 key1="value1"} {#id2 .class2 key2="value2"} block . {#id2 .class1 .class2 key1="value1" key2="value2"} block .

Attribute attached to flowchart . {caption="GROUPS - Description."}

flowchart LR
    id
Loading

. {caption="GROUPS - Description."}

flowchart LR
    id
Loading

.

Dollarmath inline . Inline math: $a=1$ . Inline math: $a=1$ .

Dollarmath inline escape . Escaped inline math: $a=1$ . Escaped inline math: $a=1$ .

Dollarmath block . Block math:

$$ a=1 $$ . Block math:

$$ a=1 $$ .

Dollarmath block escape . $$ a=1 $$ . $$ a=1 $$ .

Dollarmath block labeled . Labeled block math:

$$ a=1 $$ (eq1) . Labeled block math:

$$ a=1 $$ (eq1) .

Blockquote with dollarmath block .

$$ a=1 $$ . $$ a=1 $$ .

Long blockquote with dollarmath block .

Some words

Block math:

$$ a=1 $$

Some more words . Some words

Block math:

$$ a=1 $$

Some more words .

Blockquote with dollarmath block labeled .

$$ a=1 $$ (eq1) . $$ a=1 $$ (eq1) .

Long blockquote with dollarmath block labeled .

Some words

Block math:

$$ a=1 $$ (eq1)

Some more words . Some words

Block math:

$$ a=1 $$ (eq1)

Some more words .

Indented dollarmath block .

  1. Indented math block

    $$ a=1 $$ .

  2. Indented math block

    $$ a=1 $$ .

Indented dollarmath block labeled .

  1. Indented labeled math block

    $$ a=1 $$ (eq1) .

  2. Indented labeled math block

    $$ a=1 $$ (eq1) .

Frontmatter .

lastname: Blorothy firstname: Dorothy

Thats YAML front matter^ .

lastname: Blorothy firstname: Dorothy

Thats YAML front matter^ .

Frontmatter escape . --- not frontmatter ---

Thats not YAML front matter^ . --- not frontmatter ---

Thats not YAML front matter^ .

Footnotes .

Now some markdown

Here is a footnote reference,1 and another.2

Now some markdown

Here is a footnote reference,1 and another.2

Move footnote definitions to the end (but before link ref defs) . link: https://www.python.org

Now we reference them

Here is a footnote reference1 Here is a link

.

Now we reference them

Here is a footnote reference1 Here is a link

.

footnote-indentation . 3

. 3

.

MyST directive YAML .

  :option1:  1
  :option2:   hello
Content
  :option1:  1
  :option2:   hello

Content
---
option1:  1
option2:   hello
---
Content
---
  option1:  1
  option2:   hello
---

Content

.

---
option1: 1
option2: hello
---
Content
---
option1: 1
option2: hello
---
Content
---
option1: 1
option2: hello
---
Content
---
option1: 1
option2: hello
---
Content

.

MyST directive empty YAML .

  :
Content

.

---
---
Content

.

MyST directive no content .

  :letter: a

.

---
letter: a
---

.

MyST directive, no opts or content .

.

.

Footnotes

  1. Here is the footnote. 2 3 4

  2. Here's one with multiple blocks.

    Subsequent paragraphs are indented to show that they belong to the previous footnote.

    Third paragraph here. . 2

  3. first paragraph with unindented next line.

    paragraph with indented next line

    paragraph with unindented next line

    content
    
    2