Skip to content

Commit

Permalink
Add nested footnote test
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Mar 27, 2020
1 parent 4a42c10 commit 12b0bf1
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
],
keywords="markdown lexer parser development docutils sphinx",
python_requires=">=3.6",
install_requires=["markdown-it-py~=0.2.3"],
install_requires=["markdown-it-py~=0.3"],
extras_require={
"sphinx": ["pyyaml", "docutils>=0.15", "sphinx>=2,<3"],
"code_style": ["flake8<3.8.0,>=3.7.0", "black", "pre-commit==1.17.0"],
Expand Down
44 changes: 44 additions & 0 deletions tests/test_renderers/fixtures/syntax_elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,50 @@ Footnotes:
text
.

--------------------------
Footnotes nested blocks:
.
[^a]

[^a]: footnote*text*

abc
xyz

> a

- b

c

finish
.
<document source="notset">
<paragraph>
<footnote_reference auto="1" ids="id1" refname="a">
<paragraph>
finish
<transition>
<footnote auto="1" ids="a" names="a">
<paragraph>
footnote
<emphasis>
text
<paragraph>
abc

xyz
<block_quote>
<paragraph>
a
<bullet_list>
<list_item>
<paragraph>
b
<paragraph>
c
.

--------------------------
Front Matter:
.
Expand Down

0 comments on commit 12b0bf1

Please sign in to comment.