diff options
Diffstat (limited to 'src/asciideck_to_html.erl')
-rw-r--r-- | src/asciideck_to_html.erl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/asciideck_to_html.erl b/src/asciideck_to_html.erl index b33150f..5dce089 100644 --- a/src/asciideck_to_html.erl +++ b/src/asciideck_to_html.erl @@ -71,6 +71,7 @@ ast_node(Node={Type, _, _, _}) -> section_title -> section_title(Node); paragraph -> paragraph(Node); listing_block -> listing_block(Node); + passthrough_block -> passthrough_block(Node); list -> list(Node); table -> table(Node); block_macro -> block_macro(Node); @@ -137,6 +138,11 @@ listing_block({listing_block, Attrs, Listing0, _}) -> "</div></div>\n" ]. +%% Passthrough blocks. + +passthrough_block({passthrough_block, _, HTML, _}) -> + HTML. + %% Lists. list({list, #{type := bulleted}, Items, _}) -> |