Skip to main content

A django-wiki plugin that implements MediaWiki style templates.

Project description

wiki is is a rewrite of django-simplewiki, a project from 2009 that aimed to be a base system for a wiki.

Template Plugin

Wiki Template almoust like MediaWiki’s template language. One definition, used in multiple places.

Install

pip install wiki-template and create your django project.

Settings

Insert “wiki_template.apps.WikiTemplateConfig” to INSTALLED_APPS before “wiki.plugins.*”:

INSTALLED_APPS = [
    ......
    'wiki_template.apps.WikiTemplateConfig',
    ......
]

You may need add configure WIKI_MARKDOWN_HTML_WHITELIST to settings.py when you want use html into wiki template.

e.g.:

WIKI_MARKDOWN_HTML_WHITELIST = [
    'center', 'style', 'div'
]

Also you need add WIKI_MARKDOWN_HTML_ATTRIBUTES, WIKI_MARKDOWN_HTML_STYLES to settings when use inline style:

WIKI_MARKDOWN_HTML_ATTRIBUTES = {
    '*': ['style']
}

WIKI_MARKDOWN_HTML_STYLES = [
    'padding', 'width', 'color', 'float', 'clear', 'background'
]

Bug report

Any issues report to Github.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wiki_template-0.4.0.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wiki_template-0.4.0-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

File details

Details for the file wiki_template-0.4.0.tar.gz.

File metadata

  • Download URL: wiki_template-0.4.0.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for wiki_template-0.4.0.tar.gz
Algorithm Hash digest
SHA256 fc79479adda0bcdadbfb029ed2e34bcdef94a7b7b497d3e60abadc5805e8a68e
MD5 7e9b025034bf5e24429f0677fb454bc8
BLAKE2b-256 c9e7cd6293bed6223b999080970acf31bd31e59c021a2fb2d87f436bffbd07f8

See more details on using hashes here.

File details

Details for the file wiki_template-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: wiki_template-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 32.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for wiki_template-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45569da2d058a503601521fc66851d5f710cba7816ad4315a3ff9ba26217401b
MD5 77a40c1ae539bd50519c449984fe91ec
BLAKE2b-256 f018fe6a17d2632fac2eec45bc2619f59b6d863f3de712d0271ff1d844a3ad22

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page