The following should be rendered as a text code block:
$ easy_install pyramid
$ python helloworld.py
I guess it is.. but I don't know why the first text code block here isn't:
https://github.com/Pylons/pyramid/blob/master/docs/index.rst
See https://raw.github.com/Pylons/pyramid/master/docs/index.rst for raw.
The following should be rendered as a Python code block (albeit without linenos), but it isn't:
import unittest
from fake_github_api_of_death import close_issue
class Highlighting(unittest.TestCase):
def setUp(self):
self.tagline = "HIGHLIGHT ALL OF THE REST CODE BLOCKS!?"
def test_highlighting(self):
self.assertTrue(rest_code_highlightining())
print("http://cl.ly/ICZK")
print("Yuuuuuuuuuup!")
def tearDown(self):
# Closes https://github.com/github/markup/pull/92/.
close_issue('github/markup', 92)
print("Python & reStructuredText, We love you. <3")
if __name__ = "__main__":
unittest.main()