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

Fix: markdown strikethrough syntax support. #1959

Merged
merged 2 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions fastn-core/fbt-tests/08-static-assets/output/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions fastn-core/fbt-tests/09-markdown-pages/output/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2,170 changes: 1,085 additions & 1,085 deletions fastn-core/fbt-tests/15-fpm-dependency-alias/output/index.html

Large diffs are not rendered by default.

1,333 changes: 671 additions & 662 deletions fastn-core/fbt-tests/19-offline-build/output/index.html

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions ftd/ftd-js.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ table {
width: auto;
}

/**
This is needed since the global css makes `text-decoration: none`.
To ensure that the del element's `text-decoration: line-through` is applied,
we need to add `!important` to the rule
**/
del {
text-decoration: line-through !important;
}

*, pre, div {
padding: 0;
margin: 0;
Expand Down
2 changes: 2 additions & 0 deletions ftd/t/js/01-basic.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ background.solid: $inherited.colors.background.step-1
-- ftd.text: Hello
background.solid: $bg-og

-- ftd.text: This ~~sentence is grammatically wrong~~, correct it.

-- ftd.color bg-og:
light: yellow
dark: green
Expand Down
4 changes: 3 additions & 1 deletion ftd/t/js/01-basic.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading