Ciconia / A New Markdown Parser for #PHP

class CodeExtension implements ExtensionInterface, RendererAwareInterface

Converts block and line code

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

processCodeBlock(Text $text, array $options = array())
processCodeSpan(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 46 public processCodeBlock(Text $text, array $options = array())

Parameters

Text $text
array $options

at line 72 public processCodeSpan(Text $text)

Parameters

Text $text

at line 99 public getName()

Returns the name of the extension