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

👌 Add option for footnotes references to always be matched #108

Merged
merged 1 commit into from
May 12, 2024

Conversation

chrisjsewell
Copy link
Member

Usually footnote references are only matched when a footnote definition of the same label has already been found. If always_match_refs=True, any [^...] syntax will be treated as a footnote.

Usually footnote references are only matched when a footnote definition of the same label has already been found.
If `always_match_refs=True`, any `[^...]` syntax will be treated as a footnote.
@codecov-commenter
Copy link

codecov-commenter commented May 12, 2024

Codecov Report

Attention: Patch coverage is 97.72727% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 92.80%. Comparing base (7762458) to head (635677c).

Files Patch % Lines
mdit_py_plugins/footnote/index.py 97.72% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #108      +/-   ##
==========================================
+ Coverage   92.68%   92.80%   +0.12%     
==========================================
  Files          31       31              
  Lines        1817     1835      +18     
==========================================
+ Hits         1684     1703      +19     
+ Misses        133      132       -1     
Flag Coverage Δ
pytests 92.80% <97.72%> (+0.12%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chrisjsewell chrisjsewell merged commit 33c27e0 into master May 12, 2024
10 checks passed
@chrisjsewell chrisjsewell deleted the footnote-always-match branch May 12, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants