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.3.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.3.0-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wiki_template-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f5e2a351a01e22cb142f7222a9300f7eccd932824fef33a05faee51a5aaf8633
MD5 5ab3aef271de07e8020875c2bca7636b
BLAKE2b-256 280e2a639fc573576537be765af117dba2d392ea183d9610a0305077cabfbe60

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wiki_template-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cc439ff0aadde9936f8c07bd0572a0f72ff856bf59be0f713dd87614894cf2f
MD5 bc25f905b2681974c353a62740148b78
BLAKE2b-256 b5dc7d8d83c52f4bea9995a0acc6705de1f94086f3042a34ae771e449cde0b12

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