Mastodon logo Join the Digital Sovereignty Movement on Mastodon!

Markdown Functions

13 min read
2728 words

Unraveling the Recursive Absurd: When Markdown Files Become Functions

Terminology:

I. The Accidental Discovery

Django-Spellbook started with frustration, not philosophy.

"Why do I need three files just to show some markdown content?"
- A view to fetch the markdown
- A template to wrap it
- URL configuration to wire it up

Just to display documentation that was already written. The same boilerplate, over and over, for what should be the simplest thing in web development: showing words on a screen.