[Hiki-dev:00865] Re: comment行

Back to archive index

Koichiro Ohba koich****@meado*****
2005年 6月 23日 (木) 18:31:27 JST


おおばです。

コメント行の説明をEnglishTextFormattingRulesにも追加してみました。

-------------- next part --------------
Index: data/text/TextFormattingRules
===================================================================
RCS file: /cvsroot/hiki/hiki/data/text/TextFormattingRules,v
retrieving revision 1.9
diff -u -r1.9 TextFormattingRules
--- data/text/TextFormattingRules	23 Jun 2005 07:40:17 -0000	1.9
+++ data/text/TextFormattingRules	23 Jun 2005 09:21:59 -0000
@@ -288,3 +288,10 @@
   パラメータ2
   パラメータ3
  )}}
+
+!コメント
+
+「/」を行の先頭から2つ書くとコメントになります。コメントはHTMLには出力されません。
+
+*記述例
+  //これはコメントです。
Index: data/text/EnglishTextFormattingRules
===================================================================
RCS file: /cvsroot/hiki/hiki/data/text/EnglishTextFormattingRules,v
retrieving revision 1.1
diff -u -r1.1 EnglishTextFormattingRules
--- data/text/EnglishTextFormattingRules	7 Dec 2004 13:47:09 -0000	1.1
+++ data/text/EnglishTextFormattingRules	23 Jun 2005 09:21:59 -0000
@@ -251,4 +251,11 @@
 One can use a plugin by surrounding text with two pairs of brackets.
 
 *Example statement
- {{recent(3)}}
\ No newline at end of file
+ {{recent(3)}}
+
+!comment
+
+A line starts with `//' will be parsed as a comment line.  Comment message won't be output in HTML.
+
+*Example statement
+ //this comment
Index: misc/text/default/TextFormattingRules
===================================================================
RCS file: /cvsroot/hiki/hiki/misc/text/default/TextFormattingRules,v
retrieving revision 1.4
diff -u -r1.4 TextFormattingRules
--- misc/text/default/TextFormattingRules	23 Jun 2005 07:40:17 -0000	1.4
+++ misc/text/default/TextFormattingRules	23 Jun 2005 09:21:59 -0000
@@ -288,3 +288,10 @@
   パラメータ2
   パラメータ3
  )}}
+
+!コメント
+
+「/」を行の先頭から2つ書くとコメントになります。コメントはHTMLには出力されません。
+
+*記述例
+  //これはコメントです。
Index: misc/text/default/EnglishTextFormattingRules
===================================================================
RCS file: /cvsroot/hiki/hiki/misc/text/default/EnglishTextFormattingRules,v
retrieving revision 1.1
diff -u -r1.1 EnglishTextFormattingRules
--- misc/text/default/EnglishTextFormattingRules	7 Dec 2004 13:47:09 -0000	1.1
+++ misc/text/default/EnglishTextFormattingRules	23 Jun 2005 09:21:59 -0000
@@ -251,4 +251,11 @@
 One can use a plugin by surrounding text with two pairs of brackets.
 
 *Example statement
- {{recent(3)}}
\ No newline at end of file
+ {{recent(3)}}
+
+!comment
+
+A line starts with `//' will be parsed as a comment line.  Comment message won't be output in HTML.
+
+*Example statement
+ //this comment
-------------- next part --------------
--
koichiro <koich****@meado*****>


Hiki-dev メーリングリストの案内
Back to archive index