md_blocks.pl -- Block-level parser for Markdown | ||
---|---|---|
md_blocks/3 | Parses given Markdown into a structure accepted by html//1. | |
md_escape.pl -- Markdown slash-escaped sequences | ||
md_escaped_code/1 | List of possibly escaped symbols. | |
md_escaped_code/3 | Recognizes single code that could have been escaped. | |
md_escaped_string/3 | Recognizes string with escapes inside it. | |
md_header.pl -- Markdown header parser. | ||
md_header/3 | Recognizes either setext or atx-styled headings. | |
md_hr.pl -- Parser for Markdown horizontal rulers | ||
md_hr/2 | Recognizes an horizontal ruler. | |
md_lookahead_hr/2 | Looks ahead an horizontal ruler. | |
md_line.pl -- Line-based parsing primitives. | ||
discard_to_line_end/2 | Discards zero or more symbol codes untill the first line end or eos is reached. | |
empty_line/2 | Recognizes a single empty line. | |
empty_lines/2 | List of consequtive empty lines. | |
indent/2 | Recognizes normal indent which is a tab or 4 spaces. | |
inline_string/3 | Takes as few symbol codes as possible up to line end. | |
ln/2 | Recognizes line ending. | |
ln_or_eos/2 | Recognizes either a line end or eos. | |
lookahead/3 | Looks ahead a single symbol code. | |
lookahead_ln/2 | Looks ahead a line end. | |
lookahead_ln_or_eos/2 | Looks ahead a line end or end-of-stream. | |
merge_lines/2 | Merges list of lines into a flat code list. | |
non_empty_line/3 | Single non-empty line ending with newline or end-of-stream. | |
string_limit/4 | Same as string//1 but with a length limit. | |
md_links.pl -- Markdown reference link parser | ||
md_link/3 | Retrieves recorded link from the last invocation of md_links/2. | |
md_links/2 | Same as md_links/3 but stores links in threadlocal predicate which is cleared on each invocation of this predicate. | |
md_links/3 | Markdown reference link definition parser. | |
md_list_item.pl -- List item parser | ||
md_bullet_list_item/4 | Recognizes a single bulleted list item. | |
md_ordered_list_item/4 | Recognizes a single ordered list item. | |
md_parse.pl | ||
md_html_codes/2 | Converts Markdown into HTML string. | |
md_html_file/2 | Same as md_html_codes/2 but reads input from file. | |
md_html_stream/2 | Same as md_html_codes/2 but reads input from stream. | |
md_html_string/2 | Same as md_html_codes/2 but takes input as string. | |
md_parse_codes/2 | Parses Markdown into a structure suitable in use with html//1. | |
md_parse_file/2 | Same as md_parse_codes/2 but reads input from file. | |
md_parse_stream/2 | Same as md_parse_codes/2 but reads input from stream. | |
md_parse_string/2 | Same as md_parse_codes/2 but takes a string instead. | |
md_span.pl -- Span-level Markdown parser | ||
md_span_codes/2 | Turns the list of codes into a structure acceptable by SWI-Prolog's html//1 predicate. | |
md_span_string/2 | Same as md_span_codes/2 but uses a string ans input. | |
md_span_decorate.pl -- Parser for span-level styles | ||
md_span_decorate/4 | Recognizes style formatting in the middle of span text. | |
md_span_link.pl -- Markdown span-level link parsing | ||
md_span_link/3 | Recognizes different types of links from the stream of symbol codes. | |
md_trim.pl -- Code list whitespace trimming | ||
trim/2 | Trims whitespace from both sides of the list of codes. | |
trim_left/2 | Trims whitespaces from the beginning of the list of codes. | |
trim_right/2 | Trims whitespace from the end of the list of codes. |