Krinkle has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/349724 )
Change subject: readme: Fix <pre> for compat with Doxygen Markdown ...................................................................... readme: Fix <pre> for compat with Doxygen Markdown The tripple-backtick syntax works for GitHub only. Using PRE with lang="" attribute work in both GitHub, GitBlit and Doxygen. Change-Id: Id605edb197471811013c34de3ca49e13ea7e1ee7 --- M README.md 1 file changed, 2 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/AhoCorasick refs/changes/24/349724/1 diff --git a/README.md b/README.md index 0679d10..39258c1 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Here is how you use it: -```php +<pre lang="php"> use AhoCorasick\MultiStringMatcher; $keywords = new MultiStringMatcher( array( 'ore', 'hell' ) ); @@ -17,8 +17,7 @@ $keywords->searchIn( 'Say hello to more text. MultiStringMatcher objects are reusable!' ); // Result: array( array( 4, 'hell' ), array( 14, 'ore' ) ) - -``` +</pre> Features @@ -49,7 +48,6 @@ ------- The project is licensed under the Apache license. - [1]: https://en.wikipedia.org/wiki/Aho%E2%80%93Corasick_string_matching_algorithm -- To view, visit https://gerrit.wikimedia.org/r/349724 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id605edb197471811013c34de3ca49e13ea7e1ee7 Gerrit-PatchSet: 1 Gerrit-Project: AhoCorasick 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