README
wc-bbcode
BBCode templates
Settings
Base embed
| Key | Optional | Default | Description |
|---|---|---|---|
| content | false | The content to display in the embed | |
| class | true | '' | Additional classes to apply |
Image
| Key | Optional | Default | Description |
|---|---|---|---|
| image | false | The image object sent to common image | |
| attrs | true | None | Attrs set in the bbcode |
| article | true | None | The article the bbcode is in |
List
| Key | Optional | Default | Description |
|---|---|---|---|
| list_items | false | A list of items | |
| list_type | true | 'unordered' | The type of list. Can be unordered and ordered |
Themes
Base embed
- Wired
Image
- Wired
List
- Wired
Prerequisites:
Demo:
Install dependencies:
npm install
Build the things:
npm run sass
npm run js
Python the pythons:
cd demo
virtualenv .
source bin/activate
pip install -r requirements.txt
Start the demo server:
python demo.py