Package Data | |
---|---|
Maintainer Username: | KaneCohen |
Maintainer Contact: | kanecohen@gmail.com (Kane Cohen) |
Package Create Date: | 2013-09-07 |
Package Last Update: | 2015-02-05 |
Language: | PHP |
License: | BSD-3-Clause |
Last Refreshed: | 2024-12-18 03:03:17 |
Package Statistics | |
---|---|
Total Downloads: | 8,999 |
Monthly Downloads: | 267 |
Daily Downloads: | 11 |
Total Stars: | 5 |
Total Watchers: | 3 |
Total Forks: | 2 |
Total Open Issues: | 0 |
This is not a canonical Markdown version. This variant contains several differences:
<br />
tag - just like in Github Markdown.<s>
tag usually used
to add line-through or strike-through styling.<del>
tag wrapping.Add following require to your composer.json
file:
// For Laravel 4.1.x+
"cohensive/markdown": "dev-master"
// OR for Laravel 4.0.x
"cohensive/markdown": "4.0.0"
Then run composer install
or composer update
to download it and autoload.
In providers
array you need to add new package:
'providers' => array(
//...
'Cohensive\Markdown\MarkdownServiceProvider',
//...
)
In aliases:
'aliases' => array(
//...
'Markdown' => 'Cohensive\Markdown\Facades\Markdown'
//...
)
And after all that, we need to add config file, containing several options for Markdown.
php artisan config:publish cohensive/markdown
Markdown::transform('Hello **World**');
This package won't be supporting Laravel 5 version. Use CommonMark.