Fossil SCM

Add a test case for fragment-bounded footnote that contains markup within the corresponding text fragment.

george 2022-04-21 22:31 markdown-footnotes
Commit d38ec43d00550b84b5ef71ecb54e755a8b1265eef3836b07d5805c413399c691
1 file changed +3 -1
--- test/markdown-test3.md
+++ test/markdown-test3.md
@@ -24,11 +24,13 @@
2424
multiline
2525
label]
2626
2727
A labeled footnote may be [referenced several times][^many-refs].
2828
29
-A footnote's text should support Markdown [markup][^].
29
+A footnote's text should support Markdown [markup][^].
30
+Markup within [a [text fragment](https://en.wikipedia.org/wiki/Lorem_ipsum)
31
+of a *span-bounded footnote*][^markup] should also be rendered.
3032
3133
Another reference[^many-refs] to the preveously used footnote.
3234
3335
[^lost2]: This note was defined in the middle of the document.
3436
It references [its previous][^lost3]
3537
--- test/markdown-test3.md
+++ test/markdown-test3.md
@@ -24,11 +24,13 @@
24 multiline
25 label]
26
27 A labeled footnote may be [referenced several times][^many-refs].
28
29 A footnote's text should support Markdown [markup][^].
 
 
30
31 Another reference[^many-refs] to the preveously used footnote.
32
33 [^lost2]: This note was defined in the middle of the document.
34 It references [its previous][^lost3]
35
--- test/markdown-test3.md
+++ test/markdown-test3.md
@@ -24,11 +24,13 @@
24 multiline
25 label]
26
27 A labeled footnote may be [referenced several times][^many-refs].
28
29 A footnote's text should support Markdown [markup][^].
30 Markup within [a [text fragment](https://en.wikipedia.org/wiki/Lorem_ipsum)
31 of a *span-bounded footnote*][^markup] should also be rendered.
32
33 Another reference[^many-refs] to the preveously used footnote.
34
35 [^lost2]: This note was defined in the middle of the document.
36 It references [its previous][^lost3]
37

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button