コード例 #1
0
ファイル: wikklyhtml.py プロジェクト: ingydotnet/tiddlyweb
 def treehook(self, rootnode, context):
     """
     Turn wikiwords into links.
     """
     from wikklytext.wikwords import wikiwordify
     # add links to any wikiword
     wikiwordify(rootnode, context, self.wikiwords)
コード例 #2
0
 def treehook(self, rootnode, context):
     """
     Turn wikiwords into links.
     """
     from wikklytext.wikwords import wikiwordify
     # add links to any wikiword
     wikiwordify(rootnode, context, self.wikiwords)
コード例 #3
0
 def treehook(self, rootnode, context):
     """
     Turn wikiwords into links.
     """
     from wikklytext.wikwords import wikiwordify
     # add links to any wikiword
     try:
       x = context.wikiwords
       wikiwordify(rootnode, context, self.wikiwords)
     except AttributeError:
       pass
コード例 #4
0
 def treehook(self, rootnode, context):
     from wikklytext.wikwords import wikiwordify
     # add links to wikiwords
     wikiwordify(rootnode, context, self.wikiwords)
コード例 #5
0
ファイル: render.py プロジェクト: dvorberg/wikklytext
	def treehook(self, rootnode, context):
		from wikklytext.wikwords import wikiwordify
		# add links to wikiwords
		wikiwordify(rootnode, context, self.wikiwords, self.on_unknown_camelword)
コード例 #6
0
ファイル: wikkly2html.py プロジェクト: dvorberg/wikklytext
def treehook(rootnode, context):
    from wikklytext.wikwords import wikiwordify
    # no wikiwords here, just removal of '~' escapes.
    wikiwordify(rootnode, context, {})