This is an example post with some pseudo code rendered by pseudocode. The example presented here is the same as the one in the pseudocode.js documentation, with only one simple but important change: everytime you would use $
, you should use $$
instead. Also, note that the pseudocode
key in the …
Other articles
a post with code diff
You can display diff code by using the regular markdown syntax:
```diff diff --git a/sample.js b/sample.js index 0000001..0ddf2ba --- a/sample.js +++ b/sample.js @@ -1 +1 @@ -console.log("Hello World!") +console.log("Hello from Diff2Html!") ```
Which generates:
read morediff --git a/sample.js b/sample.js …
a post with code
This theme implements a built-in Jekyll feature, the use of Rouge, for syntax highlighting. It supports more than 100 languages. This example is in C++. All you have to do is wrap your code in markdown code tags:
```c++ code code code ```
read moreint main(int argc, char const \*argv[]) { string …