Editing
WikidPad
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[http://wikidpad.sourceforge.net/ WikidPad - wiki notebook/outliner for windows] ([http://wikidpad.python-hosting.com/ Wiki], [http://tech.groups.yahoo.com/group/wikidPad/ forum]) {{Software version| software=WikidPad | url=http://wikidpad.sourceforge.net/ | version=1.9beta13 }} == modify the default WikidPad syntax to mediawiki compatible syntax == * Copy the C:\Program Files\WikidPad\extensions\WikiSyntax.py to C:\Program Files\WikidPad\user_extensions\WikiSyntax.py * modify the code of user_extensions/WikiSyntax.py as follows <pre> #外站連結: 原語法為[url | title]修改為[url title] #TitleWikiWordDelimiterPAT = ur"\|" TitleWikiWordDelimiterPAT = ur"\s" #basic formatting #黑體: 原語法*bold* 修改為'''bold''' #BoldRE = re.compile(ur"\*(?=\S)(?P<boldContent>" + PlainCharacterPAT + BoldRE = re.compile(ur"\'\'\'(?=\S)(?P<boldContent>" + PlainCharacterPAT + ur"+?)\'\'\'", re.DOTALL | re.UNICODE | re.MULTILINE) #斜體: 原語法 _italic_ 修改為''italic'' #ItalicRE = re.compile(ur"\b_(?P<italicContent>" + PlainCharacterPAT + ItalicRE = re.compile(ur"\'\'(?=\S)(?P<italicContent>" + PlainCharacterPAT + ur"+?)\'\'", re.DOTALL | re.UNICODE | re.MULTILINE) HtmlTagRE = re.compile( ur"</?[A-Za-z][A-Za-z0-9]*(?:/| [^\n>]*)?>", re.DOTALL | re.UNICODE | re.MULTILINE) # == hedding == <--- note that the space whould insert between = symbol and the hedding text #標題5: 原語法 +++++ Heading5 修改為 ===== Heading5 ===== #Heading5RE = re.compile(ur"^\+{5}(?!\+) ?(?P<h5Content>" + Heading5RE = re.compile(u"^[ ]*=====([^=]) ?(?P<h5Content>" + PlainCharacterPAT + ur"+?)\=\=\=\=\=\n", re.DOTALL | re.UNICODE | re.MULTILINE) #標題4: 原語法 ++++ Heading4 修改為 ==== Heading4 ==== #Heading4RE = re.compile(u"^\\+\\+\\+\\+(?!\\+) ?(?P<h4Content>" + Heading4RE = re.compile(u"^[ ]*====([^=]) ?(?P<h4Content>" + PlainCharacterPAT + ur"+?)\=\=\=\=\n", re.DOTALL | re.UNICODE | re.MULTILINE) #標題3: 原語法 +++ Heading3 修改為 === Heading3 === #Heading3RE = re.compile(u"^\\+\\+\\+(?!\\+) ?(?P<h3Content>" + Heading3RE = re.compile(u"^[ ]*===([^=]) ?(?P<h3Content>" + PlainCharacterPAT + ur"+?)\=\=\=\n", re.DOTALL | re.UNICODE | re.MULTILINE) #標題2: 原語法 ++ Heading2 修改為 == Heading2 == #Heading2RE = re.compile(u"^\\+\\+(?!\\+) ?(?P<h2Content>" + Heading2RE = re.compile(u"^[ ]*==([^=]) ?(?P<h2Content>" + PlainCharacterPAT + ur"+?)\=\=\n", re.DOTALL | re.UNICODE | re.MULTILINE) #標題1: 原語法 + Heading1 修改為 = Heading1 = #Heading1RE = re.compile(u"^\\+(?!\\+) ?(?P<h1Content>" + Heading1RE = re.compile(u"^[ ]*=([^=])(?P<h1Content>" + PlainCharacterPAT + ur"+?)\=\n", re.DOTALL | re.UNICODE | re.MULTILINE) </pre> == notes == * Numeric bullet '#' & table syntax were not work. * Single bracket '[Page name]' will generate a wiki link. * internal table syntax conflict! via [http://blog.pcbeta.com/html/74/t-379074.html wikidPad 用WIKI的方式来做笔记] (2008) ''unverified'' == installation == * The WikidPad installer could extracted as portable software (ex: executed at USB) by [http://legroom.net/software/uniextract Universal Extractor] v1.5. [[Category:Software]] [[Category:Wiki]]
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Software version
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
Tools
What links here
Related changes
Special pages
Page information