Webã«ã¯è¡¨ç¤ºãããªããã©ãWikiè¨æ³ã§æ¸ãããã½ã¼ã¹ã«ã¯æ®ãã³ã¡ã³ãã¯ã©ãæ¸ãã®ï¼ ã¨æã£ãã
{{{
#!html
<!-- ããã«ã³ã¡ã³ã -->
}}}
ã¨ãå¼·å¼ãªæ¹æ³ã§ãã§ããªãã¯ãªãã§ããããã£ã¨ç´æ¥çã«ã
ã¨æ¸ãã¾ã*1ãã§ããã¤ã³ã©ã¤ã³ã®ã³ã¡ã³ãã¨ããå é ã®1è¡ç®ã«å ¥ããã³ã¡ã³ã*2ã«ã¯ãã®æ¹æ³ã¯ä½¿ãã¾ããã
{{{
#!comment
ããã«ã³ã¡ã³ã
}}}
[追è¨]jun66j5ãããããã©ãã¯ããã¯ãããã ãã¾ããããããã¨ããããã¾ããããã«ããã¨ï¼
TracWiki ã«ã¯ built-in 㧠html(), comment() ãã¯ããç¨æããã¦ãã¦ããããã {{{#!... }}} å½¢å¼ã®ã¤ã³ã©ã¤ã³çã¨ãã¦æ©è½ãã¾ãã
ã¨ãããã¨ãªã®ã§ãå®ã¯ä½ãããªãã¦ãããã£ãã®ã§ããã以ä¸ã®è¨è¿°ã¯ãbuilt-inãç¥ããªãã£ãåã®è¡åè¨é²ã§ã :-)[/追è¨][ããã«è¿½è¨]Trac 0.10.4 ã§ã®ãã¨ã§ããã確ãã«html(), comment()ãã¯ããããã¾ãããã1è¡ã§æ¸ãã{{{#!comment hoge}}}ã¯ãã®ã¾ã¾è¦ãã¦ãã¾ãã¾ããã{{{#!... }}} å½¢å¼ãã使ããã®ã¯ããã£ã¨æ°ãããã¼ã¸ã§ã³ã§ãããããâåã®èª¤èªï¼èª¤è§£ã«ã¤ãæ¹æ¶ã[/ããã«è¿½è¨]
ããã§ãCommentã¨ãããã¯ããä½ãã¾ãããã¨ã¯ãã£ã¦ãã次ã®Pythonã½ã¼ã¹ãããã¸ã§ã¯ãä¸ã®wiki-macros/ãã£ã¬ã¯ããªã«æ¾ãè¾¼ãã ãã
# Comment.py -- comment macrodef execute(hdf, args, env):
return ""
ã¤ã³ã©ã¤ã³ã³ã¡ã³ãã次ã®ããã«æ¸ãã¾ãã
[[Comment(-*- coding:utf-8 -*-)]]
次ã®Pythonã½ã¼ã¹[[Comment(ã£ã¦ãã¿ããã¼)]]ã
ããã¸ã§ã¯ãä¸ã®wiki-macros/ãã£ã¬ã¯ããªã«
æ¾ãè¾¼ãã ã[[Comment(ããã¼ãç°¡åï¼)]]ã
*1:ããã¯ãTHåã«æããã¾ããã
*2:ä¾ãã°ãWikiã½ã¼ã¹ããã¡ã¤ã«ã«æ¸ãã¦ããã¨ãã«Emacsã®ã³ã¼ãã£ã³ã°æå®ãå ¥ãããã¨ããããã¹ãã¨ãªã¢ã«ã³ãã¼ããã¨ã1è¡ç®ãåãã°ããã®ã ãã©ãããããé¢åã«æãããã ããã