poldixd/markdown-helper

Reads a markdown file and returned the formated HTML.

0.1.0 2017-05-03 12:54 UTC

This package is auto-updated.

Last update: 2024-11-14 19:11:39 UTC


README

build status coverage report

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