Fork me on GitHub

The HTML renderer inserts the HTML for the code directly into the article. It purposely doesn't uses any CSS classes, allowing for a 0 configuration approach, and true WYSIWYG (what you see is what you get) while inside the article editor.

All the code samples on this website are rendered using the HTML Renderer.

Here is a simple Java sample:

1
2
3
4
class A {
  // this is a comment
  int x; // this is a variable
}

and a Python one:

1
2
3
4
5
def a():
  print "hello world"
  
if not b:
  print "not b"
comments powered by Disqus

Donate

Go to top