Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 19, 2024 via composer

michelf/php-markdown 2.0.0

PHP Markdown
Package summary
Share
0
issues
1
license
1
BSD-3-Clause
Package created
13 Jan 2013
Version published
26 Sep 2022
Maintainers
1
Total deps
1
Direct deps
0
License
BSD-3-Clause

Issues

0
This package has no issues

Licenses

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
michelf/php-markdown@2.0.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
ⓘ This is a list of michelf/php-markdown 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does michelf/php-markdown do?

The PHP library package michelf/php-markdown is a utility for web writers. It facilitates the conversion of easy-to-read and write plain text content into structurally valid XHTML or HTML. This package encompasses two primary components; the PHP Markdown parser and PHP Markdown Extra which embodies additional features. It is a PHP replica of the original Markdown program authored in Perl by John Gruber.

How do you use michelf/php-markdown?

To effectively utilize the michelf/php-markdown, you can install it using Composer with the command $ composer require michelf/php-markdown. Once installed, enable autoloading by including the Composer's generated vendor file vendor/autoload.php. With the class autoloading in place, you can use PHP Markdown and PHP Markdown Extra in your project like in the examples below:

For PHP Markdown:

use Michelf\Markdown;
$my_html = Markdown::defaultTransform($my_text);

For PHP Markdown Extra:

use Michelf\MarkdownExtra;
$my_html = MarkdownExtra::defaultTransform($my_text);

In case autoloading is not available, the parser can still be accessed by including the Michelf/Markdown.inc.php or Michelf/MarkdownExtra.inc.php.

Where are the michelf/php-markdown docs?

The complete documentation of the michelf/php-markdown, including the PHP Markdown syntax and Markdown Extra additions, are hosted by their respective authors; John Gruber and Michel Fortin. The documentation for the Markdown syntax can be accessed at John Gruber’s Daring Fireball while the Markdown Extra syntax additions are available on Michel Fortin's website. For additional details about parser configuration, refer to the project’s configuration section.