summaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
Diffstat (limited to 'test/command')
-rw-r--r--test/command/4420.md6
-rw-r--r--test/command/6948.md6
-rw-r--r--test/command/figures-rst.md3
3 files changed, 9 insertions, 6 deletions
diff --git a/test/command/4420.md b/test/command/4420.md
index 9d809a106..11eaabd81 100644
--- a/test/command/4420.md
+++ b/test/command/4420.md
@@ -2,8 +2,8 @@
% pandoc -f native -t rst
[Para [Image ("",["align-right"],[("width","100px")]) [Str "image"] ("foo.png","fig:test")]]
^D
-.. image:: foo.png
- :alt: image
- :align: right
+|image|
+
+.. |image| image:: foo.png
:width: 100px
```
diff --git a/test/command/6948.md b/test/command/6948.md
index 8803aebe9..844ef7f96 100644
--- a/test/command/6948.md
+++ b/test/command/6948.md
@@ -4,9 +4,9 @@ as an independent image:
% pandoc -f native -t rst
[Para [Image ("",["align-center"],[]) [Str "https://pandoc.org/diagram.jpg"] ("https://pandoc.org/diagram.jpg","")]]
^D
-.. image:: https://pandoc.org/diagram.jpg
- :alt: https://pandoc.org/diagram.jpg
- :align: center
+|https://pandoc.org/diagram.jpg|
+
+.. |https://pandoc.org/diagram.jpg| image:: https://pandoc.org/diagram.jpg
```
Here we just omit the center attribute as it's not valid:
diff --git a/test/command/figures-rst.md b/test/command/figures-rst.md
index fac1145ad..a5f22daa1 100644
--- a/test/command/figures-rst.md
+++ b/test/command/figures-rst.md
@@ -6,5 +6,8 @@ Figure float with caption at the figure level.
^D
.. figure:: foo.png
+ name: fig-id
:alt: fig:
+
+ Caption
```