Commit Graph

776 Commits

Author SHA1 Message Date
Alexandre Mutel
7815eeeea8 Cleanup code for pipe table (wip) 2016-03-02 00:45:14 +09:00
Alexandre Mutel
ff25e99910 Rewrite escape Url 2016-03-01 22:12:07 +09:00
Alexandre Mutel
797e4f4c4c Make TextWriter mandatory for TextRendererBase to avoid issues with a null TextWriter 2016-03-01 20:35:50 +09:00
Alexandre Mutel
d3f905aad1 Add TextRendererBase class 2016-03-01 20:34:18 +09:00
Alexandre Mutel
95c36b2535 Improve table support. Improve performance for table detection. Move all classes related to tables into Extensions.Tables 2016-03-01 21:21:23 +09:00
Alexandre Mutel
240b2e03c9 Add PipeTable and SoftlineBreakAsHardlineExtension extensions 2016-03-01 20:54:40 +09:00
Alexandre Mutel
c699edf65b Add interface IMarkdownRenderer. Rename htmlMarkdownRenderer to HtmlRenderer 2016-03-01 07:56:50 +09:00
Alexandre Mutel
5570b8a13e Improve performance of htmlMarkdownRenderer.Write and WriteEscape 2016-03-01 07:34:27 +09:00
Alexandre Mutel
87eaeeff9e Simplify Markdown top-level api 2016-02-29 23:59:45 +09:00
Alexandre Mutel
bc0e0301c4 Improve performance 2016-02-29 23:47:14 +09:00
Alexandre Mutel
02ca4b376f Fix benchmarks 2016-02-29 23:26:35 +09:00
Alexandre Mutel
523e8803f2 Improve performance of the renderer 2016-02-29 23:22:13 +09:00
Alexandre Mutel
359c8fb6dc Write all HtmlRenderer. Cleanup API, add support for extensions 2016-02-29 22:53:01 +09:00
Alexandre Mutel
ab8024d5e7 Move code from HtmlHelper to HtmlWriter 2016-02-29 20:55:48 +09:00
Alexandre Mutel
c69ba8bada Start to add Html formatters 2016-02-29 20:32:16 +09:00
Alexandre Mutel
6c927b29c7 Add support for header 2016-02-29 08:19:48 +09:00
Alexandre Mutel
f473c98f23 Take into account max column for tables. REname TableInlineParser to PipeTableInlineParser 2016-02-29 07:35:37 +09:00
Alexandre Mutel
2312103dc8 Improve support for table with delimiter less first column 2016-02-29 00:14:42 +09:00
Alexandre Mutel
758470a25e First prototype for table parsing 2016-02-28 23:16:00 +09:00
Alexandre Mutel
2561a8f624 Fix line offsets 2016-02-28 21:23:40 +09:00
Alexandre Mutel
36d2e7693e Make accessible line information to InlineParsers 2016-02-28 21:17:07 +09:00
Alexandre Mutel
4e78bc821d Improve parser model to support pluggable inline parser delimiter 2016-02-28 20:47:11 +09:00
Alexandre Mutel
72cdb18fc4 Add better infrastructure for the parsers 2016-02-28 21:05:40 +09:00
Alexandre Mutel
305901e9ff Add struct StringLine to allow to pass line information to inlines 2016-02-28 20:47:55 +09:00
Alexandre Mutel
6b358b8993 Remove inlineParser.Default and use constructors instead 2016-02-28 05:59:27 +09:00
Alexandre Mutel
4ebbb0af5e Add other packages for benchmarks 2016-02-27 23:26:57 +09:00
Alexandre Mutel
761eb5f6ae Move MethodImplOptionPortable 2016-02-27 23:22:05 +09:00
Alexandre Mutel
38f0cc738a Make init of parsers outside state constructors 2016-02-27 23:11:33 +09:00
Alexandre Mutel
e1cf980b3a Small optim in HtmlHelper 2016-02-27 23:08:57 +09:00
Alexandre Mutel
265000111d Remove usage of ResetToPosition and replace by ResetToColumn 2016-02-27 22:13:11 +09:00
Alexandre Mutel
5c845b6e78 Rename CodeBlock to IndentedCodeBlock. Fix issue with tabs and spacing. 647 passed!!! \o/ 2016-02-27 21:47:18 +09:00
Alexandre Mutel
72ca3f038b Small fix for FencedCodeBlockParser 2016-02-27 02:01:56 +09:00
Alexandre Mutel
418776479d Fix handling nested image links 2016-02-27 01:38:08 +09:00
Alexandre Mutel
37e3b8d8ca Fix List and ListItem (632 tests passed) 2016-02-27 00:59:51 +09:00
Alexandre Mutel
340f47d0b4 Fix rendering of img alt 2016-02-27 00:43:17 +09:00
Alexandre Mutel
4b685229f1 Improve performance by using StringSlice instead of making Substrings 2016-02-27 00:33:22 +09:00
Alexandre Mutel
5da5bd9fa8 Fix many issues related to parsing 2016-02-27 00:13:01 +09:00
Alexandre Mutel
9a67143f39 Fix thematic breaker with list 2016-02-26 22:06:59 +09:00
Alexandre Mutel
56f45eb3e0 Fix LiteralInlineParser to make it non instantiable 2016-02-26 21:19:44 +09:00
Alexandre Mutel
fff950e459 Improve performance by modifying StringSliceList and always creating a Literalinline instead of a StringBuilder + LiteralInline 2016-02-26 21:11:54 +09:00
Alexandre Mutel
059feda460 Fix regression 2016-02-26 21:07:44 +09:00
Alexandre Mutel
aa5bae2d5d Improve performance and regressions 2016-02-26 20:42:28 +09:00
Alexandre Mutel
3da2ea0903 Fix many regressions 2016-02-26 07:35:49 +09:00
Alexandre Mutel
f06ad15842 Remove usage of EscapeInsecure 2016-02-26 07:08:05 +09:00
Alexandre Mutel
3f7d7927ee Change tests for inlines 2016-02-26 00:44:59 +09:00
Alexandre Mutel
cffbf06682 Fix various issues with new system 2016-02-26 00:39:07 +09:00
Alexandre Mutel
daa09f6cd2 Rewrite BlockParser, simplfy code. 2016-02-25 22:10:52 +09:00
Alexandre Mutel
0976c03dcf Temp work 2016-02-25 20:30:37 +09:00
Alexandre Mutel
4e9aad9fa9 Add prototype for new parser 2016-02-25 05:04:22 +09:00
Alexandre Mutel
8998b1fae5 Try to improve performance (test with prototype for Task//) 2016-02-24 20:53:36 +09:00