Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Correct a nasty bug with SETEXT header detection when fenced code is …


2.1.5 adds
* MKD_NOSTYLE -- treat `<style>` blocks as regular html.
* some github flavored markdown support; gfm_...() input
  methods that put hardbreaks (== two spaces) at the end
  of every input line
* a whole bunch of tweaks to work around
  the tiny detail that clang is even more anal-compulsive
  than gcc is.
* support for github flavored markdown backtick-delimited
  code blocks (in addition to tilde-delimited codeblocks)
* in the `markdown` program, add
    1. -S flag (tell markdown to spit out style sections)
    2. -n flag (tell markdown not to output generated text)


Fixes for
1. tables with leading |s
2. \<br> being erroneously treated as a block-level html element

Tweaks for mingw, cygwin, and clang brokeness

Changes contributed by Stefano D'Angelo to clean up the toc html


Tweak table processing to not freak out when a table is framed
with leading and/or trailing |'s


Correct a long-standing bug in endash/emdash smartypants conversions.


Correct paragraph blocking to closer match the reference
(text blocks absorb adjacent code lines) and update the
test case error reporter to show the failed input and
the differences between the actual and expected output.


Found a bug in 2.1.1 when writing a weblog post about it!


Support PHP markdown extra-style fenced code blocks (delimited with
lines of three or more tildes.)   This involved some optimization of
the blockification code in markdown.c -- I now cache line type in the
line and have a cache filling function (`checkline()`) that will compute
the line type _once_ and then all the lookup functions can use this cache.
It's not significantly faster than the old code (1/100th of a cpu second
faster processing 10 450k documents) but it's also doing the line check for
fenced code blocks.


Version 2.1.0;
* modifications to `` so that it generates all
  the test scripts in the build directory
* more MacOS support in ``; check to see if `.dSYM`
  folders are created when a test script is compiled, and, if so,
  don't forget to delete them when they're cleaned up.
* `makepage` now accepts markdown option flags a'la the `markdown`
  program  (via `-Fxxxx`, `-fname`, or in the `MARKDOWN_FLAGS`
  environment variable.)
* strip bitfields out of `opts[]` -- I can't initialize a bitfield
  on plan9 cc.
* add a `-E` flag to `theme` to disable context-sensitive `<?theme xxx?>`


Tweak `` to write executables that it wants to execute
into `$__cwd`; some modern Linuces ship with `/tmp` marked `noexec`
and my chances of getting them to change that are about as good as
my chances of making the gcc cabal change gcc to be a C compiler
Something went wrong with that request. Please try again.