Vicent Marti
1d84eccd45
Do not segfault when unescaping empty links
2011-04-27 15:18:55 +03:00
Vicent Marti
8f0988ab84
Allow escaping characters inside of URL links
2011-04-27 04:26:42 +03:00
Vicent Marti
9c7100e69f
Fix compilation after inlining buffers
2011-04-26 14:00:38 +03:00
Vicent Marti
018fea055e
Fix autolink URI parsing and generation
2011-04-26 00:14:30 +03:00
Ben Noordhuis
8a19bdd635
20-25% of CPU time is spent in bufputc() and bufgrow(). Inline for great performance justice.
2011-04-26 00:14:26 +03:00
Vicent Martí
3bc7d70898
Merged pull request #8 from schacon/5985563.
...
Fix memory leaks
2011-04-25 14:08:34 -07:00
Ben Noordhuis
5985563743
Fix memory leaks in bufrelease() and bufreset().
2011-04-25 02:03:27 +02:00
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
08a1b26edb
Make put_scaped_char
more sane
2011-04-22 14:46:12 +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
3f01b80bda
Force PIC when building the library
2011-04-20 12:41:37 +03:00
Vicent Marti
392c51233f
Fix mispelled include name
...
<strings.h> is not what we're looking for.
2011-04-20 12:39:43 +03:00
Vicent Martí
cfc166b0cf
Stupid typo in README
2011-04-19 13:24:44 -07:00
Vicent Marti
550b98b2ea
Lax HTML blocks are now a MD extension
2011-04-18 22:16:59 +03:00
Vicent Marti
8bbc29aa33
Use <del> tag for strikethrough
2011-04-18 10:09:46 +03:00
Vicent Marti
0059d6277a
Remove profiling flags
2011-04-17 14:07:38 +03:00
Vicent Marti
a76c5f40bd
Fix HTML tag detection
2011-04-17 14:05:55 +03:00
Vicent Marti
7c6160bcce
Newline after line break
2011-04-17 13:48:50 +03:00
Vicent Marti
8dd10d10d4
Refactor buffer management
2011-04-16 18:05:24 +03:00
Vicent Marti
ffc20b5cb3
Remove some span-level callbacks for TOC rendering
2011-04-16 17:49:16 +03:00
Vicent Marti
70f7b76700
More strict language declarations
2011-04-16 17:48:32 +03:00
Vicent Marti
14d63dce62
Add support for GitHub-linke <p> hard-wrap
2011-04-16 14:47:29 +03:00
Vicent Marti
7ce14ef3c3
Remove extra newline
...
Nope. Don't add newlines after <pre>
2011-04-16 13:21:46 +03:00
Vicent Marti
481b099032
Add support for syntaxes in fenced code blocks
2011-04-16 13:14:28 +03:00
Vicent Martí
4600469b3b
Remove cute Octocat picture. Too big!
2011-04-15 02:03:35 -07:00
Vicent Martí
29364772f3
Add cute Octocat picture. This is important.
2011-04-15 02:01:52 -07:00
Vicent Marti
8866797839
Update README
2011-04-15 11:58:19 +03:00
Vicent Marti
e1e5ea96ff
Initial commit
2011-04-15 11:36:46 +03:00