Vicent Marti
cbb7fb53c6
Create an autolinking API for external applications
2011-06-08 18:30:37 +02:00
Vicent Martí
2957e39acb
Merge pull request #29 from SamB/master
...
Lets make things more MinGW-friendly
2011-06-06 18:44:30 -07:00
Samuel Bronson
be552bafdc
Update Makefile and .gitignore to deal with smartypants.
...
... and get "make clean" to work under MSYS, too (*sigh*).
2011-06-05 14:55:08 -04:00
Samuel Bronson
dbc9d800ed
Tweaks to make things work better with MinGW.
2011-06-05 14:54:22 -04:00
Samuel Bronson
698f42f141
README.markdown: [Re-]wrap paragraphs to a somewhat decent width.
2011-06-05 14:52:25 -04:00
Vicent Marti
b51314a039
Add awesome .NET bindings
2011-06-03 00:18:01 +02:00
Vicent Marti
79e9a7ac36
More strict email autolinking
2011-06-02 23:54:52 +02:00
Vicent Marti
c631d97c11
Fix delimiter parsing in autolinking
2011-06-02 22:52:49 +02:00
Vicent Marti
268e9b411b
Autolinking bonanza
...
This autolinker is not only twice as fast, it also passes the Rails
autolinking test suite. Supports email addresses and autolinks without
`http://` prefix.
2011-06-02 21:17:28 +02:00
Krzysztof Kowalczyk
22ccf400a9
msvc fixes
2011-06-01 19:30:19 +02:00
Krzysztof Kowalczyk
7b56710f80
spelling fixes in comments
2011-06-01 19:29:54 +02:00
Vicent Marti
7408928cc8
Everybody's writing Go bindings!
2011-05-24 19:10:19 +03:00
Vicent Marti
beb7b68899
Run the Upskirt executable with no extensions
2011-05-22 15:45:49 +03:00
Vicent Martí
352fa31909
Merge pull request #20 from mcansky/master
...
just adding link to original project
2011-05-20 10:03:32 -07:00
mcansky
dc94a6f816
adding link to original project to allow a easier lookup
2011-05-20 10:03:40 +02:00
Vicent Marti
b1450fdf8f
Escape only the characters defined by the standard
...
ROCK ON MOTHERFUCKERS \m/
2011-05-20 03:57:30 +03:00
Vicent Marti
f20823e175
Even smarter autolink matching
2011-05-18 22:16:13 +03:00
Vicent Marti
2275e90888
Bump version number
2011-05-17 15:32:55 +03:00
Vicent Marti
0d26f74fba
Match version number with Redcarpet's
2011-05-17 15:32:00 +03:00
Vicent Marti
29e4c66e90
Fix numbers in email links
...
Never forget about <133h4x0r69@hotmail.com> and the likes.
2011-05-17 15:32:00 +03:00
Vicent Martí
388f4a7bfe
Merge pull request #19 from jkoshy/patch-1
...
Fix an error message.
2011-05-16 04:24:22 -07:00
Joseph Koshy
cf50f681b9
Fix an error message.
2011-05-15 21:23:05 -07:00
Vicent Marti
645ce2ecea
Fix toc anchor
2011-05-16 00:48:57 +03:00
Vicent Marti
caf7c5e336
Fix anchors for TOC headers
2011-05-15 23:59:34 +03:00
nono
7cacf7db36
Fix toc_content when some levels of headers are missing
2011-05-15 23:57:20 +03:00
Vicent Martí
c914fb5b77
Fix capitalization for Pantyshot
2011-05-12 18:11:07 -07:00
Vicent Marti
094da5b02d
We have Haskell bindings too!
2011-05-11 20:13:51 +03:00
Vicent Marti
4d51cec6b2
List our awesome bindings
2011-05-11 20:11:55 +03:00
Vicent Marti
fb517dcabf
Add support for versioning
2011-05-11 20:07:28 +03:00
Vicent Marti
26c68ad080
Include the HTML renderer when building the shared lib
2011-05-11 20:01:17 +03:00
Vicent Marti
cf81b53ee8
Do not call bufgrow
unless necessary
2011-05-07 21:24:38 +03:00
Vicent Marti
a8cb69438c
Add MKDEXT_SPACE_HEADERS
extension
2011-05-06 22:28:47 +03:00
Vicent Marti
eb6f5474c2
Upskirt now renders HTML by default
...
The XHTML renderer has been changed to HTML by default, with a new
renderer flag called "HTML_USE_XHTML" that enables closing tags.
2011-05-06 20:29:41 +03:00
Vicent Marti
7cb1a9e027
Do not inline bufgrow()
and bufput()
...
These two methods are no longer used by the SmartyPants parser, so
there's no performance benefit when inlining them.
This reverts commit 8a19bdd635
.
2011-05-05 18:30:13 +03:00
Vicent Marti
789bcd98e1
SmartyPants is now smart
...
SmartyPants is no longer an extension flag for the (X)HTML renderer, but
a separate method.
The new function `ups_xhtml_smartypants` external method is a
SmartyPants post-processor that takes an HTML document (e.g. a document
that has just been rendered with `ups_markdown`) and performs
SmartyPants substitutions in it.
This is the same approach that the original SmartyPants takes.
Postprocessing the HTML instead of performing the substitutions at the
Markdown level allows us to work around many problems of the old
implementation:
- Double quotes now properly open/close between different HTML
tags and blocks.
- Support for ``double quoting style'' has been added, and no
longer conflicts with Markdown code blocks.
- The limitations of the Upskirt parser (which was splitting
SmartyPants replacements mid-word in some cases because of active
character callbacks) no longer apply. All SmartyPants substitutions
work in all situations.
- The new parser is easily extendable with more substitutions.
The new SmartyPants parser is slightly faster than the old one.
2011-05-05 17:47:37 +03:00
Vicent Marti
cfa4e0934d
Add Contributors to the README
2011-05-05 17:46:49 +03:00
Vicent Marti
9fa8438a41
Use a two-layer array for active character callbacks
...
Do not stick 2KB of NULL values inside the `struct render`, use a double
lookup to character -> ptr. This makes the struct 8 times smaller.
2011-05-05 17:40:04 +03:00
Vicent Marti
35a580ffce
More lax support for Table headers
...
The separation row can now be separated with spaces from the column
borders.
2011-05-03 00:05:24 +03:00
Vicent Marti
e2a3063b6e
Fix the HTML filter flag
...
Set all the HTML callbacks to NULL instead of escaping inside methods.
This makes the skipped HTML disappear from the rendered document,
instead of appear as HTML entities or such.
2011-05-01 22:02:01 +03:00
Vicent Marti
bb9dbe8b5f
Rename strict emphasis flag again
...
'Cause I can and I like pretty names
2011-04-30 03:54:29 +03:00
Vicent Marti
d2ffc352f4
More agressive buffer management
...
Use two different buffer queues for span level and block level
elements, with different step sizes for the buffers in each queue.
2011-04-30 03:40:02 +03:00
Vicent Marti
0d11119240
Always print header and footer
...
Even on empty Markdown documents
2011-04-30 03:05:24 +03:00
Vicent Marti
a895484fb5
Improve language rendering in Code Blocks
...
Language classes are now scaped and properly tokenized for multiple
spaces, for both normal code blocks and GitHub code blocks.
2011-04-30 02:42:21 +03:00
Vicent Marti
daedc8e8ce
Much more solid autolinking
...
We now capture links when enclosed in parenthesis and other punctuation
chars.
2011-04-30 02:18:14 +03:00
Vicent Marti
16b4342f24
Lax emphasis is the default
...
With no extension flags, Upskirt now matches the behavior of Gruber's
Markdown when parsing emphasis without surrounded spaces.
2011-04-28 13:33:23 +03:00
Vicent Marti
22794bade8
Build the executable without shared lib
2011-04-28 13:33:23 +03:00
Vicent Martí
cc98beb776
Merged pull request #12 from nono/gitignore.
...
Add a gitignore file
2011-04-28 03:30:32 -07:00
Bruno Michel
244df333d8
Add a gitignore file
2011-04-28 12:29:09 +02:00
Vicent Marti
31d5a528ea
Drop URI escaping
...
It was not being done properly; URI escaping cannot be done
automatically on a whole URI without user intervention, because we don't
know why characters are reserved.
2011-04-28 13:18:09 +03:00
Vicent Marti
1d84eccd45
Do not segfault when unescaping empty links
2011-04-27 15:18:55 +03:00