Skip to content

Conversation

@chrisjsewell
Copy link
Member

@chrisjsewell chrisjsewell commented Mar 3, 2021

validateLink, normalizeLink and normalizeLinkText are now methods of MarkdownIt,
meaning that they can be overriden by subclassing MarkdownIt.

`validateLink`,  `normalizeLink` and `normalizeLinkText` are now methods of `MarkdownIt`,
meaning that they can be overriden by subclassing
`MarkdownIt`.
@codecov
Copy link

codecov bot commented Mar 3, 2021

Codecov Report

Merging #135 (45bf6e0) into master (a40f6a8) will decrease coverage by 0.02%.
The diff coverage is 96.29%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #135      +/-   ##
==========================================
- Coverage   96.19%   96.16%   -0.03%     
==========================================
  Files          72       72              
  Lines        3104     3107       +3     
==========================================
+ Hits         2986     2988       +2     
- Misses        118      119       +1     
Flag Coverage Δ
pytests 96.16% <96.29%> (-0.03%) ⬇️

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

Impacted Files Coverage Δ
markdown_it/rules_block/state_block.py 97.84% <66.66%> (-0.70%) ⬇️
markdown_it/common/normalize_url.py 95.23% <100.00%> (ø)
markdown_it/main.py 91.47% <100.00%> (+0.41%) ⬆️
markdown_it/rules_block/reference.py 97.65% <100.00%> (-0.02%) ⬇️
markdown_it/rules_core/linkify.py 97.70% <100.00%> (-0.03%) ⬇️
markdown_it/rules_inline/autolink.py 95.83% <100.00%> (-0.09%) ⬇️
markdown_it/rules_inline/image.py 98.86% <100.00%> (-0.02%) ⬇️
markdown_it/rules_inline/link.py 98.83% <100.00%> (-0.02%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a40f6a8...d8ea691. Read the comment docs.

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.

Make validateLink, normalizeLink, and normalizeLinkText pluggable

2 participants