forked from butscher/WikidPad
-
Notifications
You must be signed in to change notification settings - Fork 0
WikiSyntax
Christian Ziemski edited this page Mar 7, 2016
·
5 revisions
Changing the Wiki markup syntax in WikidPad 2.x
http://trac.wikidpad2.webfactional.com/wiki/HowToCreateWikiLanguage20
Changing the Wiki markup syntax in WikidPad 1.x
This won't work in WikidPad 2.0.
You will find the regular expressions for WikidPad's syntax here on MS Windows: C:\Program Files\WikidPad\extensions\WikiSyntax.py
But changes are better made in your user dir.
Create WikiSyntax.py in your .WikidPadGlobals\user_extensions- directory. (If you can't find it, you can also change it in C:\Program Files\WikidPad\extensions\WikiSyntax.py , but that will be overwritten on an WipidPad-update I think.)
If you create a new .WikidPadGlobals \user_extensions\WikiSyntax.py, this needs to go in the beginning of the file:
import locale
import string
import pwiki.srePersistent as re
from pwiki.StringOps import mbcsDec
Source: http://trac.wikidpad2.webfactional.com/wiki/WikiSyntax