MKD-EXTENSIONS(7) Miscellaneous Information Manual MKD-EXTENSIONS(7) NAME mkd-extensions - Extensions to the Markdown text formatting syntax DESCRIPTION This version of markdown has been extended in a few ways by extending existing markup, creating new markup from scratch, and borrowing markup from other markup languages. Image dimensions Markdown embedded images have been extended to allow specifying the dimensions of the image by adding a new argument =/height/x/width/ to the link description. The new image syntax is ![alt text](image =/height/x/width/ "title") pseudo-protocols Five pseudo-protocols have been added to links id: The alt text is marked up and written to the output, wrapped with and . class: The alt text is marked up and written to the output, wrapped with and . raw: The title is written -- with no further processing -- to the output. The alt text is discarded. abbr: The alt text is marked up and written to the output, wrapped with and . lang: The alt text s marked up and written to the output, wrapped with and . Pandoc headers The markdown source document can have a 3-line Pandoc header in the format of % title % author(s) % date which will be made available to the mkd_doc_title(), mkd_doc_author(), and mkd_doc_date() functions. Definition lists A definition list item is defined as =tag= description (that is a =, followed by text, another =, a newline, 4 spaces of intent, and then more text.) Alternatively, definition list items are defined as tag : description (This is the format that PHP Markdown Extra uses.) embedded stylesheets Stylesheets may be defined and modified in a at the end of the line or a at the beginning of a subsequent line. Be warned that style blocks work like footnote links -- no matter where you define them they are valid for the entire document. alpha lists Alphabetic lists (like regular numeric lists, but with alphabetic items) are supported. So: a. this b. is c. an alphabetic d. list will produce:
header | header |
---|---|
text | text |