Commit Graph

70 Commits

Author SHA1 Message Date
Russ Ross
fde2c60665 version number, few more options for command-line tool 2011-06-28 11:30:10 -06:00
Russ Ross
84eeba2562 example markdown binary: try to guess a title 2011-06-28 10:58:37 -06:00
Russ Ross
2a18706ca4 options to supress tab expansion or to expand tabs to 8 spaces instead of 4 2011-06-28 10:58:10 -06:00
Russ Ross
2f839dc39a fenced code: ending marker must match beginning marker, tests for fenced code blocks 2011-06-28 10:30:25 -06:00
Russ Ross
66b71b1f51 readme tweak 2011-06-27 20:15:12 -06:00
Russ Ross
4bd8627b2c README tweak 2011-06-27 20:14:13 -06:00
Russ Ross
f8f70572a4 simplified BSD license 2011-06-27 20:11:32 -06:00
Russ Ross
8233aad6ad preformatted html block tests 2011-06-27 19:35:40 -06:00
Russ Ross
fffbd3ed1a tests for ordered lists 2011-06-27 18:03:54 -06:00
Russ Ross
00cb90e934 horizontal rule and list testing 2011-06-27 16:06:32 -06:00
Russ Ross
c8f7e789d4 more robust whitespace stripping and matching corrections to tests 2011-06-27 16:06:16 -06:00
Russ Ross
9a0217f7aa fixed minor bugs uncovered by more testing 2011-06-27 14:35:11 -06:00
Russ Ross
47c4852520 unit tests for underlined headers, improved whitespace handling for the same 2011-06-27 11:42:38 -06:00
Russ Ross
3af64a90ad fixed headers nested in lists, added prefix header unit tests 2011-06-27 10:13:13 -06:00
Russ Ross
e22e43bf76 eliminate a buffering level for paragraphs 2011-06-26 17:21:11 -06:00
Russ Ross
ea3d80e2d0 clean up main markdown function: split out first and second passes 2011-06-26 09:51:36 -06:00
Russ Ross
f5e3dc8073 refactoring: newlines as hard breaks changed from HTML option to global markdown option 2011-06-25 15:45:51 -06:00
Russ Ross
812e8d0185 refactoring paragraph rendering 2011-06-25 15:18:34 -06:00
Russ Ross
eff64c563f reduce copying for lists 2011-06-25 15:02:46 -06:00
Russ Ross
cf97fbd897 experiment: render headers directly to output buffer to avoid a copy; minor speed boost 2011-06-25 08:20:08 -06:00
Russ Ross
45ab8d0dc4 dumb tweak that gives a little speed bump 2011-06-24 21:53:46 -06:00
Russ Ross
44db721708 rewrite of attrEscape: cleaner and faster 2011-06-24 19:11:06 -06:00
Russ Ross
a74678bf51 enable profiling from command-line tool 2011-06-24 17:13:42 -06:00
Russ Ross
c337e07e74 fraction example in readme 2011-06-24 16:42:17 -06:00
Russ Ross
be0fb4602b more inline unit tests 2011-06-24 16:39:50 -06:00
Russ Ross
f9b03f67fb output validates, command-line tool has useful options 2011-06-24 11:50:03 -06:00
Russ Ross
157bb44c05 improved (hopefully) smart quote handling 2011-06-22 15:40:58 -06:00
Russ Ross
9ffeaf98a8 convert test files to unix format, fix a few broken ones 2011-06-10 09:41:00 -06:00
Russ Ross
1e40ebaf47 unit test for linebreaks 2011-06-01 18:52:55 -06:00
Russ Ross
4b850e8098 tab expansion bug 2011-06-01 18:52:40 -06:00
Russ Ross
a4339270a5 fix test name conflicts 2011-06-01 18:52:24 -06:00
Russ Ross
cd5e4957ce Merge pull request #2 from kjk/markdown-tests
integrate tests for markdown 1.0.3 test files by comparing them with refe
2011-06-01 17:24:11 -07:00
Krzysztof Kowalczyk
2f988eb278 integrate tests for markdown 1.0.3 test files by comparing them with reference files rendered with upskirt (no extensions) 2011-06-01 16:47:32 -07:00
Russ Ross
2abc3af015 starting inline unit tests, fix a few minor bugs they exposed 2011-06-01 12:17:17 -06:00
Russ Ross
87f1e83da2 readme updates 2011-05-31 16:31:36 -06:00
Russ Ross
921ac7d0be comments, minor cleanups 2011-05-31 16:28:07 -06:00
Russ Ross
b6e6530815 rewrote the stinking pile of code that was blockParagraph 2011-05-31 16:07:15 -06:00
Russ Ross
9f1d619906 tab expansion fixed to handle multibyte unicode characters 2011-05-31 12:04:58 -06:00
Russ Ross
f3386eb849 gofmt 2011-05-31 11:49:49 -06:00
Russ Ross
df64ec5d0f allocate new buffers on stack; mild speed improvement 2011-05-31 11:11:04 -06:00
Russ Ross
9d23b68fa5 export all names from Renderer struct
This enables new back-ends that are not part of the package
Basically a big search-and-replace for this commit
2011-05-30 21:44:52 -06:00
Russ Ross
679e1686db performance fix: with autolinking on, it is almost twice as fast now 2011-05-30 15:36:31 -06:00
Russ Ross
4a17a5b58f remove dependency on less function 2011-05-30 14:42:38 -06:00
Russ Ross
cd7b952148 readme tweak 2011-05-30 11:15:56 -06:00
Russ Ross
ee3fe99203 rudimentary latex backend, additional cleanup 2011-05-30 11:06:20 -06:00
Russ Ross
81cefb5e7c split parser into multiple files, clean up naming 2011-05-29 17:00:31 -06:00
Russ Ross
4e2d6a50a7 cleanup in markdown: better naming, misc fixes 2011-05-29 11:43:18 -06:00
Russ Ross
bb3c0f7370 comments on performance 2011-05-29 09:30:57 -06:00
Russ Ross
59dc1f8599 fix smartypants and html entity escaping 2011-05-28 22:50:33 -06:00
Russ Ross
de40da7ad6 escape entities when using smartypants 2011-05-28 22:39:22 -06:00