Sublimescheme

Generate

Contains a class Make that takes two arguments (Theme name) and (Author's name)

Make has six methods which are:

Example


    from sublimescheme.generate import *        #or
    from sublimescheme.generate import Make

    sample = Make("Mytheme", "Author")

    sample.start()
    sample.head(fg="#000", bg="#FFFFFF", ct="#F00")

    # Optional and creates a Ruby highlighter for numbers
    sample.body('Ruby: Numbers', 'constant.numeric.ruby', fs='italic', fg='#f0f', bg='#0ff')

    sample.complete()
    sample.readme("github.com/name/themename", "name@email.com")
    make.package("github.com/name/themename", "name@email.com")

Result1

It will generate a python IDLE lookalike with an extra Ruby number highlighter.



Table of contents