Scripting languages are great for whipping up scripts that work with text, extract information, render it in some format, or manipulate it in other useful ways. In this chapter, we see how to extract information, identify differences between files, and render static pages to HTML. We will see many basic Raku techniques, as well as be introduced to useful modules in the ecosystem.
Recipe 10-1. Scrape Markdown Documents
Problem
You need to extract information from a markdown document, extracting only the headers, for instance, or certain information you can identify by position or content.
Solution
Regular