Inkscape.org
  1. #1
    Martin Owens Martin Owens @doctormo🌹🧀

    Thanks to new contributor ayushkm, we now have code snippets in the forums.

    This is mostly useful for extension writers to share bits of code with each other that looks right in the web browser.

    import sys
    
    sys.stdout.write("This is a bit of python")
    
    class Example(object):
        """Docs are great"""
        def __init__(self, arg):
            self.arg = arg
    
    if __name__ == '__main__':
        Example()
        sys.exit(1)