Django-Spellbook

Try the New Markdown Editor! Explore Themes

Django Markdown Content Management System

Django Spellbook Icon Concept D {~~}
A flexible content management extension for Django

Django Spellbook extends Django's templating and rendering capabilities with a focus on markdown-based content. It transforms markdown files into fully-rendered Django templates with auto-generated views and URLs, eliminating boilerplate code while maintaining Django's flexibility.

Spells at your disposal:

Get Started in Minutes

Django Spellbook integrates with your project by generating server-side code from markdown content:

pip install django-spellbook

Configure with these essential settings:

INSTALLED_APPS = [
    'django_spellbook',
    'my_app',  # for SPELLBOOK_MD_APP
]

# Necessary for markdown parsing
SPELLBOOK_MD_PATH = BASE_DIR / 'markdown_files'
SPELLBOOK_MD_APP = 'my_app'

# Optional for markdown parsing - customize your base template
SPELLBOOK_MD_BASE_TEMPLATE = 'django_spellbook/bases/base_sidebar_left.html'

Quick Setup Steps

  1. Install the package using pip
  2. Add to INSTALLED_APPS in your Django settings
  3. Configure paths for your markdown content
  4. Run the command to generate views and templates:
    bash python manage.py spellbook_md
  5. Start writing magical markdown with SpellBlocks!
✅

Pro Tip: Check out our Quick Start Guide for a complete walkthrough with examples!

View Full Quick Start Guide