# Writer HTML5 figure with caption and content. ``` % pandoc -f native -t html5 [Figure ("fig-id",[],[]) (Caption Nothing [Plain [Str "caption"]]) [Para [Str "content"]]] ^D

content

caption
``` HTML5 figure with NO caption and content. ``` % pandoc -f native -t html5 [Figure ("fig-id",[],[]) (Caption Nothing []) [Para [Str "content"]]] ^D

content

``` HTML4 figure with caption and content. ``` % pandoc -f native -t html4 [Figure ("fig-id",[],[]) (Caption Nothing [Plain [Str "caption"]]) [Para [Str "content"]]] ^D

content

caption
``` HTML4 figure with NO caption and content. ``` % pandoc -f native -t html4 [Figure ("fig-id",[],[]) (Caption Nothing []) [Para [Str "content"]]] ^D

content

``` # Reader Figure with caption and multiple elements. ``` % pandoc -f html -t native
CAP2
^D [ Figure ( "" , [ "important" ] , [] ) (Caption Nothing [ Plain [ Str "CAP2" ] ]) [ Plain [ Image ( "" , [] , [] ) [] ( "../media/rId25.jpg" , "" ) ] , BulletList [ [ Plain [ Str "ITEM" ] ] ] ] ] ``` Figure without caption. ``` % pandoc -f html -t native
^D [ Figure ( "" , [ "important" ] , [] ) (Caption Nothing []) [ Plain [ Image ( "" , [] , [] ) [] ( "../media/rId25.jpg" , "" ) ] , BulletList [ [ Plain [ Str "ITEM" ] ] ] ] ] ```