Ciconia / A New Markdown Parser for #PHP

class HeaderExtension implements ExtensionInterface, RendererAwareInterface

Converts text to

Original source code from Markdown.pl

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

Methods

void register(Markdown $markdown)

Adds listeners to EventEmitter

processSetExtHeader(Text $text)
processAtxHeader(Text $text)
getName()

Returns the name of the extension

Details

at line 34 public void register(Markdown $markdown)

Adds listeners to EventEmitter

Parameters

Markdown $markdown

Return Value

void

at line 45 public processSetExtHeader(Text $text)

Parameters

Text $text

at line 60 public processAtxHeader(Text $text)

Parameters

Text $text

at line 82 public getName()

Returns the name of the extension