Refactor extraction and generation
For better handling of:
- Numbered lists (https://okular.kde.org/build-it/)
- Setext headers (https://www.plasma-mobile.org/faq/)
- Multiline list items
- Quotation marks inside shortcode arguments
- Shortcodes inside list items and headings