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

✨ NEW: Add strikethrough extension #502

Merged
merged 1 commit into from Jan 10, 2022
Merged

✨ NEW: Add strikethrough extension #502

merged 1 commit into from Jan 10, 2022

Conversation

chrisjsewell
Copy link
Member

The strikethrough extension allows text within ~~ delimiters to have a strikethrough (horizontal line) placed over it.
For example, ~~strikethrough with *emphasis*~~.

Note, this extension is currently only supported for HTML output,
and will generate a myst.strikethrough warning
(since docutils does not have a native strikethrough node).

The `strikethrough` extension allows text within `~~` delimiters to have a strikethrough (horizontal line) placed over it.
For example, `~~strikethrough with *emphasis*~~`.

Note, this extension is currently only supported for HTML output,
and will generate a `myst.strikethrough` warning
(since docutils does not have a native strikethrough node).
@codecov
Copy link

codecov bot commented Jan 10, 2022

Codecov Report

Merging #502 (77e97fa) into master (c3945bb) will decrease coverage by 0.01%.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #502      +/-   ##
==========================================
- Coverage   89.88%   89.86%   -0.02%     
==========================================
  Files          16       16              
  Lines        2085     2092       +7     
==========================================
+ Hits         1874     1880       +6     
- Misses        211      212       +1     
Flag Coverage Δ
pytests 89.86% <85.71%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
myst_parser/main.py 88.72% <50.00%> (-0.60%) ⬇️
myst_parser/docutils_renderer.py 91.71% <100.00%> (+0.05%) ⬆️

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 c3945bb...77e97fa. Read the comment docs.

@chrisjsewell chrisjsewell merged commit 707d9d5 into master Jan 10, 2022
@chrisjsewell chrisjsewell deleted the strikethrough branch January 10, 2022 08:20
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

1 participant