The Startup
Published in

The Startup

A Static Site Generator in Python — Part 2

Converting individual markdown pages to html.

In a previous article we looked at what static sites are, and how they work.

Now we will look at how to convert a single markdown file into an HTML file.

The conversion process

This diagram from the previous article shows the basic process for converting a set of markdown files into the required HTML files for a complete website:




Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +756K followers.

Recommended from Medium

Managing Versions and Virtual Environments in Python

#100DaysofAWS | Day 32| Amazon Athena

Calling all Variables (or can you?)

How to remove Git remote committed files

🎉🎉🎉This is more exciting #WSGARMY!

K8S installation on local windows machine

JIRA workflow Automation

Deploy Apache Web Server on the Top of Docker Using Ansible

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Martin McBride

Martin McBride

Software developer. Java, Python, C++ etc. I write for and maintain the generativepy library.

More from Medium

Working with docker context

Docker: Zero to Hero with Linux Example

What is a (Python) Package, Anyway?

Intro to Asynchronous Python with Asyncio