Krinkle has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/284113

Change subject: readme: Use <pre> for source code to unbreak doxygen
......................................................................

readme: Use <pre> for source code to unbreak doxygen

Current syntax is GitHub-specific and breaks output at
<https://doc.wikimedia.org/HtmlFormatter/>

Also add lang="php" for syntax highlighting (on GitHub).

Change-Id: I8de2294e15e10090972f8018062725d349bda636
---
M README.md
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/HtmlFormatter 
refs/changes/13/284113/1

diff --git a/README.md b/README.md
index f6e2e1b..ae27359 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
 Usage
 -----
 
-```
+<pre lang="php">
 use HtmlFormatter\HtmlFormatter;
 // Load HTML that already has doctype and stuff
 $formatter = new HtmlFormatter( $html );
@@ -30,7 +30,7 @@
 
 // Get resulting HTML
 $processedHtml = $formatter->getText();
-```
+</pre>
 
 License
 -------

-- 
To view, visit https://gerrit.wikimedia.org/r/284113
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8de2294e15e10090972f8018062725d349bda636
Gerrit-PatchSet: 1
Gerrit-Project: HtmlFormatter
Gerrit-Branch: master
Gerrit-Owner: Krinkle <krinklem...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to