Ben Noordhuis
fc8c15ede5
Fix memory leak in ups_markdown().
2011-04-25 02:01:05 +02:00
Vicent Marti
ba88cb6ea3
Saner code blocks
...
- The language detection from shebangs has been dropped. Use your
highlighting library to detect this kind of things.
- New flags XHTML_GITHUB_CODEBLOCKS, which generates safer codeblocks
without letting the user specify custom CSS classes.
2011-04-23 00:38:10 +03:00
Vicent Marti
f3fcabda16
Make autolinking case-insensitive
2011-04-22 14:49:48 +03:00
Vicent Marti
4e8cb77e7c
Improve quoting/striking through inner spans
...
- Smart quotes with Smartypants now work across different text spans,
e.g. This "[link][foo]" gets quoted properly
- Strikethrough has now its own rendering callback.
2011-04-22 14:35:32 +03:00
Vicent Marti
3118304d80
Allow newlines inside of link declarations
...
This makes parsing more lax to support syntax like:
* Edit `~/.wmii/config.yaml` to your liking. For a real-life example,
see [my personal configuration file](
http://github.com/sunaku/wmiirc/blob/personal/config.yaml
).
2011-04-21 23:53:45 +03:00
Vicent Marti
129bf7c380
Remove first HTML block lookup pass again
...
Adding it broke the official Markdown test suite
2011-04-21 23:45:19 +03:00
Vicent Marti
cc565992ed
Honor fenced code block standards
2011-04-21 23:39:17 +03:00
Vicent Marti
550b98b2ea
Lax HTML blocks are now a MD extension
2011-04-18 22:16:59 +03:00
Vicent Marti
8dd10d10d4
Refactor buffer management
2011-04-16 18:05:24 +03:00
Vicent Marti
70f7b76700
More strict language declarations
2011-04-16 17:48:32 +03:00
Vicent Marti
481b099032
Add support for syntaxes in fenced code blocks
2011-04-16 13:14:28 +03:00
Vicent Marti
e1e5ea96ff
Initial commit
2011-04-15 11:36:46 +03:00