mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-21 05:43:39 +08:00
Docbook reader: implement <procedure> (#6442)
A `<procedure>` contains a sequence of `<step>`'s, or `<substeps>` that themselves contain `<step>`'s.
This commit is contained in:
@@ -1563,5 +1563,29 @@ or here: <http://example.com/>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
<procedure><title>An Example Procedure</title>
|
||||
<step>
|
||||
<para>
|
||||
A Step
|
||||
</para>
|
||||
</step>
|
||||
<step>
|
||||
<para>
|
||||
Another Step
|
||||
</para>
|
||||
<substeps>
|
||||
<step>
|
||||
<para>
|
||||
Substeps can be nested indefinitely deep.
|
||||
</para>
|
||||
</step>
|
||||
</substeps>
|
||||
</step>
|
||||
<step>
|
||||
<para>
|
||||
A Final Step
|
||||
</para>
|
||||
</step>
|
||||
</procedure>
|
||||
</sect1>
|
||||
</article>
|
||||
|
||||
@@ -575,4 +575,9 @@ Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "John",Sof
|
||||
,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
||||
[Plain [Str "Here's",Space,Str "another",Space,Str "one.",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."]]]])]
|
||||
(TableFoot ("",[],[])
|
||||
[])]
|
||||
[])
|
||||
,BulletList
|
||||
[[Para [Str "A",Space,Str "Step"]]
|
||||
,[Para [Str "Another",Space,Str "Step"]
|
||||
,Para [Str "Substeps",Space,Str "can",Space,Str "be",Space,Str "nested",Space,Str "indefinitely",Space,Str "deep."]]
|
||||
,[Para [Str "A",Space,Str "Final",Space,Str "Step"]]]]
|
||||
|
||||
Reference in New Issue
Block a user