I’ve more or less finished the first version (v1.0) of my first open-source, PHP side project. It’s called Singularity and it’s a flatfile CMS that processes MultiMarkdown contained in a single PHP file.
It uses strapdown.js to process Markdown fed to it by PHP. All of the URL magic is done with an Apache .htaccess file and PHP. It is capable of handling any file type, and I included a variety of preferences, including filetype, to allow for more convenient adaptation and implementation:
define('CONTENT_DIR', ROOT_DIR .'content/'); //change this to change which folder you want your content to be stored in $bootswatch_theme = "cerulean"; //choose any bootstrap theme included in strapdown.js! $file_format = ".txt"; //change this to choose a file type, be sure to include the period
It’s an extremely simple solution for those who are looking to easily turn Markdown files into a website.