git.iko.soy/typeable/pandoc
on master help sign in
New syntax documentation for definition lists. Now we

require a ':' at the beginning of the definition; otherwise, too many false positives for definition lists. git-svn-id: https://pandoc.googlecode.com/svn/trunk@570 788f1e2b-df1e-0410-8736-df70ead52e1b

commit44cec96e61271575c5464adaba90180559898c1d authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSun 11 Mar 2007, 07:53 (20 years ago) parent2e794fd
1 file changed+9−7
README+9−7
README+9−7
@@ -425,24 +425,26 @@ Definition lists
425425----------------
426426
427427Pandoc supports definition lists, using a syntax inspired by
428−[reStructuredText]'s definition list syntax:
428+[PHP Markdown Extra] and [reStructuredText]:
429+
430+ [PHP Markdown Extra]: http://www.michelf.com/projects/php-markdown/extra/
429431
430432 Term 1
431− Definition 1
433+ : Definition 1
432434
433435 Term 2
434− Definition 2
436+ : Definition 2
435437
436438 Second paragraph of definition 2.
437439
438440The terms must fit on one line, but they may contain arbitrary inline
439441markup (emphasis, links, etc.). The definition must begin on the line
440−after the term, indented by one tab stop. The definition consists of
442+after the term, and must begin with a colon. The definition consists of
441443one or more block elements (paragraph, code block, list, etc.).
442444Each block must be indented one tab stop.
443445
444446 Term *with inline markup*
445− Here is the definition. It may
447+ : Here is the definition. It may
446448 contain multiple blocks. Here is some code:
447449
448450 {* my code *}
@@ -456,9 +458,9 @@ compact definition list, do not leave space between the definition and
456458the next term:
457459
458460 Term 1
459− Definition 1
461+ : Definition 1
460462 Term 2
461− Definition 2
463+ : Definition 2
462464
463465Reference links
464466---------------