qwik2md 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. checksums.yaml +4 -4
  2. data/lib/qwik2md/version.rb +1 -1
  3. data/vendor/qwik/lib/qwik/act-christel.rb +1 -1
  4. data/vendor/qwik/lib/qwik/page-get.rb +4 -4
  5. data/vendor/qwik/lib/qwik/util-filename.rb +2 -5
  6. data/vendor/qwik/lib/qwik/util-string.rb +7 -7
  7. data/vendor/qwik/share/super/FrontPage.txt +17 -0
  8. data/vendor/qwik/share/super/QwikWebPlugin.txt +0 -0
  9. data/vendor/qwik/share/super/QwikWebStructure.txt +0 -0
  10. data/vendor/qwik/share/super/RecentList.txt +2 -0
  11. data/vendor/qwik/share/super/SandBox.txt +3 -0
  12. data/vendor/qwik/share/super/TextFormat.txt +186 -0
  13. data/vendor/qwik/share/super/TextFormatSimple.txt +23 -0
  14. data/vendor/qwik/share/super/TitleList.txt +2 -0
  15. data/vendor/qwik/share/super/_AdminMenu.txt +11 -0
  16. data/vendor/qwik/share/super/_BookSearch.txt +3 -0
  17. data/vendor/qwik/share/super/_EditorFooter.txt +9 -0
  18. data/vendor/qwik/share/super/_EditorHelp.txt +9 -0
  19. data/vendor/qwik/share/super/_InterWikiName.txt +17 -0
  20. data/vendor/qwik/share/super/_IsbnLink.txt +8 -0
  21. data/vendor/qwik/share/super/_MemberAdd.txt +4 -0
  22. data/vendor/qwik/share/super/_MemberList.txt +2 -0
  23. data/vendor/qwik/share/super/_MemberListCSV.txt +2 -0
  24. data/vendor/qwik/share/super/_PageAttribute.txt +7 -0
  25. data/vendor/qwik/share/super/_SideMenu.txt +15 -0
  26. data/vendor/qwik/share/super/_SiteConfig.txt +30 -0
  27. data/vendor/qwik/share/super/_SiteFooter.txt +3 -0
  28. data/vendor/qwik/share/super/_SiteLog.txt +0 -0
  29. data/vendor/qwik/share/super/_SiteLogView.txt +2 -0
  30. data/vendor/qwik/share/super/_SiteMember.txt +0 -0
  31. data/vendor/qwik/share/super/_SiteMenu.txt +2 -0
  32. data/vendor/qwik/share/super/_SiteSearch.txt +3 -0
  33. data/vendor/qwik/share/super/_SiteTheme.txt +9 -0
  34. data/vendor/qwik/share/super/_textformat.txt +2 -0
  35. data/vendor/qwik/share/template/Makefile +10 -0
  36. data/vendor/qwik/share/template/edit.html +22 -0
  37. data/vendor/qwik/share/template/edit.rb +40 -0
  38. data/vendor/qwik/share/template/editor.html +23 -0
  39. data/vendor/qwik/share/template/editor.rb +47 -0
  40. data/vendor/qwik/share/template/notice.html +21 -0
  41. data/vendor/qwik/share/template/notice.rb +43 -0
  42. data/vendor/qwik/share/template/plain.html +19 -0
  43. data/vendor/qwik/share/template/plain.rb +43 -0
  44. data/vendor/qwik/share/template/surface.html +22 -0
  45. data/vendor/qwik/share/template/surface.rb +50 -0
  46. data/vendor/qwik/share/template/system.html +30 -0
  47. data/vendor/qwik/share/template/system.rb +46 -0
  48. data/vendor/qwik/share/template/view.html +20 -0
  49. data/vendor/qwik/share/template/view.rb +40 -0
  50. data/vendor/qwik/share/theme/css/Makefile +10 -0
  51. data/vendor/qwik/share/theme/css/base.css +779 -0
  52. data/vendor/qwik/share/theme/css/delete.png +0 -0
  53. data/vendor/qwik/share/theme/css/menu.css +77 -0
  54. data/vendor/qwik/share/theme/css/wema.css +141 -0
  55. data/vendor/qwik/share/theme/i/a.gif +0 -0
  56. data/vendor/qwik/share/theme/i/binary.gif +0 -0
  57. data/vendor/qwik/share/theme/i/broken.gif +0 -0
  58. data/vendor/qwik/share/theme/i/compressed.gif +0 -0
  59. data/vendor/qwik/share/theme/i/external.png +0 -0
  60. data/vendor/qwik/share/theme/i/external_hover.png +0 -0
  61. data/vendor/qwik/share/theme/i/favicon.ico +0 -0
  62. data/vendor/qwik/share/theme/i/favicon.png +0 -0
  63. data/vendor/qwik/share/theme/i/generic.gif +0 -0
  64. data/vendor/qwik/share/theme/i/image2.gif +0 -0
  65. data/vendor/qwik/share/theme/i/login_bg.gif +0 -0
  66. data/vendor/qwik/share/theme/i/login_inputform_bg.gif +0 -0
  67. data/vendor/qwik/share/theme/i/login_inputform_bg_footer.gif +0 -0
  68. data/vendor/qwik/share/theme/i/login_inputform_bg_header.gif +0 -0
  69. data/vendor/qwik/share/theme/i/login_li.gif +0 -0
  70. data/vendor/qwik/share/theme/i/login_qwik_logo.gif +0 -0
  71. data/vendor/qwik/share/theme/i/movie.gif +0 -0
  72. data/vendor/qwik/share/theme/i/new.png +0 -0
  73. data/vendor/qwik/share/theme/i/pdf.gif +0 -0
  74. data/vendor/qwik/share/theme/i/ps.gif +0 -0
  75. data/vendor/qwik/share/theme/i/sound2.gif +0 -0
  76. data/vendor/qwik/share/theme/i/sphere2.gif +0 -0
  77. data/vendor/qwik/share/theme/i/tar.gif +0 -0
  78. data/vendor/qwik/share/theme/i/text.gif +0 -0
  79. data/vendor/qwik/share/theme/js/Makefile +23 -0
  80. data/vendor/qwik/share/theme/js/base.js +176 -0
  81. data/vendor/qwik/share/theme/js/builder.js +101 -0
  82. data/vendor/qwik/share/theme/js/controls.js +750 -0
  83. data/vendor/qwik/share/theme/js/debugwindow-test.html +60 -0
  84. data/vendor/qwik/share/theme/js/debugwindow.html +24 -0
  85. data/vendor/qwik/share/theme/js/debugwindow.js +476 -0
  86. data/vendor/qwik/share/theme/js/dragdrop.js +559 -0
  87. data/vendor/qwik/share/theme/js/effects.js +904 -0
  88. data/vendor/qwik/share/theme/js/event.js +98 -0
  89. data/vendor/qwik/share/theme/js/history.js +110 -0
  90. data/vendor/qwik/share/theme/js/menu.js +27 -0
  91. data/vendor/qwik/share/theme/js/monitor.js +96 -0
  92. data/vendor/qwik/share/theme/js/niftypp.js +272 -0
  93. data/vendor/qwik/share/theme/js/prototype.js +1758 -0
  94. data/vendor/qwik/share/theme/js/scriptaculous.js +48 -0
  95. data/vendor/qwik/share/theme/js/se_hilite_jp.js +234 -0
  96. data/vendor/qwik/share/theme/js/slider.js +275 -0
  97. data/vendor/qwik/share/theme/js/test-all.html +24 -0
  98. data/vendor/qwik/share/theme/js/test-debug.html +56 -0
  99. data/vendor/qwik/share/theme/js/test-wema.html +304 -0
  100. data/vendor/qwik/share/theme/js/test-xp.html +99 -0
  101. data/vendor/qwik/share/theme/js/unittest.js +363 -0
  102. data/vendor/qwik/share/theme/js/watch.js +109 -0
  103. data/vendor/qwik/share/theme/js/wema.js +580 -0
  104. data/vendor/qwik/share/theme/js/wysiwyg.js +143 -0
  105. data/vendor/qwik/share/theme/qwikborder/qwikborder.css +277 -0
  106. data/vendor/qwik/share/theme/qwikborder/qwikborder_ball.png +0 -0
  107. data/vendor/qwik/share/theme/qwikborder/qwikborder_h2.png +0 -0
  108. data/vendor/qwik/share/theme/qwikborder/qwikborder_li.png +0 -0
  109. data/vendor/qwik/share/theme/qwikcyan/qwikcyan.css +216 -0
  110. data/vendor/qwik/share/theme/qwikcyan/qwikcyan_li.png +0 -0
  111. data/vendor/qwik/share/theme/qwikeditor/command.gif +0 -0
  112. data/vendor/qwik/share/theme/qwikeditor/edit_form_bg.jpg +0 -0
  113. data/vendor/qwik/share/theme/qwikeditor/edit_qwik_logo.gif +0 -0
  114. data/vendor/qwik/share/theme/qwikeditor/edit_title_bg.jpg +0 -0
  115. data/vendor/qwik/share/theme/qwikeditor/login_bg.gif +0 -0
  116. data/vendor/qwik/share/theme/qwikeditor/login_qwik_logo.gif +0 -0
  117. data/vendor/qwik/share/theme/qwikeditor/qwikeditor.css +336 -0
  118. data/vendor/qwik/share/theme/qwikeditor/sidebar_bg.gif +0 -0
  119. data/vendor/qwik/share/theme/qwikgreen/qwikgreen.css +306 -0
  120. data/vendor/qwik/share/theme/qwiknotice/qwiknotice.css +246 -0
  121. data/vendor/qwik/share/theme/qwiknotice/qwiknotice_body_bg.gif +0 -0
  122. data/vendor/qwik/share/theme/qwiknotice/qwiknotice_inputform_bg.gif +0 -0
  123. data/vendor/qwik/share/theme/qwiknotice/qwiknotice_inputform_bg_footer.gif +0 -0
  124. data/vendor/qwik/share/theme/qwiknotice/qwiknotice_inputform_bg_header.gif +0 -0
  125. data/vendor/qwik/share/theme/qwiknotice/qwiknotice_li.gif +0 -0
  126. data/vendor/qwik/share/theme/qwiknotice/qwiknotice_qwik_logo.gif +0 -0
  127. data/vendor/qwik/share/theme/qwikplain/command.gif +0 -0
  128. data/vendor/qwik/share/theme/qwikplain/edit_form_bg.jpg +0 -0
  129. data/vendor/qwik/share/theme/qwikplain/edit_qwik_logo.gif +0 -0
  130. data/vendor/qwik/share/theme/qwikplain/edit_title_bg.jpg +0 -0
  131. data/vendor/qwik/share/theme/qwikplain/login_bg.gif +0 -0
  132. data/vendor/qwik/share/theme/qwikplain/login_qwik_logo.gif +0 -0
  133. data/vendor/qwik/share/theme/qwikplain/qwikplain.css +223 -0
  134. data/vendor/qwik/share/theme/qwikplain/sidebar_bg.gif +0 -0
  135. data/vendor/qwik/share/theme/qwikskelton/qwikskelton.css +224 -0
  136. data/vendor/qwik/share/theme/qwiksystem/qwiksystem.css +323 -0
  137. data/vendor/qwik/share/theme/qwiksystem/qwiksystem_bg.png +0 -0
  138. data/vendor/qwik/share/theme/qwiksystem/qwiksystem_header.png +0 -0
  139. data/vendor/qwik/share/theme/qwiksystem/qwiksystem_headerbar.png +0 -0
  140. data/vendor/qwik/share/theme/qwiksystem/qwiksystem_qwikweb.png +0 -0
  141. data/vendor/qwik/share/theme/qwikviridian/qwikviridian.css +413 -0
  142. data/vendor/qwik/share/theme/qwikviridian/qwikviridian_adminmenu_bg.gif +0 -0
  143. data/vendor/qwik/share/theme/qwikviridian/qwikviridian_bg.gif +0 -0
  144. data/vendor/qwik/share/theme/qwikviridian/qwikviridian_bg_shade.gif +0 -0
  145. data/vendor/qwik/share/theme/qwikviridian/qwikviridian_sidebar_a_bg.gif +0 -0
  146. data/vendor/qwik/share/theme/qwikviridian/qwikviridian_siderbar_li_a.gif +0 -0
  147. data/vendor/qwik/share/theme/s5/blue/bluebg.gif +0 -0
  148. data/vendor/qwik/share/theme/s5/blue/bluebottom.gif +0 -0
  149. data/vendor/qwik/share/theme/s5/blue/bluefooter.gif +0 -0
  150. data/vendor/qwik/share/theme/s5/blue/framing.css +25 -0
  151. data/vendor/qwik/share/theme/s5/blue/pretty.css +91 -0
  152. data/vendor/qwik/share/theme/s5/blue/s5-core.css +11 -0
  153. data/vendor/qwik/share/theme/s5/blue/slides.css +3 -0
  154. data/vendor/qwik/share/theme/s5/default/iepngfix.htc +42 -0
  155. data/vendor/qwik/share/theme/s5/default/opera.css +7 -0
  156. data/vendor/qwik/share/theme/s5/default/outline.css +15 -0
  157. data/vendor/qwik/share/theme/s5/default/print.css +24 -0
  158. data/vendor/qwik/share/theme/s5/default/slides.js +558 -0
  159. data/vendor/qwik/share/theme/s5/flower/blume.jpg +0 -0
  160. data/vendor/qwik/share/theme/s5/flower/blumerechts.jpg +0 -0
  161. data/vendor/qwik/share/theme/s5/flower/framing.css +25 -0
  162. data/vendor/qwik/share/theme/s5/flower/pretty.css +83 -0
  163. data/vendor/qwik/share/theme/s5/flower/s5-core.css +11 -0
  164. data/vendor/qwik/share/theme/s5/flower/slides.css +3 -0
  165. data/vendor/qwik/share/theme/s5/i18n/00_head.txt +8 -0
  166. data/vendor/qwik/share/theme/s5/i18n/bg-shade.png +0 -0
  167. data/vendor/qwik/share/theme/s5/i18n/bg-slide.jpg +0 -0
  168. data/vendor/qwik/share/theme/s5/i18n/framing.css +23 -0
  169. data/vendor/qwik/share/theme/s5/i18n/pretty.css +44 -0
  170. data/vendor/qwik/share/theme/s5/i18n/s5-core.css +9 -0
  171. data/vendor/qwik/share/theme/s5/i18n/slides.css +3 -0
  172. data/vendor/qwik/share/theme/s5/pixel/framing.css +25 -0
  173. data/vendor/qwik/share/theme/s5/pixel/pixelbg.gif +0 -0
  174. data/vendor/qwik/share/theme/s5/pixel/pixelheader.jpg +0 -0
  175. data/vendor/qwik/share/theme/s5/pixel/pixelslide0bg.gif +0 -0
  176. data/vendor/qwik/share/theme/s5/pixel/pretty.css +80 -0
  177. data/vendor/qwik/share/theme/s5/pixel/s5-core.css +11 -0
  178. data/vendor/qwik/share/theme/s5/pixel/slides.css +3 -0
  179. data/vendor/qwik/share/theme/s5/qwikblack/framing.css +23 -0
  180. data/vendor/qwik/share/theme/s5/qwikblack/pretty.css +245 -0
  181. data/vendor/qwik/share/theme/s5/qwikblack/s5-core.css +9 -0
  182. data/vendor/qwik/share/theme/s5/qwikblack/slides.css +3 -0
  183. data/vendor/qwik/share/theme/s5/qwikworld/bg-shade.png +0 -0
  184. data/vendor/qwik/share/theme/s5/qwikworld/bg-slide.jpg +0 -0
  185. data/vendor/qwik/share/theme/s5/qwikworld/framing.css +61 -0
  186. data/vendor/qwik/share/theme/s5/qwikworld/pretty.css +250 -0
  187. data/vendor/qwik/share/theme/s5/qwikworld/qwikcyan_li.png +0 -0
  188. data/vendor/qwik/share/theme/s5/qwikworld/s5-core.css +28 -0
  189. data/vendor/qwik/share/theme/s5/qwikworld/slides.css +3 -0
  190. data/vendor/qwik/share/theme/s5/shell/blank.gif +0 -0
  191. data/vendor/qwik/share/theme/s5/shell/bodybg.gif +0 -0
  192. data/vendor/qwik/share/theme/s5/shell/framing.css +23 -0
  193. data/vendor/qwik/share/theme/s5/shell/pretty.css +86 -0
  194. data/vendor/qwik/share/theme/s5/shell/s5-core.css +9 -0
  195. data/vendor/qwik/share/theme/s5/shell/slides.css +3 -0
  196. metadata +190 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a8c3145aa48df052282672c7665b53aa1c0dc04b
4
- data.tar.gz: 433f158cd8e49e082d862e1d2e2c70d37d24db3a
3
+ metadata.gz: 7cb7c43164290355d2e67e91922d0d712ce1b3c1
4
+ data.tar.gz: ff38f0a168a6926ca0291a024dfb6597846d19c2
5
5
  SHA512:
6
- metadata.gz: d2a8cb6833c80f071305be0153c5b55ca2cb77103b9aee4f7498944221d0e39af193711868625cb7a4cc5dc18788b51b014abc3593f5b1314193ff25c19eb65e
7
- data.tar.gz: c6f380e45db77dcf88436c345d795c8aa05405fa200540a865e79dd4d19c1fb85e63b59253d3f04d55d9e72074da78ba9265bb52610799d8d4e63ffb87ec4171
6
+ metadata.gz: 224639a3f997e4c66f41fef3571fc7cd2125cf54717c1666b53c138d3d40e5a5547d3cbdf3d351643289f8d6143d13ce12c849b5b437218b968a2f3bb1dcd412
7
+ data.tar.gz: abd6d006ab76558908ab9f8cb8789734dba501c11b218b94cfb9d1f37944d171011dae0d186fa4a8c4edafab04c353ab7a85befceea1c9b2693e0ac391a55d62
@@ -1,3 +1,3 @@
1
1
  module Qwik2md
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -74,7 +74,7 @@ http://qwik.jp/.theme/i/login_qwik_logo.gif
74
74
  def plg_christel(width = 320)
75
75
  width = width.to_i.to_s
76
76
  content = yield
77
- message, image_url = content.to_a
77
+ message, image_url = Array(content)
78
78
  message.chomp!
79
79
  image_url.chomp! if image_url
80
80
  query_str = {
@@ -54,7 +54,7 @@ module Qwik
54
54
  end
55
55
 
56
56
  def self.parse_title_line(line)
57
- return nil unless /\A\*/s =~ line # must begin with '*'.
57
+ return nil unless /\A\*/ =~ line # must begin with '*'.
58
58
  title = $' # the rest of the line.
59
59
  return nil if title[0] == ?* # must be h2 level.
60
60
  return parse_title(title)
@@ -68,7 +68,7 @@ module Qwik
68
68
  return nil if title.empty? # The title should not be empty.
69
69
 
70
70
  # If the title has a tag,
71
- if /\A\[(.+?)\]/s =~ title
71
+ if /\A\[(.+?)\]/ =~ title
72
72
  tag = $1
73
73
  return [title, tags] if $'.empty?
74
74
 
@@ -185,12 +185,12 @@ if defined?($test) && $test
185
185
  end
186
186
 
187
187
  def ok_title(e, s)
188
- title, tags = Qwik::Page.get_title(s)
188
+ title, tags = Qwik::Page.get_title(s)
189
189
  ok_eq(e, title)
190
190
  end
191
191
 
192
192
  def ok_get_title(e, s)
193
- res = Qwik::Page.get_title(s)
193
+ res = Qwik::Page.get_title(s)
194
194
  ok_eq(e, res)
195
195
  end
196
196
 
@@ -12,17 +12,14 @@ module Qwik
12
12
  class Filename
13
13
  def self.encode(str)
14
14
  str = str.to_filename_charset
15
- str = str.gsub(/\342\200\276/n) {
16
- '~'
17
- }
18
- str = str.gsub(/([^ 0-9A-Za-z_.\/-]+)/n) {
15
+ str = str.gsub(/([^ 0-9A-Za-z_.\/-]+)/) {
19
16
  '=' + $1.unpack('H2' * $1.size).join('=').upcase
20
17
  }
21
18
  return str
22
19
  end
23
20
 
24
21
  def self.decode(str)
25
- str = str.gsub(/((?:=[0-9a-fA-F]{2})+)/n) {
22
+ str = str.gsub(/((?:=[0-9a-fA-F]{2})+)/) {
26
23
  [$1.delete('=')].pack('H*')
27
24
  }
28
25
  str = str.to_filename_charset
@@ -47,25 +47,25 @@ class String
47
47
  # ============================== escape
48
48
  # Copied from cgi.rb
49
49
  def escape
50
- return self.gsub(/([^ a-zA-Z0-9_.-]+)/n) {
50
+ return self.gsub(/([^ a-zA-Z0-9_.-]+)/) {
51
51
  '%' + $1.unpack('H2' * $1.size).join('%').upcase
52
52
  }.tr(' ', "+")
53
53
  end
54
54
 
55
55
  def unescape
56
- return self.tr("+", ' ').gsub(/((?:%[0-9a-fA-F]{2})+)/n) {
56
+ return self.tr("+", ' ').gsub(/((?:%[0-9a-fA-F]{2})+)/) {
57
57
  [$1.delete('%')].pack('H*')
58
58
  }
59
59
  end
60
60
 
61
61
  def unescapeHTML
62
- return self.gsub(/&(.*?);/n) {
62
+ return self.gsub(/&(.*?);/) {
63
63
  match = $1.dup
64
64
  case match
65
- when /\Aamp\z/ni then "&"
66
- when /\Aquot\z/ni then "'"
67
- when /\Agt\z/ni then ">"
68
- when /\Alt\z/ni then "<"
65
+ when /\Aamp\z/i then "&"
66
+ when /\Aquot\z/i then "'"
67
+ when /\Agt\z/i then ">"
68
+ when /\Alt\z/i then "<"
69
69
  else
70
70
  "&#{match};"
71
71
  end
@@ -0,0 +1,17 @@
1
+ * FrontPage
2
+ これは新規qwikWebサイトの入口となるページです。
3
+
4
+ * 使い方
5
+ ページの上の方にある「編集」というリンクをたどると、
6
+ このページの編集モードになります。
7
+
8
+ 表示されたテキストの内容を変更し、「Save」ボタンをクリックすると、
9
+ このページの内容が変更されます。
10
+
11
+ * 記述方法
12
+ ページの内容はテキストで書かれており、
13
+ いくつかの記号によって見出しなどの指定をします。
14
+ 詳しい情報は、[[TextFormat]]をご覧下さい。
15
+
16
+ * qwikWeb
17
+ 詳しくは、[[qwikWeb|http://qwik.jp/]]ホームページをご覧ください。
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ * Recent List
2
+ {{recent_list}}
@@ -0,0 +1,3 @@
1
+ * SandBox
2
+ なんでも好きなことを書き込んでください。
3
+ ページ編集の練習に使えます。
@@ -0,0 +1,186 @@
1
+ * 書式一覧詳細版
2
+
3
+ # この文章は、Hikiの書式説明を元に改変を行っています。
4
+ # changed by Kouichirou Eto, 2003-2005
5
+
6
+ 簡略化した説明は[[TextFormatSimple]]をご覧下さい。
7
+
8
+ * 見出し
9
+ 「*」を行の先頭に書くと見出しになります。
10
+
11
+ 「*」は1つから5つまで記述することができます。
12
+ それぞれ<H2>~<H6>に変換されます。
13
+
14
+ * 見出し1
15
+ ** 見出し2
16
+ *** 見出し3
17
+ **** 見出し4
18
+ ***** 見出し5
19
+ * 見出し1
20
+ ** 見出し2
21
+ *** 見出し3
22
+ **** 見出し4
23
+ ***** 見出し5
24
+
25
+ * ページタイトル
26
+
27
+ ページの一番最初の行に「*」を一つで見出しを書くと、
28
+ その見出しはページタイトルとして機能します。
29
+ 他のページからは、そのページタイトルを使ってリンクすることができます。
30
+
31
+ このページのページIDは「TextFormat」であり、
32
+ [[TextFormat]]
33
+ とすると、このページへのリンクとなります。それと同時に、
34
+ [[書式一覧詳細版]]
35
+ としてリンクすることもできます。
36
+
37
+ しかし、この場合はページタイトルを変更した時にリンクが切れてしまう
38
+ ことになります。ページIDを使ったリンクは、ページタイトルを変更しても、
39
+ リンクを保ちます。また、リンクされる文字列はそのページタイトルが自動的に
40
+ 反映されるようになります。
41
+
42
+ * 箇条書き
43
+ 「-」を行の先頭に書くと箇条書きになります。
44
+
45
+ 「-」は1つから3つまで記述することが可能で入れ子にすることもできます。
46
+
47
+ 「+」を行の先頭に書くと番号付きの箇条書きになります。
48
+
49
+ - 箇条書レベル1
50
+ -- 箇条書レベル2
51
+ --- 箇条書レベル3
52
+ + 順序リスト1
53
+ ++ 順序リスト2
54
+ +++ 順序リスト3
55
+ - 箇条書レベル1
56
+ -- 箇条書レベル2
57
+ --- 箇条書レベル3
58
+ + 順序リスト1
59
+ ++ 順序リスト2
60
+ +++ 順序リスト3
61
+
62
+ * パラグラフ
63
+ 連続した複数行は連結されて1つのパラグラフになります。
64
+
65
+ 空行(改行のみ、またはスペース、タブだけの行)はパラグラフの区切りになります。
66
+
67
+ 例えば、
68
+ こういう風に記述すると、これらの行は
69
+ 1つのパラグラフとして整形されます。
70
+ 例えば、
71
+ こういう風に記述すると、これらの行は
72
+ 1つのパラグラフとして整形されます。
73
+
74
+ * 水平線
75
+ 「=」を行の先頭から4つ書くと水平線(区切り線)になります。
76
+
77
+ この文章と、
78
+ ====
79
+ この文章は、区切られています。
80
+ この文章と、
81
+ ====
82
+ この文章は、区切られています。
83
+
84
+ * 整形済みテキスト
85
+ 行の先頭がスペースまたはタブで始まっていると、その行は整形済みとして扱われます。
86
+ これは、
87
+ 整形済み
88
+ テキストです。
89
+
90
+ 大量の整形済みテキストを表示したい場合は
91
+ {{{
92
+
93
+ }}}
94
+ で囲みます
95
+
96
+ こんな感じです
97
+ {{{
98
+ void main()
99
+ {
100
+ printf("hello, world\n");
101
+ }
102
+ }}}
103
+
104
+ * 引用
105
+ 「&gt;」を行の先頭から書くと
106
+
107
+ * 引用
108
+ 「>」を行の先頭から書くと引用になります。
109
+ > これは引用です。
110
+ > これは引用です。
111
+
112
+ * 用語解説
113
+ コロン「:」を行の先頭に書き、続けて用語:解説文とすると用語解説になります。
114
+ :Wiki:書き込み可能なWebページ
115
+ :QuickML:簡単に作れるメーリングリストシステム
116
+ :Wiki:書き込み可能なWebページ
117
+ :QuickML:簡単に作れるメーリングリストシステム
118
+
119
+ * 表
120
+ 表(テーブル)は「,」で始め、コラム毎に「,」で区切ります。
121
+ ,項目1-1,項目1-2,項目1-3
122
+ ,項目2-1,項目2-2,項目2-3
123
+ ,項目1-1,項目1-2,項目1-3
124
+ ,項目2-1,項目2-2,項目2-3
125
+
126
+ 区切り記号として「|」を使うこともできます。
127
+
128
+ * 文字要素の指定
129
+ 文章中の一部分の文字要素を変化させます。
130
+ - 「'」2個ではさんだ部分は強調されます。
131
+ - 「'」3個ではさんだ部分はさらに強調されます。
132
+ - 「=」2個ではさんだ部分は取消線になります。
133
+ このようにすると''強調''になります。
134
+ そして、このようにすると'''さらに強調'''されます。
135
+ ==なんとなく==取り消し線もサポートしています。
136
+ このようにすると''強調''になります。
137
+ そして、このようにすると'''さらに強調'''されます。
138
+ ==なんとなく==取り消し線もサポートしています。
139
+
140
+ * リンク
141
+ - リンクしたいページ名を2つのカギカッコで囲むと、そのページへのリンクになります。
142
+ 例えば[[FrontPage]]とすると、入口ページへのリンクになります。
143
+ 例えば[[FrontPage]]とすると、入口ページへのリンクになります。
144
+
145
+ * 新規ページの作成
146
+ 上記の方法で他のページへのリンクを作りますが、
147
+ そのとき対象となるページが存在しない場合は、
148
+ そのリンク指定の後に新規ページ作成アイコンがつきます。
149
+ そのアイコンをたどると、そのページを新規作成するページにいきます。
150
+ そのようにして、新しいページを増やしていくことができます。
151
+
152
+ * ページの削除
153
+ テキストを全部消去して保存すると、そのページを削除します。
154
+
155
+ * 任意のURLへのリンク
156
+ 単語|URLを2つのカギカッコで囲むとを任意のURLへのリンクになります。
157
+ [[qwik|http://qwik.jp/]]とかもできます。
158
+ [[qwik|http://qwik.jp/]]とかもできます。
159
+
160
+ このときURLの末尾がjpg,jpeg,png,gifだと、画像がページ中に埋め込まれます。
161
+ (指定した単語がALT要素に設定されます。)
162
+ [[New!|http://img.yahoo.co.jp/images/new2.gif]]
163
+ [[New!|http://img.yahoo.co.jp/images/new2.gif]]
164
+
165
+ * URLへの自動リンク
166
+ パラグラフ中にURLのようなものがあると、自動的にリンクとなります。
167
+ qwikWebのホームページはhttp://qwik.jp/です。
168
+ qwikWebのホームページはhttp://qwik.jp/です。
169
+
170
+ * InterWiki
171
+ InterWikiとは、他のWikiページへ簡単にリンクをはる機能です。
172
+ またその拡張として、GoogleやAmazonなどに簡単にリンクをはる機能も提供します。
173
+ - [[google:qwikWeb]]
174
+ - [[isbn:4797318325]]
175
+ - [[amazon:Wiki]]
176
+ - [[google:qwikWeb]]
177
+ - [[isbn:4797318325]]
178
+ - [[amazon:Wiki]]
179
+
180
+ * プラグイン
181
+ プラグインという仕組みによって、ページ中に小さなプログラムを埋め込むこ
182
+ とができます。システムが提供するプラグインによって、様々な便利な機能を
183
+ 提供することができます。詳しくは、[[QwikWebPlugin]]をごらんください。
184
+
185
+ * 他のWikiシステムとの違い
186
+ いわゆるWikiNameの仕組みは使っていません。必ずカッコで囲む必要があります。
@@ -0,0 +1,23 @@
1
+ * 書式一覧
2
+ 詳細な説明は[[TextFormat]]をごらんください。
3
+ ** 見出し2
4
+ *** 見出し3
5
+ **** 見出し4
6
+ ***** 見出し5
7
+ - 箇条書レベル1
8
+ -- 箇条書レベル2
9
+ --- 箇条書レベル3
10
+ + 順序リスト1
11
+ ++ 順序リスト2
12
+ +++ 順序リスト3
13
+ 整形済みテキスト。
14
+ > 引用。
15
+ :Wiki:書き込み可能なWebページ
16
+ :QuickML:簡単に作れるメーリングリストシステム
17
+ ,項目1-1,項目1-2,項目1-3
18
+ ,項目2-1,項目2-2,項目2-3
19
+ ''強調''、'''さらに強調'''、==取り消し線==
20
+ [[new|http://qwik.jp/.theme/new.png]]
21
+ [[FrontPage]]
22
+ [[Yahoo!|http://www.yahoo.co.jp/]]
23
+ {{recent(1)}}
@@ -0,0 +1,2 @@
1
+ * Title List
2
+ {{title_list}}
@@ -0,0 +1,11 @@
1
+ {{login_status}}
2
+
3
+ {{only_member
4
+ #- {{show_history}}
5
+ #- {{menu(wysiwyg)}}
6
+ - {{presen_switch}}
7
+ - {{menu(newpage)}}
8
+ - {{menu(edit)}}
9
+ #- {{menu(wysiwyg)}}
10
+ }}
11
+ # 管理メニュー
@@ -0,0 +1,3 @@
1
+ * Book Search Link
2
+ ,amazon,http://www.amazon.co.jp/exec/obidos/external-search?tag=q02-22&keyword=,utf8
3
+ ,世田谷区,http://libweb.city.setagaya.tokyo.jp/clis/search?MAXVIEW=100&ITEM1=AB&COMP1=3&KEY1=,sjis
@@ -0,0 +1,9 @@
1
+ 書き方がわからない場合は[[TextFormatSimple]]を参照してください。
2
+ * 見出し
3
+ - 箇条書
4
+ + 順序リスト
5
+ > 引用
6
+ :定義: 言葉の定義
7
+ ,テーブル
8
+ ''強調''
9
+ [[FrontPage]]
@@ -0,0 +1,9 @@
1
+ - * 見出し
2
+ - - 箇条書
3
+ - + 順序リスト
4
+ - > 引用
5
+ - :定義: 言葉の定義
6
+ - ,テーブル
7
+ - ''強調''
8
+ - [[FrontPage]]
9
+ [[もっと詳しい書式|TextFormat]]
@@ -0,0 +1,17 @@
1
+ * Wiki間接続
2
+ Wiki間接続のためのリンク一覧です。
3
+
4
+ * 他のWikiサイト
5
+ ,qwikjp,http://qwik.jp/$1.html,sjis
6
+
7
+ * 一般
8
+ ,google,http://www.google.com/search?num=50&lr=lang_ja&q=,utf8
9
+ ,isbn,http://www.amazon.co.jp/exec/obidos/ASIN/$1/ref=nosim/q02-22,raw
10
+ ,amazon,http://www.amazon.co.jp/exec/obidos/external-search?tag=q02-22&keyword=$1&mode=blended,utf8
11
+
12
+ * Ruby関係
13
+ ,ruby-list,http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/$1,raw
14
+ ,ruby-dev,http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/$1,raw
15
+ ,ruby-ext,http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-ext/$1,raw
16
+ ,ruby-talk,http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/$1,raw
17
+ ,ruby-core,http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/$1,raw
@@ -0,0 +1,8 @@
1
+ * ISBN Link
2
+ ,amazon,http://www.amazon.co.jp/exec/obidos/ASIN/#{isbn2}#{aid}/ref=nosim/
3
+ ,紀伊國屋,http://bookweb.kinokuniya.co.jp/guest/cgi-bin/wshosea.cgi?W-ISBN=#{isbn2}
4
+ ,旭屋,http://www.netdirect.co.jp/search/ISSSchDetail.asp?ISBN=#{isbn2}
5
+ ,楽天,http://bsearch.rakuten.co.jp/Btitles?KEY=#{isbn2}
6
+ ,世田谷区,http://libweb.city.setagaya.tokyo.jp/clis/search?ISBN=#{isbn2}
7
+ ,i,http://libweb.city.setagaya.tokyo.jp/clis/searchi?ISBN=#{isbn2}
8
+ ,.,http://libweb.city.setagaya.tokyo.jp/i/
@@ -0,0 +1,4 @@
1
+ * メンバーの追加
2
+ Wikiを利用するメンバーを追加します。
3
+ {{member_add}}
4
+ このページから追加するメンバーはWikiページの読み書きはできますが、メーリングリストには追加されません。
@@ -0,0 +1,2 @@
1
+ * メンバー一覧
2
+ {{member_list}}
@@ -0,0 +1,2 @@
1
+ * メンバー一覧 CSV版
2
+ {{member_list_csv}}
@@ -0,0 +1,7 @@
1
+ #{{rrefs}}
2
+
3
+ {{last_modified}}
4
+
5
+ {{generate_time}}
6
+
7
+ {{files_site_total}}
@@ -0,0 +1,15 @@
1
+ * Menu
2
+ - [[FrontPage]]
3
+ - [[TitleList]]
4
+ - [[RecentList]]
5
+ - [[TextFormat]]
6
+
7
+ {{side_search_form}}
8
+
9
+ #{{side_plan}}
10
+ #{{plan}}
11
+
12
+ {{side_recent(10)}}
13
+
14
+ {{rss}}
15
+ #{{atom}}
@@ -0,0 +1,30 @@
1
+ * 設定
2
+ :open:false
3
+ これをtrueにすると、公開Wikiになります。
4
+ :theme:qwikgreen
5
+ テーマを変更します。qwikgreen, qwikcyan, qwikborderから選べます。
6
+ :sitename:
7
+ タイトルに表示されるサイト名を指定できます。
8
+ :reportmail:daily
9
+ レポートメール送信間隔をhourly, daily, weeklyから選べます。falseにすると送られなくなります。
10
+ :redirect:false
11
+ 外部へのリンクをリダイレクトするかどうかを選べます。trueにすると、redirectしてから外部リンクへ飛ぶようになります。
12
+ * 高度な設定
13
+ 以下は高度な設定です。詳しい設定方法はソースを参照してください。
14
+ :aid: q02-22
15
+ Amazon Associate IDです。
16
+ :ml_life_time: 2678400
17
+ 60 * 60 * 24 * 31、1ヶ月。
18
+ :reportfrom:
19
+ ページの編集記録のfromです。
20
+ :titlelink: false
21
+ section titleに、そのsectionへのリンクを付与するかどうかです。
22
+ :siteurl:
23
+ siteのURL自体を指定できます。外部URLからqwikWebのサービスを使えます。
24
+ :siteml:
25
+ siteに対応するMLのアドレスです。
26
+ :max_file_size: 10485760
27
+ サイトに添付できるファイルの大きさの上限です。10 * 1024 * 1024、10MB。
28
+ :page_title_first: true
29
+ #:page_title_first: false
30
+ ページのタイトルを、ページタイトル、サイト名の順にします。
@@ -0,0 +1,3 @@
1
+ powered by [[qwikWeb|http://qwik.jp/]]
2
+
3
+ # フッター
File without changes
@@ -0,0 +1,2 @@
1
+ * サイトログ
2
+ {{sitelog}}
File without changes
@@ -0,0 +1,2 @@
1
+ * サイトメニュー
2
+ [[サイト管理|site_management.describe]]をご覧下さい
@@ -0,0 +1,3 @@
1
+ * 検索
2
+ # Moved to [[.search]].
3
+ [[.search]]に移動しました。
@@ -0,0 +1,9 @@
1
+ * サイトテーマ
2
+ このページに「'''theme.css'''」というファイルを添付すると、
3
+ そのファイルがこのサイトのテーマとして使われます。
4
+
5
+ CSSファイルに記述できる要素は制限されています。
6
+ [[PluginStyle.describe]]を参照してください。
7
+
8
+ {{warning_for_css}}
9
+
@@ -0,0 +1,2 @@
1
+ * 書式一覧
2
+ [[TextFormat]]に移動しました。
@@ -0,0 +1,10 @@
1
+ RUBY=ruby
2
+
3
+ all:
4
+ $(RUBY) -I../../lib ../../lib/qwik/template-generator.rb --generate
5
+
6
+ clean:
7
+ rm *.rb
8
+
9
+ x:
10
+ -chmod 644 *.html *.rb Makefile
@@ -0,0 +1,22 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+ <html xmlns:v="urn:schemas-microsoft-com:vml">
3
+ <head></head>
4
+ <body onload="qwik_onload();">
5
+ <div class="container">
6
+ <div class="header">
7
+ <h1></h1>
8
+ </div><!--header-->
9
+ <div class="main">
10
+ <div class="edit"></div><!--edit-->
11
+ <div class="attach"></div><!--attach-->
12
+ </div><!--main-->
13
+ <div class="sidebar">
14
+ <div class="edit_help"></div><!--edit_help-->
15
+ <div class="edit_history"></div><!--edit_history-->
16
+ </div><!--sidebar-->
17
+ <div class="footer">
18
+ <span title="__qwik_page_generate_time__">powered by <a href="http://qwik.jp/">qwikWeb</a></span>
19
+ </div><!--footer-->
20
+ </div><!--container-->
21
+ </body>
22
+ </html>
@@ -0,0 +1,40 @@
1
+ # This file is automatically generated.
2
+ # DO NOT EDIT THIS FILE.
3
+
4
+ module Qwik
5
+ class Template
6
+ def self.generate_edit
7
+ return [[:"!DOCTYPE",
8
+ "html",
9
+ "PUBLIC",
10
+ "-//W3C//DTD HTML 4.01 Transitional//EN",
11
+ "http://www.w3.org/TR/html4/loose.dtd"],
12
+ [:html,
13
+ [:head],
14
+ [:body,
15
+ {:onload=>"qwik_onload();"},
16
+ [:div,
17
+ {:class=>"container"},
18
+ [:div, {:class=>"header"}, [:h1]],
19
+ [:"!--", "header"],
20
+ [:div,
21
+ {:class=>"main"},
22
+ [:div, {:class=>"edit"}],
23
+ [:"!--", "edit"],
24
+ [:div, {:class=>"attach"}],
25
+ [:"!--", "attach"]],
26
+ [:"!--", "main"],
27
+ [:div,
28
+ {:class=>"sidebar"},
29
+ [:div, {:class=>"edit_help"}],
30
+ [:"!--", "edit_help"],
31
+ [:div, {:class=>"edit_history"}],
32
+ [:"!--", "edit_history"]],
33
+ [:"!--", "sidebar"],
34
+ [:div, {:class=>"footer"}],
35
+ [:"!--", "footer"]],
36
+ [:"!--", "container"]]]]
37
+
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,23 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+ <html xmlns:v="urn:schemas-microsoft-com:vml">
3
+ <head>
4
+ <link rel="stylesheet" type="text/css" href=".theme/css/base.css" media="screen,tv" />
5
+ <link rel="stylesheet" type="text/css" href=".theme/qwikeditor/qwikeditor.css" media="screen,tv" />
6
+ </head>
7
+ <body onload="qwik_onload();">
8
+ <div class="container">
9
+ <div class="header">
10
+ <h1></h1>
11
+ </div><!--header-->
12
+ <div class="message">
13
+ </div><!--message-->
14
+ <div class="main">
15
+ </div><!--main-->
16
+ <div class="sidebar">
17
+ </div><!--sidebar-->
18
+ <div class="footer">
19
+ <span title="__qwik_page_generate_time__">powered by <a href="http://qwik.jp/">qwikWeb</a></span>
20
+ </div><!--footer-->
21
+ </div><!--container-->
22
+ </body>
23
+ </html>