Fat-Free Framework
3.1.0 API Reference
|
Public Member Functions |
Public Attributes |
Protected Member Functions |
Protected Attributes |
List of all members
Markdown Class Reference
Markdown-to-HTML converter. More...
Inheritance diagram for Markdown:
Public Member Functions | |
esc ($str) | |
scan ($str) | |
convert ($txt) | |
Public Attributes | |
$special | |
Special characters. | |
Protected Member Functions | |
_blockquote ($str) | |
_pre ($str) | |
_fence ($hint, $str) | |
_hr () | |
_atx ($type, $str) | |
_setext ($str, $type) | |
_li ($str) | |
_raw ($str) | |
_p ($str) | |
_text ($str) | |
_img ($str) | |
_a ($str) | |
_auto ($str) | |
_code ($str) | |
snip ($str) | |
build ($str) | |
Protected Attributes | |
$blocks | |
Parsing rules. | |
Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
static | instance () |
Detailed Description
Markdown-to-HTML converter.
Member Function Documentation
|
protected |
Process anchor span
- Returns
- string
- Parameters
-
$str string
|
protected |
Process atx-style heading
- Returns
- string
- Parameters
-
$type string $str string
|
protected |
Auto-convert links
- Returns
- string
- Parameters
-
$str string
|
protected |
Process blockquote
- Returns
- string
- Parameters
-
$str string
|
protected |
Process code span
- Returns
- string
- Parameters
-
$str string
|
protected |
Process fenced code block
- Returns
- string
- Parameters
-
$hint string $str string
|
protected |
Process horizontal rule
- Returns
- string
|
protected |
Process image span
- Returns
- string
- Parameters
-
$str string
|
protected |
Process ordered/unordered list
- Returns
- string
- Parameters
-
$str string
|
protected |
Process paragraph
- Returns
- string
- Parameters
-
$str string
|
protected |
Process whitespace-prefixed code block
- Returns
- string
- Parameters
-
$str string
|
protected |
Ignore raw HTML
- Returns
- string
- Parameters
-
$str string
|
protected |
Process setext-style heading
- Returns
- string
- Parameters
-
$str string $type string
|
protected |
Process strong/em/strikethrough spans
- Returns
- string
- Parameters
-
$str string
|
protected |
Assemble blocks
- Returns
- string
- Parameters
-
$str string
Markdown::convert | ( | $txt) |
Render HTML equivalent of markdown
- Returns
- string
- Parameters
-
$txt string
Markdown::esc | ( | $str) |
Convert characters to HTML entities
- Returns
- string
- Parameters
-
$str string
Markdown::scan | ( | $str) |
Scan line for convertible spans
- Returns
- string
- Parameters
-
$str string
|
protected |
Reduce multiple line feeds
- Returns
- string
- Parameters
-
$str string
The documentation for this class was generated from the following file:
- markdown.php
Generated on Mon Aug 19 2013 21:27:49 for Fat-Free Framework by 1.8.4