Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding an ordered list causes side effect in footnotes #93

Open
ntno opened this issue Jan 22, 2023 · 2 comments
Open

adding an ordered list causes side effect in footnotes #93

ntno opened this issue Jan 22, 2023 · 2 comments
Labels
bug Something isn't working investigation needed more info needed to proceed

Comments

@ntno
Copy link
Owner

ntno commented Jan 22, 2023

when an ordered list is added to a markdown page, any footnotes start counting at the next number following the end of the ordered list

Reproduction

when a unordered list is included, footnotes start at the number 1:

unordered-list-included

when a ordered list is included, footnotes start where the ordered list left off:

ordered-list-included

with ordered list:

1. First item
1. Second item
1. Third item
    1. Indented item
    1. Indented item
1. Fourth item 

Environment

  • Version of this theme used: 3.7.0
  • Version of MkDocs used 1.4.2
  • Other relevant versions (pip packages, OS, browser): firefox, see attached pip-install.txt
@ntno ntno added the bug Something isn't working label Jan 22, 2023
ntno added a commit that referenced this issue Jan 22, 2023
* wip

* add to nav

* credit markdown guide

* fleshed out list docs

* bump

* updated to asterisks for variety

* add snippet for palette pages

* dont break footnotes on palette example page, see issue #93
@ntno
Copy link
Owner Author

ntno commented Jan 31, 2023

@ntno ntno added the investigation needed more info needed to proceed label Jan 31, 2023
@ntno
Copy link
Owner Author

ntno commented Feb 3, 2023

try out extension options: https://python-markdown.github.io/extensions/footnotes/#usage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working investigation needed more info needed to proceed
Projects
None yet
Development

No branches or pull requests

1 participant