diff options
author | John MacFarlane <jgm@berkeley.edu> | 2013-01-14 17:08:56 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2013-01-14 17:08:56 -0800 |
commit | 0ef24d15188243aa7ad78c4ef65d6c6b8ed0a84e (patch) | |
tree | b289292c5b64f861b8221d04330a109a7dd0ab7a | |
parent | 127851ea61ce3723caeed2bf0174e1977efc40cd (diff) | |
download | pandoc-0ef24d15188243aa7ad78c4ef65d6c6b8ed0a84e.tar.gz |
Added Ext_implicit_figures.
No code to hook this in yet.
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | src/Text/Pandoc/Options.hs | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -2150,7 +2150,7 @@ The link text will be used as the image's alt text: ### Pictures with captions ### -**Extension** +**Extension: `implicit_figures`** An image occurring by itself in a paragraph will be rendered as a figure with a caption.[^5] (In LaTeX, a figure environment will be diff --git a/src/Text/Pandoc/Options.hs b/src/Text/Pandoc/Options.hs index ae2afd6fc..e63b328a3 100644 --- a/src/Text/Pandoc/Options.hs +++ b/src/Text/Pandoc/Options.hs @@ -56,7 +56,7 @@ data Extension = | Ext_pandoc_title_block -- ^ Pandoc title block | Ext_mmd_title_block -- ^ Multimarkdown metadata block | Ext_table_captions -- ^ Pandoc-style table captions - -- | Ext_image_captions + | Ext_implicit_figures -- ^ A paragraph with just an image is a figure | Ext_simple_tables -- ^ Pandoc-style simple tables | Ext_multiline_tables -- ^ Pandoc-style multiline tables | Ext_grid_tables -- ^ Grid tables (pandoc, reST) @@ -104,7 +104,7 @@ pandocExtensions = Set.fromList , Ext_inline_notes , Ext_pandoc_title_block , Ext_table_captions - -- , Ext_image_captions + , Ext_implicit_figures , Ext_simple_tables , Ext_multiline_tables , Ext_grid_tables |