From 37efb3cbda76d43794aa33703ebf67d0224df412 Mon Sep 17 00:00:00 2001 From: Jan Minar Date: Sun, 2 Jun 2013 19:06:13 +0200 Subject: [PATCH] Update Readme to display well on Github When a code span contains backticks, GitHub Flavoured Markdown[1] would not parse it properly unless the surrounding backticks are doubled, or even tripled. Example: Bad : (1) ` `a` ` (2) ` ``b'' ` Good: (1) `` `a` `` (2) ``` ``b'' ''' [1]: https://help.github.com/articles/github-flavored-markdown --- PHP SmartyPants Readme.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PHP SmartyPants Readme.txt b/PHP SmartyPants Readme.txt index 87d37b1..b7b4b79 100644 --- a/PHP SmartyPants Readme.txt +++ b/PHP SmartyPants Readme.txt @@ -24,7 +24,7 @@ SmartyPants can also be invoked as a standalone PHP function. SmartyPants can perform the following transformations: * Straight quotes (`"` and `'`) into "curly" quote HTML entities -* Backtick-style quotes (` ``like this'' `) into "curly" quote HTML +* Backtick-style quotes (``` ``like this'' ```) into "curly" quote HTML entities * Dashes (`--` and `---`) into en- and em-dash entities * Three consecutive dots (`...`) into an ellipsis entity @@ -199,10 +199,10 @@ Or inside a Smarty template: Educates normal quote characters: (`"`) and (`'`). "b" - Educates ` ``backticks'' ` double quotes. + Educates ``` ``backticks'' ``` double quotes. "B" - Educates backticks-style double quotes and ` `single' ` quotes. + Educates backticks-style double quotes and `` `single' `` quotes. "d" Educates em-dashes.