mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-04 01:09:20 +02:00
fix(content-blog): make footnote reference DOM ID unique on post listing page (#7212)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
parent
3b32a41f22
commit
71ba449a28
10 changed files with 197 additions and 1 deletions
13
website/_dogfooding/_blog tests/2022-01-21-dup-footnote.md
Normal file
13
website/_dogfooding/_blog tests/2022-01-21-dup-footnote.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
title: Third post with footnote to test posts with same footnote reference.
|
||||
---
|
||||
|
||||
foo[^1]
|
||||
|
||||
bar[^2]
|
||||
|
||||
baz[^3]
|
||||
|
||||
[^1]: foo
|
||||
[^2]: bar
|
||||
[^3]: baz
|
13
website/_dogfooding/_blog tests/2022-01-22-dup-footnote.md
Normal file
13
website/_dogfooding/_blog tests/2022-01-22-dup-footnote.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
title: Second post with footnote to test posts with same footnote reference.
|
||||
---
|
||||
|
||||
foo[^1]
|
||||
|
||||
bar[^2]
|
||||
|
||||
baz[^3]
|
||||
|
||||
[^1]: foo
|
||||
[^2]: bar
|
||||
[^3]: baz
|
13
website/_dogfooding/_blog tests/2022-04-20-dup-footnote.md
Normal file
13
website/_dogfooding/_blog tests/2022-04-20-dup-footnote.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
title: First post with footnote to test posts with same footnote reference.
|
||||
---
|
||||
|
||||
foo[^1]
|
||||
|
||||
bar[^2]
|
||||
|
||||
baz[^3]
|
||||
|
||||
[^1]: foo
|
||||
[^2]: bar
|
||||
[^3]: baz
|
Loading…
Add table
Add a link
Reference in a new issue