Chris Rebert ba7c347dc5 Move TextBundle plugin under its own subdirectory 10 vuotta sitten
..
Readme.md ba7c347dc5 Move TextBundle plugin under its own subdirectory 10 vuotta sitten
__init__.py ba7c347dc5 Move TextBundle plugin under its own subdirectory 10 vuotta sitten
migrate.sh ba7c347dc5 Move TextBundle plugin under its own subdirectory 10 vuotta sitten
textbundle.py ba7c347dc5 Move TextBundle plugin under its own subdirectory 10 vuotta sitten

Readme.md

Textbundle Reader

This plugin helps you creating posts from Textbundles (http://textbundle.org/spec/).

In anutshell a textbundle is a folder with a ".textbundle" name suffix and a predefined folder hierarchy. The Markdown text is always in a file "text.md", all referenced assets (images, videos, etc.) are located in a subfolder named "assets/" and a file "info.json" (obviously in JSON format) provides some meta data.

Dependency

This plugin needs Markdown to work. Install it with:

pip install Markdown

Usage

Install the textbundle plugin and add it to the PLUGINS setting:

PLUGINS = [
    'textbundle',
    ...
    ]