Skip to content

Commit

Permalink
Minor fix to math spec, change to .md extension
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalmoksha committed Mar 28, 2024
1 parent 003f777 commit 971bf34
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
6 changes: 3 additions & 3 deletions script/cibuild
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ if [ x"$SPEC" = "xtrue" ]; then
# python3 roundtrip_tests.py --spec extensions-table-prefer-style-attributes.txt "$PROGRAM_ARG --table-prefer-style-attributes" --extensions "table strikethrough autolink tagfilter footnotes tasklist" || failed=1
python3 roundtrip_tests.py --spec extensions-full-info-string.txt "$PROGRAM_ARG --full-info-string" \
|| failed=1
python3 spec_tests.py --no-normalize --spec ../../../src/tests/fixtures/multiline_blockquote.txt "$PROGRAM_ARG -e multiline-block-quotes" \
python3 spec_tests.py --no-normalize --spec ../../../src/tests/fixtures/multiline_blockquote.md "$PROGRAM_ARG -e multiline-block-quotes" \
|| failed=1
python3 spec_tests.py --no-normalize --spec ../../../src/tests/fixtures/math_dollars.txt "$PROGRAM_ARG -e math-dollars" \
python3 spec_tests.py --no-normalize --spec ../../../src/tests/fixtures/math_dollars.md "$PROGRAM_ARG -e math-dollars" \
|| failed=1
python3 spec_tests.py --no-normalize --spec ../../../src/tests/fixtures/math_code.txt "$PROGRAM_ARG -e math-code" \
python3 spec_tests.py --no-normalize --spec ../../../src/tests/fixtures/math_code.md "$PROGRAM_ARG -e math-code" \
|| failed=1

python3 spec_tests.py --no-normalize --spec regression.txt "$PROGRAM_ARG" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1
date: '2024-03-22'
license: '[CC-BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/)'
based_on: https://docs.gitlab.com/ee/user/markdown.html#math
...
---

# TeX Math

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Dollar Math
based_on: https://github.com/jgm/commonmark-hs/blob/master/commonmark-extensions/test/math.md
...
---

# TeX Math

Expand Down Expand Up @@ -40,8 +40,9 @@ $$
e=mc^2
$$
.
<p>This is display math:</p>
<p><span data-math-style="display">e=mc^2
<p>This is display math:
<span data-math-style="display">
e=mc^2
</span></p>
````````````````````````````````

Expand Down Expand Up @@ -105,7 +106,8 @@ $$
.
<p>This is inline display math
<span data-math-style="display">1+2</span></p>
<p>This is block math</p>
<p><span data-math-style="display">1+2
<p>This is block math
<span data-math-style="display">
1+2
</span></p>
````````````````````````````````
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: GitLab Flavored Markdown Spec
version: 0.1
date: '2023-12-18'
license: '[CC-BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/)'
...
---

## Multi-line Blockquotes

Expand Down

0 comments on commit 971bf34

Please sign in to comment.