# laravel-parsehtml **Repository Path**: yansongda/laravel-parsehtml ## Basic Information - **Project Name**: laravel-parsehtml - **Description**: Convert Html To Markdown With Laravel - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-09-05 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

Laravel-Parsehtml

Scrutinizer Code Quality Build Status Latest Stable Version Total Downloads Latest Unstable Version License

This Package depends on [league/html-to-markdown](https://github.com/thephpleague/html-to-markdown) ## Installation ```shell $ composer require yansongda/laravel-parsehtml ``` ### Add service provider ```php Yansongda\LaravelParsehtml\Facades\Parsehtml::class, ``` ### Config(OPTION) ```shell $ php artisan vendor:publish --provider="Yansongda\\LaravelParsedown\\ParsehtmlServiceProvider" --tag=config ``` | config | desc | | :----------: | :------------------------: | | strip_tags | strip HTML tags that don't have a Markdown equivalent | | remove_nodes | strip tags and their content | | italic_style | | | bold_style | | | hard_break | | | header_style | atx/etx | Reference: [league/html-to-markdown](https://github.com/thephpleague/html-to-markdown) ## Usage ### Using blade ```php blablabla'); ``` ### Using Helper ```php blablabla') }} ``` ## License MIT