git.iko.soy/typeable/pandoc
on master help sign in
New syntax documentation for definition lists. Now we
44cec96fiddlosopher
README+9−7
@@ -425,24 +425,26 @@ Definition lists
425----------------
425----------------
426
426
427Pandoc supports definition lists, using a syntax inspired by
427Pandoc 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/
429
431
430 Term 1
432 Term 1
431− Definition 1
433+ : Definition 1
432
434
433 Term 2
435 Term 2
434− Definition 2
436+ : Definition 2
435
437
436 Second paragraph of definition 2.
438 Second paragraph of definition 2.
437
439
438The terms must fit on one line, but they may contain arbitrary inline
440The terms must fit on one line, but they may contain arbitrary inline
439markup (emphasis, links, etc.). The definition must begin on the line
441markup (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
441one or more block elements (paragraph, code block, list, etc.).
443one or more block elements (paragraph, code block, list, etc.).
442Each block must be indented one tab stop.
444Each block must be indented one tab stop.
443
445
444 Term *with inline markup*
446 Term *with inline markup*
445− Here is the definition. It may
447+ : Here is the definition. It may
446 contain multiple blocks. Here is some code:
448 contain multiple blocks. Here is some code:
447
449
448 {* my code *}
450 {* my code *}
@@ -456,9 +458,9 @@ compact definition list, do not leave space between the definition and
456the next term:
458the next term:
457
459
458 Term 1
460 Term 1
459− Definition 1
461+ : Definition 1
460 Term 2
462 Term 2
461− Definition 2
463+ : Definition 2
462
464
463Reference links
465Reference links
464---------------
466---------------