From 42f512133535ddd3b542abecc5c96f8a0da6764b Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 17 Jan 2017 20:44:31 +0100 Subject: Update markdown syntax to use pandoc's peculiarities --- source/00_content/pages/projects/codepoint_iterator.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source/00_content/pages/projects/codepoint_iterator.md') diff --git a/source/00_content/pages/projects/codepoint_iterator.md b/source/00_content/pages/projects/codepoint_iterator.md index 6da24ea..4ba929c 100644 --- a/source/00_content/pages/projects/codepoint_iterator.md +++ b/source/00_content/pages/projects/codepoint_iterator.md @@ -18,7 +18,7 @@ For readers versed in German a [blog article] describing the implementation in a While all features of this class are demonstrated by Google-Test based [Unit-Tests] we can see a basic `UTF8::CodepointIterator` usage example in the following code snippet. The [example text] is written in Old Norse runes. -~~~ +```cpp std::string test(u8"ᛖᚴ ᚷᛖᛏ ᛖᛏᛁ ᚧ ᚷᛚᛖᚱ ᛘᚾ ᚦᛖᛋᛋ ᚨᚧ ᚡᛖ ᚱᚧᚨ ᛋᚨᚱ"); for ( UTF8::CodepointIterator iter(test.cbegin()); @@ -26,8 +26,7 @@ for ( UTF8::CodepointIterator iter(test.cbegin()); ++iter ) { std::wcout << static_cast(*iter); } -~~~ -{: .language-cpp} +``` [Github]: https://github.com/KnairdA/CodepointIterator [cgit]: http://code.kummerlaender.eu/CodepointIterator/ -- cgit v1.2.3