diff options
Diffstat (limited to 'test/command/shift-heading-level-by.md')
-rw-r--r-- | test/command/shift-heading-level-by.md | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/test/command/shift-heading-level-by.md b/test/command/shift-heading-level-by.md index 323783f24..8397e7092 100644 --- a/test/command/shift-heading-level-by.md +++ b/test/command/shift-heading-level-by.md @@ -8,9 +8,19 @@ 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 +35,17 @@ 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" ] + ] ``` |