Markdown code



  • Markdown (as defined by Pandoc) supports [fenced code blocks] and [verbatim] text. If I write `foo` the output is foo. If I write `` `foo` `` the output is `foo`. In other words, [verbatim] text works as expected.

    How about fenced code blocks?

    here's a fenced code block using three tildes

    
    ... nope, not to spec.
    
    >``````
    here's a fenced code block using six backticks
    ``````
    
    Well, it almost got that one right. Almost. 
    
    I was going to post another example, but putting more backticks in this post breaks the formatting of the previous examples.
    
    ---
    Filed under: [FUCKING HELL WHY DOES MARKDOWN DELETE TWO STANDARDS WHEN I PUSH BACKSPACE ONCE](#tag)
    
    [fenced code blocks]: http://johnmacfarlane.net/pandoc/README.html#fenced-code-blocks
    [verbatim]: http://johnmacfarlane.net/pandoc/README.html#verbatim

Log in to reply