Module content

Module content 

Source
Expand description

Content extraction for halldyll-parser

This module handles extraction of structured content:

  • Headings (h1-h6)
  • Paragraphs
  • Lists (ordered, unordered, definition)
  • Tables
  • Code blocks
  • Blockquotes
  • Images

Structs§

OutlineItem
Document outline item

Functions§

build_outline
Build document outline from headings
extract_code_blocks
Extract all code blocks from the document
extract_headings
Extract all headings from the document
extract_images
Extract all images from the document
extract_lists
Extract all lists from the document
extract_paragraphs
Extract all paragraphs from the document
extract_quotes
Extract all blockquotes from the document
extract_tables
Extract all tables from the document
get_main_heading
Get the main heading (first h1)