How haroopress extends markdown [reference]

Enhanced Markdown Syntax

  • Added [TOC] Syntax
    *Now you can easily embed table of content in documents.
  • Left Align: [TOC "float:left"]
  • Right Align: [TOC "float:right"]
  • ![]() Extended image syntax
  • ![alt text](url "title" "css")
  • Gitub Flavored Markdown & extensions
  • Syntax highlighting
  • Table
  • URL autolinking
  • Strikethrough
  • Smartypants
  • Mathematics Expression
  • Inline Expression: $$$...$$$
  • Block Expression: $$...$$
  • Added Option inline mathematics expression ($, $$$)
  • Added Superscript, Subscript
    • Sup^superscript^, Sub~subscript~
  • Extended Image Syntax
  • If ![](path/*.mp3) then
  • If ![](path/*.mp4) then
  • Footnote
    • Footnote: [^identity]
    • Footnote Reference: [^identity]: text

How might these be addressed in CommonMark?

  • Added [TOC] Syntax
  • Can be done via generic directives
  • !TOC{.left}
  • !TOC{.right}
  • ![]() Extended image syntax
  • Can be done via syntactic sugar and consistent attributes ![](){}
  • ![alt text](url "title"){.style} --> ![alt text](url){.style title=title}
  • Gitub Flavored Markdown & extensions
  • Syntax highlighting - via {}
  • Table - In discussion still but could be in core
  • URL autolinking - is supported already I think
  • Strikethrough - maybe via --strikethrough--
  • Smartypants - no opinion about smartypants
  • Mathematics Expression
  • Is currently in discussion in CommonMark, likely to be an option switch.
  • Inline Expression: $$$...$$$
  • Block Expression: $$...$$
  • Added Option inline mathematics expression ($, $$$)
  • Added Superscript, Subscript
    • Can’t see what’s wrong with implementing this approach.
    • Sup^superscript^, Sub~subscript~
  • Extended Image Syntax
  • Can be done via generic directives by assuming that ![](){} refers to a default function !default[](){}, which can handle filetype extension detection.
  • Footnote
    • Looks about right to me
    • Footnote: [^identity]
    • Footnote Reference: [^identity]: text