summaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-10-24 09:53:29 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-10-24 09:53:29 -0700
commit513b16a71b30a04cc91c056a22e2761f7ea554d2 (patch)
tree6eed586aee6ab229e035b69e71eb575372cfaa5a /MANUAL.txt
parent312db3b851a0f3f52f535bc8762b566c2dd560b3 (diff)
Fenced divs: ensure that paragraph at end doesn't become Plain.
Added test case.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index b52e900c3..42b836f0a 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -3080,10 +3080,12 @@ starts with a fence containing at least three consecutive
colons plus some attributes. The attributes may optionally
be followed by another string of consecutive colons.
The attribute syntax is exactly as in fenced code blocks (see
-[Extension-fenced_code_attributes], above). The Div ends with
-another line containing a string of at least three consecutive
-colons. The fenced Div should be separated by blank lines from
-preceding and following blocks.
+[Extension-fenced_code_attributes], above). As with fenced
+code blocks, one can use either attributes in curly braces
+or a single unbraced word, which will be treated as a class
+name. The Div ends with another line containing a string of at
+least three consecutive colons. The fenced Div should be
+separated by blank lines from preceding and following blocks.
Example:
@@ -3096,13 +3098,13 @@ Example:
Fenced divs can be nested. Opening fences are distinguished
because they *must* have attributes:
- ::: Warning
+ ::: Warning ::::::
This is a warning.
::: Danger
This is a warning within a warning.
:::
- :::
+ ::::::::::::::::::
#### Extension: `raw_tex` ####