1
0
mirror of https://github.com/danog/blackfriday.git synced 2024-11-30 04:29:13 +01:00
Commit Graph

41 Commits

Author SHA1 Message Date
Russ Ross
873a60ad49 complete page rendering is now an option in the library 2011-06-29 10:08:56 -06:00
Russ Ross
b1a0318250 refactoring: inline renderers return bools, preparing rendering struct to become an interface 2011-06-28 19:46:35 -06:00
Russ Ross
f0cd9a420e render -> Parser, made parsing functions methods of *Parser 2011-06-28 18:58:53 -06:00
Russ Ross
55cde00c8a camel case 2011-06-28 16:02:12 -06:00
Russ Ross
c969dff782 added simplified interface for common usage 2011-06-28 15:55:27 -06:00
Russ Ross
fde2c60665 version number, few more options for command-line tool 2011-06-28 11:30:10 -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
f8f70572a4 simplified BSD license 2011-06-27 20:11:32 -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
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
f9b03f67fb output validates, command-line tool has useful options 2011-06-24 11:50:03 -06:00
Russ Ross
4b850e8098 tab expansion bug 2011-06-01 18:52:40 -06:00
Russ Ross
9f1d619906 tab expansion fixed to handle multibyte unicode characters 2011-05-31 12:04:58 -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
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
59dc1f8599 fix smartypants and html entity escaping 2011-05-28 22:50:33 -06:00
Russ Ross
3ee2b137f8 return result instead of taking buffer as input 2011-05-28 22:37:12 -06:00
Russ Ross
965748ad3d refactored into a proper package 2011-05-28 21:17:53 -06:00
Russ Ross
de458292e6 smartypants 2011-05-28 17:37:18 -06:00
Russ Ross
cab328f2f9 cleanup 2011-05-28 13:00:47 -06:00
Russ Ross
b117dcc9ec compatibility fixes 2011-05-28 09:49:21 -06:00
Russ Ross
c3545f4e70 output matches upskirt for markdown test suite 2011-05-27 16:12:21 -06:00
Russ Ross
f16de74d8b fixing link parsing 2011-05-27 13:38:10 -06:00
Russ Ross
48923aa47f basics working, still a few renderers to write 2011-05-26 22:27:33 -06:00
Russ Ross
871273161b parsing done but untested 2011-05-26 14:22:59 -06:00
Russ Ross
91dd5cc40f working on inline parsing 2011-05-26 12:10:16 -06:00
Russ Ross
90f07150c4 emph parsing 2011-05-26 09:47:41 -06:00
Russ Ross
2151ed61b2 reference extraction 2011-05-26 08:28:14 -06:00
Russ Ross
c727274128 setup, starting reference handling 2011-05-25 20:46:16 -06:00
Russ Ross
cb7b546677 fixed ordered lists 2011-05-25 16:00:01 -06:00
Russ Ross
f565f32504 all block-level parsers 2011-05-25 15:41:25 -06:00
Russ Ross
282b8dfa38 working on listitem 2011-05-25 13:59:30 -06:00
Russ Ross
8eb580260d initial commit 2011-05-24 16:14:35 -06:00