aboutsummaryrefslogtreecommitdiff
path: root/test/writer.rst
diff options
context:
space:
mode:
Diffstat (limited to 'test/writer.rst')
-rw-r--r--test/writer.rst82
1 files changed, 14 insertions, 68 deletions
diff --git a/test/writer.rst b/test/writer.rst
index 0c986b887..b47490de2 100644
--- a/test/writer.rst
+++ b/test/writer.rst
@@ -385,53 +385,23 @@ HTML Blocks
Simple block on one line:
-.. raw:: html
-
- <div>
-
-foo
+.. container::
-.. raw:: html
-
- </div>
+ foo
And nested without indentation:
-.. raw:: html
-
- <div>
-
-.. raw:: html
-
- <div>
-
-.. raw:: html
-
- <div>
-
-foo
-
-.. raw:: html
-
- </div>
-
-.. raw:: html
-
- </div>
+.. container::
-.. raw:: html
+ .. container::
- <div>
+ .. container::
-bar
+ foo
-.. raw:: html
+ .. container::
- </div>
-
-.. raw:: html
-
- </div>
+ bar
Interpreted markdown in a table:
@@ -477,15 +447,9 @@ And this is **strong**
Here’s a simple block:
-.. raw:: html
-
- <div>
-
-foo
-
-.. raw:: html
+.. container::
- </div>
+ foo
This should be a code block, though:
@@ -503,31 +467,13 @@ As should this:
Now, nested:
-.. raw:: html
-
- <div>
+.. container::
-.. raw:: html
+ .. container::
- <div>
+ .. container::
-.. raw:: html
-
- <div>
-
-foo
-
-.. raw:: html
-
- </div>
-
-.. raw:: html
-
- </div>
-
-.. raw:: html
-
- </div>
+ foo
This should just be an HTML comment: