PHP Classes

File: test/sample/code.md

Recommend this page to a friend!
  Classes of Manuel Lemos   PHP Markdown Parser   test/sample/code.md   Download  
File: test/sample/code.md
Role: Auxiliary data
Content type: text/plain
Description: Code markdown sample
Class: PHP Markdown Parser
Parse Markdown documents and generate HTML tags
Author: By
Last change: Added test case with two sets of spaces and tabs.
Fixed the sentence of the tabs.
Date: 7 years ago
Size: 1,221 bytes
 

Contents

Class file image Download
Well `this` is in ` code ` style. echo "This is code indented with spaces!"; echo "This is code indented with a tab!"; echo "This is code indented with 2 sets of spaces!"; echo "This is code indented with 2 tabs!"; With backticks: ``` < > ``` With tildes: ~~~ < > ~~~ Tildes within backticks: ``` aaa ~~~ ``` Backticks within tildes: ~~~ aaa ``` ~~~ Longer backticks closing fence: ```` aaa ``` `````` Longer tildes closing fence: ~~~~ aaa ~~~ ~~~~ Empty code lines: ``` ``` ``` ``` Indented fences: ``` aaa aaa ``` ``` aaa aaa aaa ``` ``` aaa aaa aaa ``` Indented code block: ``` aaa ``` Indented close fence: ``` aaa ``` ``` aaa ``` Indented fence inside a code block: ``` aaa ``` ``` Fences with internal spaces: ``` ``` aaa ~~~~~~ aaa ~~~ ~~ ~~~~~~ Code fences interrupting paragraphs: foo ``` bar ``` baz foo --- ~~~ bar ~~~ # baz Code fences with language name: ```ruby def foo(x) return 3 end ``` ~~~~ ruby startline=3 $%@#$ def foo(x) return 3 end ~~~~~~~ ````; ```` Code fences with backticks in information strings: ``` aa ``` foo Closing fences without information strings: ``` ``` aaa ```