Assignment #08: a Markdown writer¶
markdown is a lightweight mark-up language which is widely used to write simplified files which are then converted to HTML with an external tool (in fact, this is exactly what the Jupyter Notebook is doing). The HTML template from last week’s assignment can be simplified in markdown to:
# A large title
## A smaller title
A paragraph with more or less text. Rather less.

## Another smaller title
Another paragraph with more or less text. It depends on your mood.
Write a MarkdownFile
class which works much like the HTMLFile
class from last week. Both classes must inherit from a FileWriter
class, which must take care of the file handling logic common to both classes.
Back to the table of contents.