Ciconia / A New Markdown Parser for #PHP

class HtmlBlockExtension implements ExtensionInterface

Hashes HTML text

Original source code from Markdown.pl and PHP Markdown

Copyright (c) 2004 John Gruber http://daringfireball.net/projects/markdown/

PHP Markdown Lib Copyright (c) 2004-2013 Michel Fortin http://michelf.ca/

Methods

void register(Markdown $markdown)

Adds listeners to EventEmitter

hashHtmlBlocks(Text $text, array $options = array())
unhashHtmlBlocks(Text $text)
getName()

Returns the name of the extension

Details

at line 43 public void register(Markdown $markdown)

Adds listeners to EventEmitter

Parameters

Markdown $markdown

Return Value

void

at line 56 public hashHtmlBlocks(Text $text, array $options = array())

Parameters

Text $text
array $options

at line 141 public unhashHtmlBlocks(Text $text)

Parameters

Text $text

at line 151 public getName()

Returns the name of the extension