School of Haskell markdown is mostly strict markdown with two extensions.
- @@@ fences to 'hide solution'
- ``` style github code blocks
The current github code block parser only supports a single atttribute like:
But School of Haskell (http://www.fpcomplete.org) allows multiple attributes like:
``` haskell active web
This patch adds a new extension
which could probably be better named. Or, perhaps the normal github parser should be extended to always allow this?
The Markdown Reader has been extended with:
<|> (guardEnabled Ext_backtick_code_multi >> ((\xs -> ("", xs, )) <$> (identifier `sepBy1` (many1 (char ' ')))))
Which could possibly be improved. The writer has been extended as well.