Skip to content

Commit f2a8e30

Browse files
committed
Expect ATX headers in Markdown output
This matches pandoc's new behavior since version 2.11.2.
1 parent d839afa commit f2a8e30

File tree

5 files changed

+9
-18
lines changed

5 files changed

+9
-18
lines changed

abstract-to-meta/expected.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ abstract: |
1616
---
1717

1818
::: {.frontmatter}
19-
Preface
20-
=======
19+
# Preface
2120

2221
- Phasellus purus.
2322
- Praesent fermentum tempor tellus.
@@ -26,8 +25,7 @@ Preface
2625
- Curabitur lacinia pulvinar nibh.
2726
:::
2827

29-
Lorem Ipsum
30-
===========
28+
# Lorem Ipsum
3129

3230
Quo dolore molestiae et laboriosam occaecati explicabo corrupti. Earum
3331
expedita ducimus quaerat est quam ut molestiae. Illum deleniti vel

cito/expected.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ cito_cites:
66
- Upper_writers_1974
77
---
88

9-
Abstract
10-
========
9+
# Abstract
1110

1211
This is an example article. It was written under the influence of
1312
coffee, which acts to counter fatigue [@Li95].
1413

15-
Further reading
16-
===============
14+
# Further reading
1715

1816
Authors struggling to fill their document with content are referred to
1917
@Upper_writers_1974.

scholarly-metadata/expected.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ institute:
3232
name: Acme Corporation
3333
---
3434

35-
Abstract
36-
========
35+
# Abstract
3736

3837
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
3938
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim

track-changes/expected_accept.markdown

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Track changes in LaTeX and HTML
2-
===============================
1+
# Track changes in LaTeX and HTML
32

43
A **simple** comment from me.
54

@@ -19,8 +18,7 @@ And so is this.
1918

2019
One more.
2120

22-
A *header* with a comment {#a-header-width-a-notecomment}
23-
=========================
21+
# A *header* with a comment {#a-header-width-a-notecomment}
2422

2523
Some unmodified text ...
2624

track-changes/expected_reject.markdown

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Track changes in LaTeX and HTML
2-
===============================
1+
# Track changes in LaTeX and HTML
32

43
A **simple** comment from me.
54

@@ -19,8 +18,7 @@ And so is this.
1918

2019
One more.
2120

22-
A *header* width comment {#a-header-width-a-notecomment}
23-
========================
21+
# A *header* width comment {#a-header-width-a-notecomment}
2422

2523
Some unmodified text ...
2624

0 commit comments

Comments
 (0)