vudaltsov / markdowncache
This package is abandoned and no longer maintained.
No replacement package was suggested.
A simple tool for caching markdown files
v0.1.1
2016-01-30 22:21 UTC
Requires
- erusev/parsedown: ^1.6
This package is not auto-updated.
Last update: 2022-02-01 12:55:16 UTC
README
This tool parses your markdown files using Parsedown and stores html versions in a specified location.
Installation
$ composer require vudaltsov/markdowncache
Usage
$mc = new MarkdownCache('path/to/cache/dir'); echo $mc->getHtml('path/to/file.md'); // or include $mc->getPath('path/to/file.md'); // or $mc->render('path/to/file.md');