0 | ||| This is the main module of the Markdown library.
1 | |||
2 | ||| It is probably the only one you will need to import with its main three
3 | ||| functions `toHtml`, `parse` and `parse_either` further described below.
17 | ||| Parses a Markdown string with a possibility of failure.
18 | |||
19 | ||| This function is intended for debugging as "normally" the parser shouldn't
20 | ||| fail. If this happens, run this function and kindly report the issue with
21 | ||| a minimal example.
22 | export
26 | ||| Parses a Markdown string.
27 | |||
28 | ||| In case of failure of the parser (which shouldn't happen!) returns an empty
29 | ||| markdown.
30 | |||
31 | ||| If a failure would happen, this is a bug. Kindly report it with a minimal
32 | ||| example using `parse_either`.
33 | export
40 | ||| Converts a markdown string to a HTML string.
41 | export
42 | covering