Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Presentation

Convert MediaWiki Syntax to HTML

How to use in a program

Example for HTML

In order to use this tool to render wikitext into HTML in a Python program, you can use the following lines:

from mediawiki import *

source = ''
with open("syntax") as f:
   for line in f:
       source += line

wiki_content = wiki2html(source, True)
print wiki_content

Doc about Syntax

See doc dir more about syntax and HTML code generated and example

About

Python Media wiki. Convert wiki syntax to HTML

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages