This is a simple static site generator that I wrote in Python to practise Functional programming in Python.
It generates a static site from Markdown files. Keeping the directory structure of the content directory.
- Assets are copied from the
/staticdirectory to a/publicdirectory. - Html files are generated in a
/publicdirectory from the Markdown files in /content directory
To run the project, you can use the following command:
./main.shTo run the tests:
./test.shEach markdown file MUST have a h1 heading and the following Markdown syntax is accepted in the content files:
- headings
- bold
- italic
- code and code blocks
- quotes
- Links
- Images