Gluing things together
In this chapter, we are going to glue the pieces we built together and build an actual blog generator. We will:
- Read markup text from a file
- Parse the text to a
Document
- Convert the result to our
Html
EDSL - Generate HTML code
- Write it to a file
While doing so, we will learn:
- How to work with IO
- How to import external libraries to process whole directories and create a simple command-line interface