diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-07-08 20:03:13 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-07-08 20:03:13 +0200 |
| commit | 5c327e249e03ac303e7fef40e2df6c6ef834db66 (patch) | |
| tree | 44e60f7ed494e1e6452f378620baa4afbc755346 /src/pretty.rs | |
| parent | f85e5aac64784deac75950a1307f2ca802ad6765 (diff) | |
Switch to = for headings once again
Diffstat (limited to 'src/pretty.rs')
| -rw-r--r-- | src/pretty.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pretty.rs b/src/pretty.rs index 17609cea..ff8841f3 100644 --- a/src/pretty.rs +++ b/src/pretty.rs @@ -169,7 +169,7 @@ impl Pretty for RawNode { impl Pretty for HeadingNode { fn pretty(&self, p: &mut Printer) { for _ in 0 .. self.level { - p.push('#'); + p.push('='); } p.push(' '); self.body.pretty(p); @@ -653,7 +653,7 @@ mod tests { roundtrip("\\ "); roundtrip("\n\n"); roundtrip("hi"); - roundtrip("# *Ok*"); + roundtrip("= *Ok*"); roundtrip("- Ok"); // Raw. |
