Skip to content

Commit

Permalink
Updated syntax documentation to describe the :auto_dd_para option.
Browse files Browse the repository at this point in the history
  • Loading branch information
ccorn committed Jan 2, 2018
1 parent b2f7b51 commit a22cb15
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/syntax.page
Original file line number Diff line number Diff line change
Expand Up @@ -732,13 +732,16 @@ paragraph otherwise:

definition term
: This definition will just be text because it would normally be a
paragraph and the there is no preceding blank line.
paragraph and there is no preceding blank line.

> although the definition contains other block-level elements
> although the definition contains other block-level elements.

: This definition *will* be a paragraph since it is preceded by a
blank line.

To avoid the resulting mix of inline and block elements, you can use the `:auto_dd_para` option to
mark the first paragraph as such if it is followed by more blocks belonging to the same definition.

The rules about having any block-level element as first element in a list item also apply to a
definition.

Expand Down

0 comments on commit a22cb15

Please sign in to comment.