poldixd / markdown-helper
Reads a markdown file and returned the formated HTML.
0.1.0
2017-05-03 12:54 UTC
Requires
- php: >=5.6.4
- erusev/parsedown-extra: ^0.7.1
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2024-11-14 19:11:39 UTC
README
Markdown Helper
Reads a markdown file and returned the formated HTML. This package uses erusev/parsedown-extra.
Usage
return markdown_helper('path/to/file.md');
Of course you can use the helper in a blade template, too. It's necessary to use the {!! !!}
because erusev/parsedown-extra returns HTML.
{!! markdown_helper('path/to/file.md') !!}
License
SimpleThumbnailer is licensed under the MIT License.
Copyright 2017 Nils Poltmann