diff options
author | mb21 <mb21@users.noreply.github.com> | 2015-07-26 18:30:47 +0200 |
---|---|---|
committer | mb21 <mb21@users.noreply.github.com> | 2015-08-07 12:38:37 +0200 |
commit | a010b83a7542d1324bde3d248c24faae9e681dbd (patch) | |
tree | ed0727d31576f5d07e5e31d6611e124b54c0b823 /README | |
parent | e44fc547a5d0ef67c68011c23563fd82320bc2aa (diff) | |
download | pandoc-a010b83a7542d1324bde3d248c24faae9e681dbd.tar.gz |
Updated readers, writers and README for link attribute
Diffstat (limited to 'README')
-rw-r--r-- | README | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -2644,7 +2644,7 @@ nonbreaking space after the image: #### Extension: `common_link_attributes` #### -Attributes can be set on images: +Attributes can be set on links and images: An inline ![image](foo.jpg){#id .class width=30 height=20px} and a reference ![image][ref] with attributes. @@ -2666,7 +2666,7 @@ and `%`. There must not be any spaces between the number and the unit. For example: ``` -![](file.jpg){width=50%} +![](file.jpg){ width=50% } ``` - Dimensions are converted to inches for output in page-based formats like @@ -2685,10 +2685,6 @@ For example: is to look at the image resolution and the dpi metadata embedded in the image file. -Note that while attributes are also parsed on links, pandoc's internal -document model provides nowhere to put them, so they are presently -just ignored. - Footnotes --------- @@ -2964,9 +2960,8 @@ letters are omitted. #### Extension: `link_attributes` #### Parses multimarkdown style key-value attributes on link -and image references. (Since pandoc's internal document model -provides nowhere to put these for links, they are presently just -ignored, but they work for images.) +and image references. This extension should not be confused with the +[`common_link_attributes`](#extension-common_link_attributes) extension. This is a reference ![image][ref] with multimarkdown attributes. |