Skip to content

dustinknopoff/teacodebundles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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():
     
``

Releases

No releases published

Packages

No packages published

Languages