2

I'm using markdown from the repos on Ubuntu 19.10. This seems to be a quite old version:

>markdown -v

This is Markdown, version 1.0.1.
Copyright 2004 John Gruber
http://daringfireball.net/projects/markdown/

It doesn't support useful features such as "fenced" code blocks (line are concatenated as if if only kept the last of the opening backticks and the first of the closing backticks).

When I look for a markdown man page on the web there is obviously a more recent (2008) and more complete version (many more options than in my local man page). Where can I find it? Is its source available somewhere? Searching for markdown on the web is near impossible since you get thousands of hits for markdown syntax cheatsheets.

xenoid
  • 5,504

1 Answers1

2

There are some clues that the newer package is named discount.

But fenced code blocks are an Markdown extension.

Also I can recommend to check at least:

  1. ReText editor, which is build on top of python3-markdown:

    sudo apt install retext

  2. Pandoc to convert between many formats and Markdown variants:

    sudo apt install pandoc

  3. RStudio for creation of comprehensive dynamic RMarkdown documents

N0rbert
  • 99,918
  • 1
    Much better. discount is what I was looking for. There are also side utilities (mk2html) that can replace some of my scripts. – xenoid May 03 '20 at 20:42