#'Django Spellbook' - Markdown Content Management System

10 messages · Page 1 of 1 (latest)

willow oxide
#

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.

This website is powered by Django Spellbook: https://django-spellbook.org/

Here is the github: https://github.com/smattymatty/django_spellbook

I hope you like it 🙂 I made it because I write a lot of markdown, and wanted a way to mix Django template language with simple markdown in a way that non-coders can contribute styled and user friendly interfaces for their content.

GitHub

Contribute to smattymatty/django_spellbook development by creating an account on GitHub.

cinder linden
#

This is awesome! Exactly what I've been looking for! Damn, even the templates are nice. I really like the simplicity--reminds me "best motherfucking website." What's the size of this website? Considering it's Django, I'd expect it to be quite large.

willow oxide
#

https://github.com/smattymatty/django-spellbook-docs-site

here is the github for the docs site , i use three apps and multi-source it to three content folders, the only settings you really need are :

SPELLBOOK_MD_PATH = [
    BASE_DIR / 'markdown_content',
    BASE_DIR / 'changelog_content',
    BASE_DIR / 'examples_content'
    ]

SPELLBOOK_MD_APP = [
    'docs',
    'changelog',
    'examples'
]

SPELLBOOK_MD_BASE_TEMPLATE = [
    'docs/sb_base.html',
    'changelog/sb_base.html',
    'changelog/sb_base.html',
    ]

SPELLBOOK_MD_URL_PREFIX = [
    'docs',
    'changelog',
    'examples'
]

URL_PREFIX and BASE_TEMPLATE are optional, there is default behavior there so you really only need 2 settings and URL routing.

The folder on my PC is 78mb

cinder linden
#

I guess that's Django for you.. that's over a 1000x bigger footprint than thebestmotherfuckingwebsite

willow oxide
#

That is sooo true

neat garden
#

cool stuff!

willow oxide
cinder linden
#

woah! this is so cool!

willow oxide