2c98907303
Update namespace
2022-01-06 18:49:55 +01:00
Cameron Moore
646308596a
Run tests in parallel ( #480 )
...
Fixes #475
2018-09-08 00:47:14 +03:00
Vytautas Šaltenis
e81d1d1138
Change the public interface to use functional options
...
Convert the most important Blackfriday's function, Markdown(), to accept
functional options (as per this Dave Cheney's post:
https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis )
2017-02-02 16:57:25 +02:00
Vytautas Šaltenis
3fe4ad2966
Enable common extensions for benchmark
...
Also, reset the timer after loading test data.
2016-07-30 21:40:13 +03:00
Vytautas Šaltenis
c61b63f42c
Repeat a run of reference tests under benchmark
...
Will help with optimizing later on.
2016-07-29 18:56:08 +03:00
Vytautas Šaltenis
15e052e478
Move all testing helper funcs in one place
...
Moved verbatim except for uncommented panic recovery section in the
doTestsInlineParam function.
2016-04-04 12:04:20 +03:00
Vytautas Šaltenis
0b69796248
Go style: more Html -> HTML renames
2016-04-01 15:37:21 +03:00
Vytautas Šaltenis
a55b2615a4
Run Smartypants as a separate pass over the AST
...
Separate Smartypants somewhat from the HTML renderer. Move its flags
from HtmlFlags to Extensions (probably should be moved to its own set of
flags, but not now). With that done, do a separate walk of the tree and
either run Smartypants processor if it's enabled, or simply escape text
nodes.
2016-04-01 10:44:22 +03:00
Vytautas Šaltenis
ee98bc0bf4
Massive replacement of C_STYLE flags to typed ones
2015-11-10 21:08:32 +02:00
Dmitry Chestnykh
29c5b49e95
Rename upskirtref to testdata; upskirtref_test.go to ref_test.go.
2015-03-24 06:28:49 +01:00