Ciconia / A New Markdown Parser for #PHP

class HorizontalRuleExtension implements ExtensionInterface, RendererAwareInterface

Converts horizontal rules

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

processHorizontalRule(Text $text)
getName()

Returns the name of the extension

Details

at line 29 public void register(Markdown $markdown)

Adds listeners to EventEmitter

Parameters

Markdown $markdown

Return Value

void

at line 37 public processHorizontalRule(Text $text)

Parameters

Text $text

at line 52 public getName()

Returns the name of the extension