Download the PHP package kaoken/laravel-markdown-it without Composer
On this page you can find all versions of the php package kaoken/laravel-markdown-it. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kaoken/laravel-markdown-it
More information about kaoken/laravel-markdown-it
Files in kaoken/laravel-markdown-it
Package laravel-markdown-it
Short Description A thing for using PHP version markdown-it in Laravel 6.x.
License MIT
Informations about the package laravel-markdown-it
laravel-markdown-it
This target Laravel 6.0 and higher, making PHP version markdown-it easy to use with Laravel.
Table of content
- Install
- Setting
- Syntax extensions
- References / Thanks
- License
Install
composer:
Add to composer.json
as follows
Then update!
Setting
Add to config\app.php
as follows:
artisan command
By executing the above command, markdownit.php
is created in theconfig
directory.
Options and rules configuration file
All options and rules are enabled by default. This is equivalent to hoge ['options_rules_group'] ['default']
in config \ markdownit.php
below.
For a description of the options ("options "
) and rules ("enable "
, "disable "
), see the comments for each parameter of hoge ['options_rules_group'] ['default']
.
If you want to add new options and rules, rewrite the contents of 'example'
by removing the comments belowAdd options and rules
in the comments below.
Simpl
Single line rendering, without paragraph wrap:
Linkify
linkify: true
Set linkify-it to access the linkify instance.
References / Thanks
Thanks to the authors of the original implementation in Javascript, markdown-it:
- Alex Kocharin github/rlidwka
- Vitaly Puzrin github/puzrin
and to John MacFarlane for his work on the CommonMark spec and reference implementations.
Related Links:
- https://github.com/jgm/CommonMark - reference CommonMark implementations in C & JS, also contains latest spec & online demo.
- http://talk.commonmark.org - CommonMark forum, good place to collaborate developers' efforts.
License
All versions of laravel-markdown-it with dependencies
laravel/framework Version 6.0.*|6.2.*|6.4.*|6.8.*|6.12.*
kaoken/markdown-it-php Version 10.*