diff options
Diffstat (limited to 'test/command/shift-heading-level-by.md')
-rw-r--r-- | test/command/shift-heading-level-by.md | 39 |
1 files changed, 33 insertions, 6 deletions
diff --git a/test/command/shift-heading-level-by.md b/test/command/shift-heading-level-by.md index 323783f24..1ce966989 100644 --- a/test/command/shift-heading-level-by.md +++ b/test/command/shift-heading-level-by.md @@ -8,9 +8,21 @@ title: My title ## Second ^D -Pandoc (Meta {unMeta = fromList [("title",MetaInlines [Str "My",Space,Str "title"])]}) -[Header 2 ("first-heading",[],[]) [Str "First",Space,Str "heading"] -,Header 3 ("second",[],[]) [Str "Second"]] +Pandoc + Meta + { unMeta = + fromList + [ ( "title" + , MetaInlines [ Str "My" , Space , Str "title" ] + ) + ] + } + [ Header + 2 + ( "first-heading" , [] , [] ) + [ Str "First" , Space , Str "heading" ] + , Header 3 ( "second" , [] , [] ) [ Str "Second" ] + ] ``` ``` @@ -25,8 +37,23 @@ title: Old title # Another top-level heading ^D -Pandoc (Meta {unMeta = fromList [("title",MetaInlines [Str "First",Space,Str "heading"])]}) -[Header 1 ("second",[],[]) [Str "Second"] -,Para [Str "Another",Space,Str "top-level",Space,Str "heading"]] +Pandoc + Meta + { unMeta = + fromList + [ ( "title" + , MetaInlines [ Str "First" , Space , Str "heading" ] + ) + ] + } + [ Header 1 ( "second" , [] , [] ) [ Str "Second" ] + , Para + [ Str "Another" + , Space + , Str "top-level" + , Space + , Str "heading" + ] + ] ``` |