Literal Includes with Line Numbers

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Literally included file using Python highlighting
# -*- coding: utf-8 -*-

foo = "Including Unicode characters: üöä"

class Foo:
    pass

class Bar:
    def baz():
        pass

# comment after Bar class definition
def bar(): pass