php教程

简介

This extension provides access to the reference implementation of CommonMark, a rationalized version of Markdown syntax with a specification.

Parsing:

The CommonMark extension provides a simple parsing API:

CommonMark\Parse ( string $content [, int $options ] ) : CommonMark\Node

Rendering:

The CommonMark extension provides simple rendering API that supports multiple formats:

CommonMark\Render ( CommonMark\Node $node [, int $options [, int $width ]] ) : string
CommonMark\Render\HTML ( CommonMark\Node $node [, int $options ] ) : string
CommonMark\Render\XML ( CommonMark\Node $node [, int $options ] ) : string
CommonMark\Render\Man ( CommonMark\Node $node [, int $options [, int $width ]] ) : string
CommonMark\Render\Latex ( CommonMark\Node $node [, int $options [, int $width ]] ) : string

AST:

The CommonMark extension implements visitation for CommonMark\Node objects:

public CommonMark\Node::accept ( CommonMark\Interfaces\IVisitor $visitor ) : void

CQL:

The CommonMark extension provides an interface to CQL, CommonMark Query Language:

public CommonMark\CQL::__construct ( string $query )

User Contributed Notes

There are no user contributed notes for this page.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788