Whilst migrating another site there was a requirement for converting RTF files containing lots of code examples into Markdown. The version of Markdown shipped with Stacey 3.0.0 CMS appears to be incapable of handling large code blocks.

There are two versions of Markdown available from Michel Fortin's site, Classic and Latest. To minimise the hosting requirements for the site being migrated the Classic release was chosen which appears to handle large code blocks with ease.

To update the version of the Markdown parser within Stacey simply copy the 'Classic' markdown-parser-inc.php file to the /app/parsers folder.

 November 20, 2015


Add a comment