Skip to content

albertoroldanq/static-site-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Tests Action Status GitHub GitHub GitHub

Static Site Generator

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 /static directory to a /public directory.
  • Html files are generated in a /public directory from the Markdown files in /content directory

To run the project, you can use the following command:

./main.sh

To run the tests:

./test.sh

Markdown syntax accepted

Each 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

About

Generates html from markdown content - Project to practise Functional Programming in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages