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

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',
    ...
    ]