diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-07 08:26:53 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-07 08:26:53 +0000 |
commit | 5082b5411bdb1acb5b0dba9cbdfa346b96f1e309 (patch) | |
tree | 4ed4c7934af2ddc82455a301588db3a1151a262f /tests/writer.latex | |
parent | 6ddf8da444351c802ae96101cbc32893e132a5bf (diff) | |
download | pandoc-5082b5411bdb1acb5b0dba9cbdfa346b96f1e309.tar.gz |
Improved syntax for markdown definition lists.
Definition lists are now more compatible with PHP Markdown Extra.
Resolves Issue #24.
+ You can have multiple definitions for a term (but still not
multiple terms).
+ Multi-block definitions no longer need a
column before each block (indeed, this will now cause
multiple definitions).
+ The marker no longer needs to be flush with the left margin,
but can be indented at or two spaces. Also, ~ as well as :
can be used as the marker (this suggestion due to David
Wheeler.)
+ There can now be a blank line between the term and
the definitions.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1656 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.latex')
-rw-r--r-- | tests/writer.latex | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/writer.latex b/tests/writer.latex index b1c76bc01..0e9cd5dfc 100644 --- a/tests/writer.latex +++ b/tests/writer.latex @@ -456,6 +456,53 @@ orange block quote \end{quote} \end{description} +Multiple definitions, tight: + +\begin{description} +\item[apple] +red fruit + +computer +\item[orange] +orange fruit + +bank +\end{description} +Multiple definitions, loose: + +\begin{description} +\item[apple] +red fruit + + +computer + +\item[orange] +orange fruit + + +bank + +\end{description} +Blank line after term, indented marker, alternate markers: + +\begin{description} +\item[apple] +red fruit + + +computer + +\item[orange] +orange fruit + +\begin{enumerate}[1.] +\item + sublist +\item + sublist +\end{enumerate} +\end{description} \section{HTML Blocks} Simple block on one line: |