Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
.gitignore
C.md
C.tcbundles
CSS.md
CSS.tcbundles
EXAMPLES.md
EXAMPLES.tcbundles
HTML.md
HTML.tcbundles
Java.md
Java.tcbundles
LICENSE
Objective C.md
Objective C.tcbundles
PHP.md
PHP.tcbundles
Processing.md
Processing.tcbundles
Python.md
Python.tcbundles
README.md
ReactJS.md
ReactJS.tcbundles
Rust.md
Rust.tcbundles
Scripts and Global Variables.md
Scripts and Global Variables.tcbundles
Swift + Cocoa and UIKit.md
Swift + Cocoa and UIKit.tcbundles
Swift + Cocoa.md
Swift + Cocoa.tcbundles
Swift + UIKit.md
Swift + UIKit.tcbundles
Swift + XCTests.md
Swift + XCTests.tcbundles
Swift Basic.md
Swift Basic.tcbundles
Swift Extra.md
Swift Extra.tcbundles
Vanilla JavaScript.md
Vanilla JavaScript.tcbundles
autogeneratemd.py
bundles.tcbundles
generatemd.py

README.md

TeaCode Bundles

This repo includes my bundles and a markdown version of them.

NOTE: Requires Python 3+

To create your own:

mkdir mybundles
cd mybundles
curl https://raw.githubusercontent.com/dustinknopoff/teacodebundles/master/autogeneratemd.py >> autogeneratemd.py
python3 autogeneratemd.py

autogeneratemd.py generates it's previews from the description field on expanders. Therefore, to include an example showing the syntax and output requires including an example in the description field.

For example the description for an expander for making functions in python would look something like this:

Creates default function statement.

> -f do arr

> -f do

which will be shown in the output markdown file as:

> Creates default function statement.

` -f do arr`

will render:


``python
 def do(arr):
     
``

` -f do`

will render:


``python
 def do():
     
``