qwik2md 0.1.0

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 (335) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.travis.yml +4 -0
  4. data/Gemfile +4 -0
  5. data/README.md +36 -0
  6. data/Rakefile +10 -0
  7. data/bin/console +14 -0
  8. data/bin/setup +8 -0
  9. data/exe/qwik2md +17 -0
  10. data/lib/qwik2md/version.rb +3 -0
  11. data/lib/qwik2md.rb +39 -0
  12. data/qwik2md.gemspec +30 -0
  13. data/vendor/qwik/AUTHORS +10 -0
  14. data/vendor/qwik/COPYING +340 -0
  15. data/vendor/qwik/COPYRIGHT +346 -0
  16. data/vendor/qwik/lib/qwik/Makefile +63 -0
  17. data/vendor/qwik/lib/qwik/Rakefile +17 -0
  18. data/vendor/qwik/lib/qwik/act-aa.rb +83 -0
  19. data/vendor/qwik/lib/qwik/act-archive.rb +386 -0
  20. data/vendor/qwik/lib/qwik/act-attach.rb +304 -0
  21. data/vendor/qwik/lib/qwik/act-backup.rb +236 -0
  22. data/vendor/qwik/lib/qwik/act-basic.rb +325 -0
  23. data/vendor/qwik/lib/qwik/act-book.rb +161 -0
  24. data/vendor/qwik/lib/qwik/act-calc.rb +371 -0
  25. data/vendor/qwik/lib/qwik/act-charset.rb +251 -0
  26. data/vendor/qwik/lib/qwik/act-christel.rb +112 -0
  27. data/vendor/qwik/lib/qwik/act-chronology.rb +149 -0
  28. data/vendor/qwik/lib/qwik/act-code.rb +155 -0
  29. data/vendor/qwik/lib/qwik/act-comment.rb +554 -0
  30. data/vendor/qwik/lib/qwik/act-config.rb +49 -0
  31. data/vendor/qwik/lib/qwik/act-counter.rb +125 -0
  32. data/vendor/qwik/lib/qwik/act-day.rb +96 -0
  33. data/vendor/qwik/lib/qwik/act-describe.rb +135 -0
  34. data/vendor/qwik/lib/qwik/act-diary.rb +109 -0
  35. data/vendor/qwik/lib/qwik/act-edit.rb +317 -0
  36. data/vendor/qwik/lib/qwik/act-embed-html.rb +296 -0
  37. data/vendor/qwik/lib/qwik/act-emode.rb +150 -0
  38. data/vendor/qwik/lib/qwik/act-event.rb +187 -0
  39. data/vendor/qwik/lib/qwik/act-file.rb +303 -0
  40. data/vendor/qwik/lib/qwik/act-files.rb +771 -0
  41. data/vendor/qwik/lib/qwik/act-getpass.rb +295 -0
  42. data/vendor/qwik/lib/qwik/act-history.rb +136 -0
  43. data/vendor/qwik/lib/qwik/act-html.rb +204 -0
  44. data/vendor/qwik/lib/qwik/act-httpauth.rb +147 -0
  45. data/vendor/qwik/lib/qwik/act-include.rb +142 -0
  46. data/vendor/qwik/lib/qwik/act-interwiki.rb +189 -0
  47. data/vendor/qwik/lib/qwik/act-isearch.rb +109 -0
  48. data/vendor/qwik/lib/qwik/act-keywords.rb +137 -0
  49. data/vendor/qwik/lib/qwik/act-lang.rb +81 -0
  50. data/vendor/qwik/lib/qwik/act-license.rb +63 -0
  51. data/vendor/qwik/lib/qwik/act-list.rb +287 -0
  52. data/vendor/qwik/lib/qwik/act-login.rb +410 -0
  53. data/vendor/qwik/lib/qwik/act-logout.rb +60 -0
  54. data/vendor/qwik/lib/qwik/act-mail.rb +159 -0
  55. data/vendor/qwik/lib/qwik/act-map.rb +292 -0
  56. data/vendor/qwik/lib/qwik/act-md5.rb +42 -0
  57. data/vendor/qwik/lib/qwik/act-mdlb.rb +741 -0
  58. data/vendor/qwik/lib/qwik/act-media.rb +416 -0
  59. data/vendor/qwik/lib/qwik/act-member.rb +157 -0
  60. data/vendor/qwik/lib/qwik/act-menu.rb +142 -0
  61. data/vendor/qwik/lib/qwik/act-metadata.rb +323 -0
  62. data/vendor/qwik/lib/qwik/act-mlsubmitform.rb +49 -0
  63. data/vendor/qwik/lib/qwik/act-monitor.rb +167 -0
  64. data/vendor/qwik/lib/qwik/act-new.rb +418 -0
  65. data/vendor/qwik/lib/qwik/act-pagelist.rb +248 -0
  66. data/vendor/qwik/lib/qwik/act-password.rb +145 -0
  67. data/vendor/qwik/lib/qwik/act-plan.rb +210 -0
  68. data/vendor/qwik/lib/qwik/act-povray.rb +230 -0
  69. data/vendor/qwik/lib/qwik/act-presen.rb +380 -0
  70. data/vendor/qwik/lib/qwik/act-redirect.rb +133 -0
  71. data/vendor/qwik/lib/qwik/act-ring.rb +1071 -0
  72. data/vendor/qwik/lib/qwik/act-rrefs.rb +255 -0
  73. data/vendor/qwik/lib/qwik/act-ruby.rb +116 -0
  74. data/vendor/qwik/lib/qwik/act-sample.rb +170 -0
  75. data/vendor/qwik/lib/qwik/act-save.rb +295 -0
  76. data/vendor/qwik/lib/qwik/act-schedule.rb +374 -0
  77. data/vendor/qwik/lib/qwik/act-search.rb +180 -0
  78. data/vendor/qwik/lib/qwik/act-searchwords.rb +51 -0
  79. data/vendor/qwik/lib/qwik/act-sendpass.rb +83 -0
  80. data/vendor/qwik/lib/qwik/act-site.rb +89 -0
  81. data/vendor/qwik/lib/qwik/act-sitebackup.rb +419 -0
  82. data/vendor/qwik/lib/qwik/act-sitelog.rb +118 -0
  83. data/vendor/qwik/lib/qwik/act-smil.rb +299 -0
  84. data/vendor/qwik/lib/qwik/act-status.rb +220 -0
  85. data/vendor/qwik/lib/qwik/act-style.rb +608 -0
  86. data/vendor/qwik/lib/qwik/act-table.rb +263 -0
  87. data/vendor/qwik/lib/qwik/act-tableform.rb +241 -0
  88. data/vendor/qwik/lib/qwik/act-tag.rb +103 -0
  89. data/vendor/qwik/lib/qwik/act-text.rb +70 -0
  90. data/vendor/qwik/lib/qwik/act-textarea.rb +164 -0
  91. data/vendor/qwik/lib/qwik/act-theme.rb +346 -0
  92. data/vendor/qwik/lib/qwik/act-toc.rb +112 -0
  93. data/vendor/qwik/lib/qwik/act-typekey.rb +198 -0
  94. data/vendor/qwik/lib/qwik/act-under-const.rb +94 -0
  95. data/vendor/qwik/lib/qwik/act-webservice.rb +321 -0
  96. data/vendor/qwik/lib/qwik/act-wema.rb +558 -0
  97. data/vendor/qwik/lib/qwik/act-wysiwyg.rb +238 -0
  98. data/vendor/qwik/lib/qwik/action.rb +325 -0
  99. data/vendor/qwik/lib/qwik/autoreload.rb +98 -0
  100. data/vendor/qwik/lib/qwik/bench-bench.rb +28 -0
  101. data/vendor/qwik/lib/qwik/bench-emode.rb +47 -0
  102. data/vendor/qwik/lib/qwik/bench-format-xml.rb +70 -0
  103. data/vendor/qwik/lib/qwik/bench-large-table.rb +62 -0
  104. data/vendor/qwik/lib/qwik/bench-md5.rb +14 -0
  105. data/vendor/qwik/lib/qwik/bench-module-session.rb +19 -0
  106. data/vendor/qwik/lib/qwik/bench-page.rb +50 -0
  107. data/vendor/qwik/lib/qwik/bench-s-md5.rb +28 -0
  108. data/vendor/qwik/lib/qwik/bench-session.rb +25 -0
  109. data/vendor/qwik/lib/qwik/bench-textformat.rb +31 -0
  110. data/vendor/qwik/lib/qwik/catalog-factory.rb +91 -0
  111. data/vendor/qwik/lib/qwik/catalog-ja.rb +479 -0
  112. data/vendor/qwik/lib/qwik/catalog-ml-ja.rb +145 -0
  113. data/vendor/qwik/lib/qwik/check-act-monitor.rb +112 -0
  114. data/vendor/qwik/lib/qwik/check-act-monitor2.rb +46 -0
  115. data/vendor/qwik/lib/qwik/check-act-theme.rb +27 -0
  116. data/vendor/qwik/lib/qwik/check-event.rb +112 -0
  117. data/vendor/qwik/lib/qwik/check-event2.rb +55 -0
  118. data/vendor/qwik/lib/qwik/check-htree-rexml.rb +77 -0
  119. data/vendor/qwik/lib/qwik/check-htree.rb +51 -0
  120. data/vendor/qwik/lib/qwik/check-libxml.rb +135 -0
  121. data/vendor/qwik/lib/qwik/check-many-pages.rb +47 -0
  122. data/vendor/qwik/lib/qwik/check-monitor.rb +33 -0
  123. data/vendor/qwik/lib/qwik/check-observer.rb +67 -0
  124. data/vendor/qwik/lib/qwik/check-server.rb +61 -0
  125. data/vendor/qwik/lib/qwik/check-uuencode.rb +33 -0
  126. data/vendor/qwik/lib/qwik/check-webdav.rb +65 -0
  127. data/vendor/qwik/lib/qwik/check-xml-xpath.rb +27 -0
  128. data/vendor/qwik/lib/qwik/common-backtrace.rb +94 -0
  129. data/vendor/qwik/lib/qwik/common-basic.rb +111 -0
  130. data/vendor/qwik/lib/qwik/common-condition.rb +142 -0
  131. data/vendor/qwik/lib/qwik/common-error.rb +48 -0
  132. data/vendor/qwik/lib/qwik/common-gettext.rb +50 -0
  133. data/vendor/qwik/lib/qwik/common-javascript.rb +45 -0
  134. data/vendor/qwik/lib/qwik/common-notice.rb +132 -0
  135. data/vendor/qwik/lib/qwik/common-plain.rb +105 -0
  136. data/vendor/qwik/lib/qwik/common-plugin.rb +111 -0
  137. data/vendor/qwik/lib/qwik/common-res.rb +76 -0
  138. data/vendor/qwik/lib/qwik/common-resolve.rb +92 -0
  139. data/vendor/qwik/lib/qwik/common-send.rb +171 -0
  140. data/vendor/qwik/lib/qwik/common-session.rb +139 -0
  141. data/vendor/qwik/lib/qwik/common-surface.rb +261 -0
  142. data/vendor/qwik/lib/qwik/common-url.rb +90 -0
  143. data/vendor/qwik/lib/qwik/compat/Makefile +12 -0
  144. data/vendor/qwik/lib/qwik/compat/add_load_path.rb +1 -0
  145. data/vendor/qwik/lib/qwik/config.rb +299 -0
  146. data/vendor/qwik/lib/qwik/db-b-backup.rb +142 -0
  147. data/vendor/qwik/lib/qwik/db-backup.rb +184 -0
  148. data/vendor/qwik/lib/qwik/db-berkeley.rb +306 -0
  149. data/vendor/qwik/lib/qwik/db-filesystem.rb +305 -0
  150. data/vendor/qwik/lib/qwik/db-indexer.rb +154 -0
  151. data/vendor/qwik/lib/qwik/db-searchwords.rb +238 -0
  152. data/vendor/qwik/lib/qwik/description-ja.rb +267 -0
  153. data/vendor/qwik/lib/qwik/description.rb +256 -0
  154. data/vendor/qwik/lib/qwik/dev-add-copyright.rb +23 -0
  155. data/vendor/qwik/lib/qwik/dev-backup.rb +24 -0
  156. data/vendor/qwik/lib/qwik/dev-bench.rb +175 -0
  157. data/vendor/qwik/lib/qwik/dev-calctime.rb +52 -0
  158. data/vendor/qwik/lib/qwik/dev-css-compressor.rb +60 -0
  159. data/vendor/qwik/lib/qwik/dev-extract-catalog.rb +102 -0
  160. data/vendor/qwik/lib/qwik/dev-js-compressor.rb +73 -0
  161. data/vendor/qwik/lib/qwik/dev-release.rb +235 -0
  162. data/vendor/qwik/lib/qwik/dev-replace.rb +353 -0
  163. data/vendor/qwik/lib/qwik/dev-sendmail.rb +25 -0
  164. data/vendor/qwik/lib/qwik/farm.rb +283 -0
  165. data/vendor/qwik/lib/qwik/gettext.rb +56 -0
  166. data/vendor/qwik/lib/qwik/group-cond.rb +157 -0
  167. data/vendor/qwik/lib/qwik/group-config.rb +247 -0
  168. data/vendor/qwik/lib/qwik/group-confirm.rb +147 -0
  169. data/vendor/qwik/lib/qwik/group-db.rb +326 -0
  170. data/vendor/qwik/lib/qwik/group-mail.rb +195 -0
  171. data/vendor/qwik/lib/qwik/group-member.rb +307 -0
  172. data/vendor/qwik/lib/qwik/group-sendmail.rb +231 -0
  173. data/vendor/qwik/lib/qwik/group-site.rb +374 -0
  174. data/vendor/qwik/lib/qwik/group-sweep.rb +63 -0
  175. data/vendor/qwik/lib/qwik/group.rb +157 -0
  176. data/vendor/qwik/lib/qwik/helper.rb +6 -0
  177. data/vendor/qwik/lib/qwik/html-generator.rb +104 -0
  178. data/vendor/qwik/lib/qwik/html-to-wabisabi.rb +148 -0
  179. data/vendor/qwik/lib/qwik/htree-diff.rb +87 -0
  180. data/vendor/qwik/lib/qwik/htree-format-xml.rb +57 -0
  181. data/vendor/qwik/lib/qwik/htree-generator.rb +144 -0
  182. data/vendor/qwik/lib/qwik/htree-get.rb +251 -0
  183. data/vendor/qwik/lib/qwik/htree-html-generator.rb +179 -0
  184. data/vendor/qwik/lib/qwik/htree-template.rb +263 -0
  185. data/vendor/qwik/lib/qwik/htree-to-wabisabi.rb +171 -0
  186. data/vendor/qwik/lib/qwik/loadlib.rb +79 -0
  187. data/vendor/qwik/lib/qwik/logger.rb +115 -0
  188. data/vendor/qwik/lib/qwik/mail-body.rb +171 -0
  189. data/vendor/qwik/lib/qwik/mail-header.rb +474 -0
  190. data/vendor/qwik/lib/qwik/mail-multipart.rb +193 -0
  191. data/vendor/qwik/lib/qwik/mail-parse.rb +147 -0
  192. data/vendor/qwik/lib/qwik/mail.rb +341 -0
  193. data/vendor/qwik/lib/qwik/mailaddress.rb +83 -0
  194. data/vendor/qwik/lib/qwik/mdlb-model.rb +81 -0
  195. data/vendor/qwik/lib/qwik/mdlb-sample.rb +324 -0
  196. data/vendor/qwik/lib/qwik/ml-catalog-factory.rb +27 -0
  197. data/vendor/qwik/lib/qwik/ml-exception.rb +15 -0
  198. data/vendor/qwik/lib/qwik/ml-generator.rb +28 -0
  199. data/vendor/qwik/lib/qwik/ml-gettext.rb +137 -0
  200. data/vendor/qwik/lib/qwik/ml-logger.rb +82 -0
  201. data/vendor/qwik/lib/qwik/ml-memory.rb +65 -0
  202. data/vendor/qwik/lib/qwik/ml-msg-validator.rb +86 -0
  203. data/vendor/qwik/lib/qwik/ml-processor.rb +609 -0
  204. data/vendor/qwik/lib/qwik/ml-quickml-server.rb +122 -0
  205. data/vendor/qwik/lib/qwik/ml-sendmail.rb +0 -0
  206. data/vendor/qwik/lib/qwik/ml-server.rb +107 -0
  207. data/vendor/qwik/lib/qwik/ml-session.rb +348 -0
  208. data/vendor/qwik/lib/qwik/ml-sweeper.rb +101 -0
  209. data/vendor/qwik/lib/qwik/mock-logger.rb +65 -0
  210. data/vendor/qwik/lib/qwik/mock-sendmail.rb +78 -0
  211. data/vendor/qwik/lib/qwik/mock-socket.rb +82 -0
  212. data/vendor/qwik/lib/qwik/modulobe.rb +406 -0
  213. data/vendor/qwik/lib/qwik/mongrel-server.rb +72 -0
  214. data/vendor/qwik/lib/qwik/page-files.rb +249 -0
  215. data/vendor/qwik/lib/qwik/page-generate.rb +82 -0
  216. data/vendor/qwik/lib/qwik/page-get.rb +262 -0
  217. data/vendor/qwik/lib/qwik/page-images.rb +168 -0
  218. data/vendor/qwik/lib/qwik/page-put.rb +128 -0
  219. data/vendor/qwik/lib/qwik/page-rrefs.rb +154 -0
  220. data/vendor/qwik/lib/qwik/page-title.rb +0 -0
  221. data/vendor/qwik/lib/qwik/page-wikidb.rb +234 -0
  222. data/vendor/qwik/lib/qwik/page.rb +67 -0
  223. data/vendor/qwik/lib/qwik/pages.rb +444 -0
  224. data/vendor/qwik/lib/qwik/parse-plugin.rb +249 -0
  225. data/vendor/qwik/lib/qwik/parser-emode.rb +116 -0
  226. data/vendor/qwik/lib/qwik/parser-inline.rb +272 -0
  227. data/vendor/qwik/lib/qwik/parser.rb +349 -0
  228. data/vendor/qwik/lib/qwik/password.rb +183 -0
  229. data/vendor/qwik/lib/qwik/periodic.rb +79 -0
  230. data/vendor/qwik/lib/qwik/qp.rb +56 -0
  231. data/vendor/qwik/lib/qwik/qwik-service.rb +341 -0
  232. data/vendor/qwik/lib/qwik/qwik.rb +5 -0
  233. data/vendor/qwik/lib/qwik/qwikweb-adduser.rb +34 -0
  234. data/vendor/qwik/lib/qwik/qwikweb-catalog-validator.rb +110 -0
  235. data/vendor/qwik/lib/qwik/qwikweb-incgen.rb +28 -0
  236. data/vendor/qwik/lib/qwik/qwikweb-makesite.rb +41 -0
  237. data/vendor/qwik/lib/qwik/qwikweb-server.rb +44 -0
  238. data/vendor/qwik/lib/qwik/qwikweb-showpassword.rb +26 -0
  239. data/vendor/qwik/lib/qwik/qwikweb-watchlog.rb +67 -0
  240. data/vendor/qwik/lib/qwik/request-path.rb +304 -0
  241. data/vendor/qwik/lib/qwik/request-ua.rb +76 -0
  242. data/vendor/qwik/lib/qwik/request-webrick.rb +81 -0
  243. data/vendor/qwik/lib/qwik/request.rb +91 -0
  244. data/vendor/qwik/lib/qwik/resolve-tdiary.rb +292 -0
  245. data/vendor/qwik/lib/qwik/resolve.rb +121 -0
  246. data/vendor/qwik/lib/qwik/response.rb +228 -0
  247. data/vendor/qwik/lib/qwik/server-memory.rb +57 -0
  248. data/vendor/qwik/lib/qwik/server-webrick.rb +102 -0
  249. data/vendor/qwik/lib/qwik/server.rb +252 -0
  250. data/vendor/qwik/lib/qwik/site-config.rb +149 -0
  251. data/vendor/qwik/lib/qwik/site-db.rb +136 -0
  252. data/vendor/qwik/lib/qwik/site-event.rb +162 -0
  253. data/vendor/qwik/lib/qwik/site-files.rb +86 -0
  254. data/vendor/qwik/lib/qwik/site-group.rb +103 -0
  255. data/vendor/qwik/lib/qwik/site-index.rb +47 -0
  256. data/vendor/qwik/lib/qwik/site-log.rb +64 -0
  257. data/vendor/qwik/lib/qwik/site-member.rb +230 -0
  258. data/vendor/qwik/lib/qwik/site-monitor.rb +97 -0
  259. data/vendor/qwik/lib/qwik/site-pages.rb +62 -0
  260. data/vendor/qwik/lib/qwik/site-plan.rb +139 -0
  261. data/vendor/qwik/lib/qwik/site-report.rb +282 -0
  262. data/vendor/qwik/lib/qwik/site-resolve.rb +230 -0
  263. data/vendor/qwik/lib/qwik/site-rrefs.rb +18 -0
  264. data/vendor/qwik/lib/qwik/site-search.rb +180 -0
  265. data/vendor/qwik/lib/qwik/site-timeline.rb +153 -0
  266. data/vendor/qwik/lib/qwik/site-url.rb +189 -0
  267. data/vendor/qwik/lib/qwik/site.rb +76 -0
  268. data/vendor/qwik/lib/qwik/smil-time.rb +105 -0
  269. data/vendor/qwik/lib/qwik/smtp-session.rb +331 -0
  270. data/vendor/qwik/lib/qwik/template-generator.rb +149 -0
  271. data/vendor/qwik/lib/qwik/template.rb +85 -0
  272. data/vendor/qwik/lib/qwik/test-common.rb +10 -0
  273. data/vendor/qwik/lib/qwik/test-ml-info.rb +225 -0
  274. data/vendor/qwik/lib/qwik/test-module-ml.rb +142 -0
  275. data/vendor/qwik/lib/qwik/test-module-path.rb +110 -0
  276. data/vendor/qwik/lib/qwik/test-module-public.rb +70 -0
  277. data/vendor/qwik/lib/qwik/test-module-server.rb +98 -0
  278. data/vendor/qwik/lib/qwik/test-module-session.rb +264 -0
  279. data/vendor/qwik/lib/qwik/test-module-suite.rb +91 -0
  280. data/vendor/qwik/lib/qwik/test-ms-applemail.rb +59 -0
  281. data/vendor/qwik/lib/qwik/test-ms-attach.rb +174 -0
  282. data/vendor/qwik/lib/qwik/test-ms-basic.rb +40 -0
  283. data/vendor/qwik/lib/qwik/test-ms-close.rb +35 -0
  284. data/vendor/qwik/lib/qwik/test-ms-confirm.rb +75 -0
  285. data/vendor/qwik/lib/qwik/test-ms-ignore-spam.rb +57 -0
  286. data/vendor/qwik/lib/qwik/test-ms-japanese.rb +97 -0
  287. data/vendor/qwik/lib/qwik/test-ms-jfilename.rb +82 -0
  288. data/vendor/qwik/lib/qwik/test-ms-large.rb +58 -0
  289. data/vendor/qwik/lib/qwik/test-ms-member.rb +103 -0
  290. data/vendor/qwik/lib/qwik/test-ms-multipart.rb +84 -0
  291. data/vendor/qwik/lib/qwik/test-ms-org.rb +129 -0
  292. data/vendor/qwik/lib/qwik/test-ms-plan.rb +130 -0
  293. data/vendor/qwik/lib/qwik/test-ms-post.rb +53 -0
  294. data/vendor/qwik/lib/qwik/test-ms-quopri.rb +76 -0
  295. data/vendor/qwik/lib/qwik/test-sub-quopri.rb +45 -0
  296. data/vendor/qwik/lib/qwik/test-submit-base64.rb +59 -0
  297. data/vendor/qwik/lib/qwik/test-submit-forward.rb +61 -0
  298. data/vendor/qwik/lib/qwik/test-submit-html-mail.rb +52 -0
  299. data/vendor/qwik/lib/qwik/test-submit-japanese.rb +135 -0
  300. data/vendor/qwik/lib/qwik/test-submit-jfilename.rb +144 -0
  301. data/vendor/qwik/lib/qwik/test-submit-uuencode.rb +71 -0
  302. data/vendor/qwik/lib/qwik/test-suite-all.rb +8 -0
  303. data/vendor/qwik/lib/qwik/test-suite-basic.rb +9 -0
  304. data/vendor/qwik/lib/qwik/test-suite-ml.rb +9 -0
  305. data/vendor/qwik/lib/qwik/test-typekey.rb +64 -0
  306. data/vendor/qwik/lib/qwik/testunit.rb +45 -0
  307. data/vendor/qwik/lib/qwik/tokenizer-inline.rb +288 -0
  308. data/vendor/qwik/lib/qwik/tokenizer.rb +331 -0
  309. data/vendor/qwik/lib/qwik/typekey.rb +160 -0
  310. data/vendor/qwik/lib/qwik/util-basic.rb +135 -0
  311. data/vendor/qwik/lib/qwik/util-charset.rb +331 -0
  312. data/vendor/qwik/lib/qwik/util-css.rb +56 -0
  313. data/vendor/qwik/lib/qwik/util-csv-tokenizer.rb +113 -0
  314. data/vendor/qwik/lib/qwik/util-filename.rb +112 -0
  315. data/vendor/qwik/lib/qwik/util-pathname.rb +202 -0
  316. data/vendor/qwik/lib/qwik/util-pid.rb +58 -0
  317. data/vendor/qwik/lib/qwik/util-safe.rb +67 -0
  318. data/vendor/qwik/lib/qwik/util-sendmail.rb +273 -0
  319. data/vendor/qwik/lib/qwik/util-string.rb +202 -0
  320. data/vendor/qwik/lib/qwik/util-time.rb +125 -0
  321. data/vendor/qwik/lib/qwik/util-webrick.rb +176 -0
  322. data/vendor/qwik/lib/qwik/version.rb +11 -0
  323. data/vendor/qwik/lib/qwik/wabisabi-basic.rb +163 -0
  324. data/vendor/qwik/lib/qwik/wabisabi-diff.rb +130 -0
  325. data/vendor/qwik/lib/qwik/wabisabi-format-xml.rb +310 -0
  326. data/vendor/qwik/lib/qwik/wabisabi-generator.rb +262 -0
  327. data/vendor/qwik/lib/qwik/wabisabi-index.rb +174 -0
  328. data/vendor/qwik/lib/qwik/wabisabi-table.rb +212 -0
  329. data/vendor/qwik/lib/qwik/wabisabi-template.rb +295 -0
  330. data/vendor/qwik/lib/qwik/wabisabi-to-htree.rb +111 -0
  331. data/vendor/qwik/lib/qwik/wabisabi-to-wiki.rb +690 -0
  332. data/vendor/qwik/lib/qwik/wabisabi-traverse.rb +207 -0
  333. data/vendor/qwik/lib/qwik/wabisabi-validator.rb +116 -0
  334. data/vendor/qwik/lib/qwik/wabisabi.rb +5 -0
  335. metadata +492 -0
@@ -0,0 +1,154 @@
1
+ # Copyright (C) 2003-2006 Kouichirou Eto, All rights reserved.
2
+ # This is free software with ABSOLUTELY NO WARRANTY.
3
+ # You can redistribute it and/or modify it under the terms of the GNU GPL 2.
4
+
5
+ begin
6
+ # require 'senna'
7
+ # $have_senna_so = true
8
+ rescue LoadError
9
+ $have_senna_so = false
10
+ end
11
+ $have_senna_so = false
12
+
13
+ $LOAD_PATH.unshift '..' unless $LOAD_PATH.include? '..'
14
+ require 'qwik/util-pathname'
15
+
16
+ module Qwik
17
+ class DBIndexer
18
+ def initialize(path)
19
+ @path = path
20
+
21
+ @index = nil
22
+ return if ! $have_senna_so
23
+
24
+ @cache_path = @path+'.cache'
25
+ @index_path = @cache_path+'index'
26
+ check_directory
27
+
28
+ @index = Senna::Index.new((@cache_path+'index').to_s)
29
+ end
30
+
31
+ def check(k, v)
32
+ return update(k, v)
33
+ end
34
+
35
+ def put(k, v, time=nil)
36
+ return update(k, v)
37
+ end
38
+
39
+ def update(k, v)
40
+ return if @index.nil?
41
+
42
+ # Try to read old content.
43
+ pa = path(k)
44
+ old = nil
45
+ old = pa.get if pa.exist?
46
+
47
+ # Avoid \0 from its contents.
48
+ v = v.gsub("\0", '')if v.include?("\0") # FIXME: Too ad hoc.
49
+
50
+ return false if v == old # Not necessary to update.
51
+
52
+ result = @index.upd(k, old, v) # FIXME: Take care of result?
53
+
54
+ # Store new value to cached content.
55
+ check_directory
56
+ pa.open('wb') {|f| f.print(v) }
57
+
58
+ return result
59
+ end
60
+
61
+ def search(key)
62
+ return nil if @index.nil?
63
+
64
+ records = @index.sel(key)
65
+ return [] if records.nil? || records.nhits == 0
66
+
67
+ ar = []
68
+ while res = records.next
69
+ ar << res
70
+ end
71
+ return ar
72
+ end
73
+
74
+ private
75
+
76
+ def check_directory
77
+ @cache_path.check_directory
78
+ @index_path.check_directory
79
+ end
80
+
81
+ def path(k)
82
+ return @index_path+(k+'.txt')
83
+ end
84
+ end
85
+ end
86
+
87
+ if $0 == __FILE__
88
+ require 'qwik/testunit'
89
+ require 'qwik/config'
90
+ require 'qwik/test-module-path'
91
+ require 'qwik/db-filesystem'
92
+ $test = true
93
+ end
94
+
95
+ if defined?($test) && $test
96
+ class TestDBIndexer < Test::Unit::TestCase
97
+ def setup_db
98
+ config = Qwik::Config.new
99
+ spath = config.super_dir.path
100
+ path = './.test/'.path
101
+ path.setup
102
+ db = Qwik::FileSystemDB.new(path, spath)
103
+ return path, db
104
+ end
105
+
106
+ def teardown_db(path)
107
+ path.teardown
108
+ end
109
+
110
+ def test_all
111
+ # setup
112
+ path, db = setup_db
113
+
114
+ # Initialize DBIndexer.
115
+ indexer = Qwik::DBIndexer.new(path)
116
+ db.register_observer(indexer) # Regist to the DB.
117
+
118
+ # Put test contents.
119
+ db.put('a', 'This is a test.')
120
+ db.put('b', 'This is a test, too.')
121
+
122
+ # test_search
123
+ if $have_senna_so
124
+ ok_eq(['a', 'b'], indexer.search('test'))
125
+ ok_eq(['b'], indexer.search('too'))
126
+ ok_eq([], indexer.search('nosuch'))
127
+ end
128
+
129
+ teardown_db(path)
130
+ end
131
+
132
+ def test_pre_content
133
+ # Setup db
134
+ path, db = setup_db
135
+
136
+ # Put test contents before to setup indexer.
137
+ db.put('a', 'This is a test.')
138
+ db.put('b', 'This is a test, too.')
139
+
140
+ # Initialize DBIndexer.
141
+ indexer = Qwik::DBIndexer.new(path)
142
+ db.register_observer(indexer) # Regist to the DB.
143
+
144
+ # test_search
145
+ if $have_senna_so
146
+ ok_eq(['a', 'b'], indexer.search('test'))
147
+ ok_eq(['b'], indexer.search('too'))
148
+ ok_eq([], indexer.search('nosuch'))
149
+ end
150
+
151
+ teardown_db(path)
152
+ end
153
+ end
154
+ end
@@ -0,0 +1,238 @@
1
+ # Copyright (C) 2009 AIST, All rights reserved.
2
+ # This is free software with ABSOLUTELY NO WARRANTY.
3
+ # You can redistribute it and/or modify it under the terms of the GNU GPL 2.
4
+
5
+ $LOAD_PATH.unshift '..' unless $LOAD_PATH.include? '..'
6
+ require 'qwik/util-pathname'
7
+
8
+ require 'thread'
9
+
10
+ module Qwik
11
+ class SearchWordsDB
12
+ Word = Struct.new("Word", :word, :count, :time)
13
+
14
+ def initialize(path, config)
15
+ @config = config
16
+ @path = path
17
+ @word_index = Hash.new
18
+ @recent_list = Array.new
19
+ @normalized_list = Array.new
20
+ @lock = Mutex.new
21
+ read
22
+ end
23
+
24
+ def delete(word)
25
+ w = word.to_sym
26
+ @lock.synchronize {
27
+ em = @word_index[w]
28
+ if em
29
+ @word_index.delete(w)
30
+ @recent_list.delete(em)
31
+ save
32
+ end
33
+ }
34
+ end
35
+
36
+ def put(words)
37
+ if words.class == String
38
+ words = [words]
39
+ end
40
+ @lock.synchronize {
41
+ words.each {|word|
42
+ w = word.to_sym
43
+ em = @word_index[w]
44
+ if em
45
+ @recent_list.delete(em)
46
+ em.count +=1
47
+ else
48
+ em = Word.new(w, 1, Time.new)
49
+ if @config[:search_word_max_num] < @recent_list.size
50
+ em = @recent_list.delete_at(-1)
51
+ @word_index.delete(em.word)
52
+ end
53
+ @word_index[em.word] = em
54
+ end
55
+ @recent_list.unshift(em)
56
+ }
57
+ save
58
+ }
59
+ end
60
+
61
+ def get
62
+ @recent_list[0...@config[:search_word_display_num]]
63
+ end
64
+
65
+ def get_normalized
66
+ @normalized_list
67
+ end
68
+
69
+ private
70
+ # should be called from synchronized block
71
+ def save
72
+ f = File.new(path,"w")
73
+ @recent_list.each {|em|
74
+ f.puts "#{em.time.to_i} #{em.count} #{em.word}"
75
+ }
76
+ f.close
77
+ normalize
78
+ end
79
+
80
+ def read
81
+ begin
82
+ cont = File.new(path).read
83
+ @lock.synchronize {
84
+ cont.each_line {|line|
85
+ time, count, word = line.chomp.split(/ /)
86
+ em = Word.new(word.to_sym, count.to_i, Time.at(time.to_i))
87
+ @recent_list.push(em)
88
+ @word_index[em.word] = em
89
+ }
90
+ normalize
91
+ }
92
+ rescue Errno::ENOENT
93
+ # do nothing
94
+ end
95
+ end
96
+
97
+ def path
98
+ "#{@path}/_SearchWords.txt"
99
+ end
100
+
101
+ NUM_SIZE = 5
102
+ def normalize
103
+ min,max = min_max
104
+ diff = max - min + 0.1
105
+ @normalized_list =
106
+ @recent_list[0...@config[:search_word_display_num]].map{|em|
107
+ norm = (em.count - min) / diff * NUM_SIZE
108
+ Word.new(em.word, norm.to_i, em.time)
109
+ }
110
+ end
111
+
112
+ def min_max
113
+ return [0, 0] if @recent_list[0].nil?
114
+ min = max = @recent_list[0].count
115
+ @recent_list[1...@config[:search_word_display_num]].each{|em|
116
+ if max < em.count
117
+ max = em.count
118
+ elsif em.count < min
119
+ min = em.count
120
+ end
121
+ }
122
+ return [min, max]
123
+ end
124
+ end
125
+ end
126
+
127
+ if $0 == __FILE__
128
+ require 'test/unit'
129
+ require 'qwik/config'
130
+ require 'qwik/test-module-path'
131
+ $test = true
132
+ end
133
+
134
+ if defined?($test) && $test
135
+ class TestSearchWorddsDB < Test::Unit::TestCase
136
+ def test_swdb
137
+ # setup
138
+ config = Qwik::Config.new
139
+ config.update Qwik::Config::DebugConfig
140
+ config.update Qwik::Config::TestConfig
141
+ path = '.test/'.path
142
+ path.setup
143
+ db = Qwik::SearchWordsDB.new(path,config)
144
+
145
+ # put a word
146
+ db.put(["foo"])
147
+ ems = db.get
148
+ assert_equal 1, ems.size
149
+ assert_equal :foo, ems[0].word
150
+ assert_equal 1, ems[0].count
151
+
152
+ # put the same word
153
+ db.put("foo")
154
+ ems = db.get
155
+ assert_equal 1, ems.size
156
+ assert_equal :foo, ems[0].word
157
+ assert_equal 2, ems[0].count
158
+
159
+ # check if correctly saved and read
160
+ db2 = Qwik::SearchWordsDB.new(path,config)
161
+ ems = db2.get
162
+ assert_equal 1, ems.size
163
+ assert_equal :foo, ems[0].word
164
+ assert_equal 2, ems[0].count
165
+
166
+ # put the different word
167
+ db.put("bar")
168
+ ems = db.get
169
+ assert_equal 2, ems.size
170
+ assert_equal :bar, ems[0].word
171
+ assert_equal 1, ems[0].count
172
+ assert_equal :foo, ems[1].word
173
+ assert_equal 2, ems[1].count
174
+
175
+ # check if correctly saved and read
176
+ db2 = Qwik::SearchWordsDB.new(path,config)
177
+ ems = db2.get
178
+ assert_equal 2, ems.size
179
+ assert_equal :bar, ems[0].word
180
+ assert_equal 1, ems[0].count
181
+ assert_equal :foo, ems[1].word
182
+ assert_equal 2, ems[1].count
183
+
184
+ # put Jpanaese name
185
+ word = "ほげ"
186
+ db.put(word)
187
+ ems = db.get
188
+ assert_equal 3, ems.size
189
+ assert_equal word.to_sym, ems[0].word
190
+ assert_equal 1, ems[0].count
191
+ assert_equal :bar, ems[1].word
192
+ assert_equal 1, ems[1].count
193
+ assert_equal :foo, ems[2].word
194
+ assert_equal 2, ems[2].count
195
+
196
+ # check if correctly saved and read
197
+ db2 = Qwik::SearchWordsDB.new(path,config)
198
+ ems = db2.get
199
+ assert_equal 3, ems.size
200
+ assert_equal word.to_sym, ems[0].word
201
+ assert_equal 1, ems[0].count
202
+ assert_equal :bar, ems[1].word
203
+ assert_equal 1, ems[1].count
204
+ assert_equal :foo, ems[2].word
205
+ assert_equal 2, ems[2].count
206
+
207
+ db2.put("bar")
208
+ ems = db2.get
209
+ assert_equal 3, ems.size
210
+ assert_equal :bar, ems[0].word
211
+ assert_equal 2, ems[0].count
212
+ assert_equal word.to_sym, ems[1].word
213
+ assert_equal 1, ems[1].count
214
+ assert_equal :foo, ems[2].word
215
+ assert_equal 2, ems[2].count
216
+
217
+ #test deleation
218
+ db2.delete(word)
219
+ ems = db2.get
220
+ assert_equal 2, ems.size
221
+ assert_equal :bar, ems[0].word
222
+ assert_equal 2, ems[0].count
223
+ assert_equal :foo, ems[1].word
224
+ assert_equal 2, ems[1].count
225
+
226
+ # check if correctly saved and read
227
+ db3 = Qwik::SearchWordsDB.new(path,config)
228
+ ems = db3.get
229
+ assert_equal 2, ems.size
230
+ assert_equal :bar, ems[0].word
231
+ assert_equal 2, ems[0].count
232
+ assert_equal :foo, ems[1].word
233
+ assert_equal 2, ems[1].count
234
+
235
+ path.teardown
236
+ end
237
+ end
238
+ end
@@ -0,0 +1,267 @@
1
+ # Copyright (C) 2003-2006 Kouichirou Eto, All rights reserved.
2
+ # This is free software with ABSOLUTELY NO WARRANTY.
3
+ # You can redistribute it and/or modify it under the terms of the GNU GPL 2.
4
+
5
+ module Qwik
6
+ class Action
7
+ D_QwikWeb_ja = {
8
+ :dt => 'qwikWebの使い方',
9
+ :dd => 'qwikWebの説明です。',
10
+ :dc => "
11
+ '''qwikWeb'''はWikiWikiWebとメーリングリスト管理システムが統合された
12
+ グループ・コミュニケーション・システムです。
13
+
14
+ 詳細な説明は、[[qwikWebホームページ|http://qwik.jp/qwikWeb.html]]を
15
+ ご覧ください。
16
+
17
+ "+'
18
+ 下記に、qwikWebの機能一覧を示します。
19
+ '
20
+ }
21
+
22
+ D_SiteManagement_ja = {
23
+ :dt => 'サイト管理',
24
+ :dd => 'サイトを管理するためのメニューです。',
25
+ :dc => '
26
+ * サイト管理機能
27
+ サイト管理機能はページ編集画面の右側にまとめてあります。
28
+ ここには同じものを説明付きでのせています。
29
+ - [[設定|_SiteConfig]] サイト環境設定のためのページ
30
+ - [[年表|.chronology]] サイト全体の編集履歴を一画面でまとめて見る
31
+ - [[メンバー|_GroupMembers]] このサイトにアクセスできるメンバーを追加・削除する。
32
+ -- カンマ区切りではなく、一行に一メールアドレスの形式で記述します。
33
+ -- \'\'\'注意:\'\'\' このページの編集に失敗すると誰もログインできなくなることがあります。
34
+ - {{zip}} サイト全体のアーカイブを取得できます。
35
+ -- 静的なHTMLファイルも同梱されます。アーカイブを解凍すれば、そのまま普通のWebページになります。
36
+ * サイトページ設定
37
+ サイドバーなどといったメニュー項目を編集したい場合は、下記ページを編集
38
+ してください。
39
+ - [[編集メニュー|_AdminMenu]] ページの上につく編集メニュー
40
+ - [[サイドメニュー|_SideMenu]] ページのサイドメニュー
41
+ - [[ページアトリビュート|_PageAttribute]] ページの下につくページアトリビュート
42
+ - [[編集フッタ|_EditorFooter]] 編集画面のフッタ
43
+ 同様に各種の設定項目もWikiページとして編集できます。
44
+ - [[_SiteTheme]] このページにCSSファイルを添付して、サイトテーマを設定できます。
45
+ - [[_InterWikiName]] 他のWikiサイトへのむすびつきを指定する。
46
+ - [[_IsbnLink]] Isbnプラグインを使う際の接続先を指定する。
47
+ - [[_BookSearch]] 本の検索プラグインを使う際の接続先を指定する。
48
+ - [[_LoginMessage]] このページを作ると、ログイン画面にメッセージを表示できます。
49
+
50
+ これらのページは、元々用意されている親ページから設定を継承します。
51
+ 一度でもこれらのページを修正すると、親ページから内容がコピーされます。
52
+ その後に親ページがかきかわったとしても、その変更は反映されません。
53
+
54
+ その場合は、ページの内容を手元のエディタなどに一旦保存し、そのページを
55
+ 全部クリアして消去してください。そうすると親ページの内容が反映されます。
56
+ その後に、これまでのページ内容を書き戻してください。
57
+ * 他
58
+ #- [[添付ファイル|.attach]] この添付ファイルは古いものです。
59
+ - [[SandBox]]
60
+ - [[書込記録|_SiteLogView]]
61
+ 詳細な説明は[[qwikWebホームページ|http://qwik.jp/qwikWeb.html]]をご覧ください。
62
+ '
63
+ }
64
+
65
+ D_TextFormatSimple_ja = {
66
+ :dt => '書式一覧',
67
+ :dd => 'qwikWebの書式一覧簡略版です。',
68
+ :dc => '* 書式一覧
69
+ 詳細な説明は[[書式一覧詳細版|TextFormat.describe]]をごらんください。
70
+ ** 見出し2
71
+ *** 見出し3
72
+ **** 見出し4
73
+ ***** 見出し5
74
+ - 箇条書レベル1
75
+ -- 箇条書レベル2
76
+ --- 箇条書レベル3
77
+ + 順序リスト1
78
+ ++ 順序リスト2
79
+ +++ 順序リスト3
80
+ 整形済みテキスト。
81
+ > 引用。
82
+ :Wiki:書き込み可能なWebページ
83
+ :QuickML:簡単に作れるメーリングリストシステム
84
+ ,項目1-1,項目1-2,項目1-3
85
+ ,項目2-1,項目2-2,項目2-3
86
+ \'\'強調\'\'、\'\'\'さらに強調\'\'\'、==取り消し線==
87
+ [[new|http://qwik.jp/.theme/new.png]]
88
+ [[FrontPage]]
89
+ [[Yahoo!|http://www.yahoo.co.jp/]]
90
+ {{recent(1)}}
91
+
92
+ {{{
93
+ ** 見出し2
94
+ *** 見出し3
95
+ **** 見出し4
96
+ ***** 見出し5
97
+ - 箇条書レベル1
98
+ -- 箇条書レベル2
99
+ --- 箇条書レベル3
100
+ + 順序リスト1
101
+ ++ 順序リスト2
102
+ +++ 順序リスト3
103
+ 整形済みテキスト。
104
+ > 引用。
105
+ :Wiki:書き込み可能なWebページ
106
+ :QuickML:簡単に作れるメーリングリストシステム
107
+ ,項目1-1,項目1-2,項目1-3
108
+ ,項目2-1,項目2-2,項目2-3
109
+ \'\'強調\'\'、\'\'\'さらに強調\'\'\'、==取り消し線==
110
+ [[new|http://qwik.jp/.theme/new.png]]
111
+ [[FrontPage]]
112
+ [[Yahoo!|http://www.yahoo.co.jp/]]
113
+ {{recent(1)}}
114
+ }}}
115
+ '
116
+ }
117
+
118
+ D_TextFormat_ja = {
119
+ :dt => '書式一覧詳細版',
120
+ :dd => 'qwikWebの書式一覧です。',
121
+ :dc => '* 書式一覧
122
+ 簡略化した説明は[[TextFormatSimple.describe]]をご覧下さい。
123
+ * 見出し
124
+ - 「*」を行の先頭に書くと見出しになります。
125
+ - 「*」は1つから5つまで記述することができます。
126
+ それぞれ<H2>~<H6>に変換されます。
127
+ * 見出し1
128
+ ** 見出し2
129
+ *** 見出し3
130
+ **** 見出し4
131
+ ***** 見出し5
132
+ * 見出し1
133
+ ** 見出し2
134
+ *** 見出し3
135
+ **** 見出し4
136
+ ***** 見出し5
137
+ * ページタイトル
138
+ ページの一番最初の行に「*」を一つで見出しを書くと、その見出しはページ
139
+ タイトルとして機能します。他のページからは、そのページタイトルを使って
140
+ リンクすることができます。
141
+ - [[TextFormat]]をご覧下さい。
142
+ - [[書式一覧詳細版]]をご覧下さい。
143
+ - [[TextFormat]]をご覧下さい。
144
+ - [[書式一覧詳細版]]をご覧下さい。
145
+ というように、同じ一つのページへのリンクにおいて、ページIDによるリンク
146
+ と、ページタイトルによるリンクを選ぶことができます。
147
+
148
+ 前者のページIDを使ったリンクの場合、そのページのページタイトルが変更さ
149
+ れた場合、自動的にそのタイトルが反映されます。しかし、後者のページタイ
150
+ トルでリンクした場合、リンク先のページタイトルが変更された場合、リンク
151
+ 切れになってしまいます。そのため、通常はページIDを用いたリンク方法をお
152
+ 勧めします。
153
+
154
+ * 箇条書き
155
+ - 「-」を行の先頭に書くと箇条書きになります。
156
+ - 「-」は1つから3つまで記述することが可能で入れ子にすることもできます。
157
+ - 「+」を行の先頭に書くと番号付きの箇条書きになります。
158
+ - 箇条書レベル1
159
+ -- 箇条書レベル2
160
+ --- 箇条書レベル3
161
+ + 順序リスト1
162
+ ++ 順序リスト2
163
+ +++ 順序リスト3
164
+ - 箇条書レベル1
165
+ -- 箇条書レベル2
166
+ --- 箇条書レベル3
167
+ + 順序リスト1
168
+ ++ 順序リスト2
169
+ +++ 順序リスト3
170
+ * パラグラフ
171
+ - 連続した複数行は連結されて1つのパラグラフになります。
172
+ - 空行(改行のみ、またはスペース、タブだけの行)はパラグラフの区切りになります。
173
+ 例えば、
174
+ こういう風に記述すると、これらの行は
175
+ 1つのパラグラフとして整形されます。
176
+ 例えば、
177
+ こういう風に記述すると、これらの行は
178
+ 1つのパラグラフとして整形されます。
179
+ * 水平線
180
+ - 「=」を行の先頭から4つ書くと水平線(区切り線)になります。
181
+ この文章と、
182
+ ====
183
+ この文章は、区切られています。
184
+ この文章と、
185
+ ====
186
+ この文章は、区切られています。
187
+ * 整形済みテキスト
188
+ - 行の先頭がスペースまたはタブで始まっていると、その行は整形済みとして扱われます。
189
+ これは、
190
+ 整形済み
191
+ テキストです。
192
+ 大量の整形済みテキストを表示したい場合は「{{{」と
193
+ 「}}}」で囲みます。こんな感じです。
194
+ {{{
195
+ void main()
196
+ {
197
+ printf(\"hello, world\\n\");
198
+ }
199
+ }}}
200
+ {{{
201
+ void main()
202
+ {
203
+ printf(\"hello, world\\n\");
204
+ }
205
+ }}}
206
+ * 引用
207
+ 「>」を行の先頭から書くと引用になります。
208
+ > これは引用です。
209
+ > これは引用です。
210
+ * 用語解説
211
+ コロン「:」を行の先頭に書き、続けて用語:解説文とすると用語解説になります。
212
+ :Wiki:書き込み可能なWebページ
213
+ :QuickML:簡単に作れるメーリングリストシステム
214
+ :Wiki:書き込み可能なWebページ
215
+ :QuickML:簡単に作れるメーリングリストシステム
216
+ * 表
217
+ 表(テーブル)は「,」または「|」で始め、コラム毎にその記号で区切ります。
218
+ ,項目1-1,項目1-2,項目1-3
219
+ ,項目2-1,項目2-2,項目2-3
220
+ ,項目1-1,項目1-2,項目1-3
221
+ ,項目2-1,項目2-2,項目2-3
222
+ * 文字要素の指定
223
+ 文章中の一部分の文字要素を変化させます。
224
+ - 「\'」2個ではさんだ部分は強調されます。
225
+ - 「\'」3個ではさんだ部分はさらに強調されます。
226
+ - 「=」2個ではさんだ部分は取消線になります。
227
+ このようにすると\'\'強調\'\'になります。
228
+ そして、このようにすると\'\'\'さらに強調\'\'\'されます。
229
+ ==なんとなく==取り消し線もサポートしています。
230
+ このようにすると\'\'強調\'\'になります。
231
+ そして、このようにすると\'\'\'さらに強調\'\'\'されます。
232
+ ==なんとなく==取り消し線もサポートしています。
233
+ * リンク
234
+ - リンクしたいページ名を2つのカギカッコで囲むと、そのページへのリンクになります。
235
+ 例えば[[FrontPage]]とすると、入口ページへのリンクになります。
236
+ 例えば[[FrontPage]]とすると、入口ページへのリンクになります。
237
+ * 新規ページの作成
238
+ 「新規作成」をたどると、ページを作成できます。
239
+ * ページの削除
240
+ テキストを全部消去して保存すると、そのページを削除します。
241
+ * 任意のURLへのリンク
242
+ 単語|URLを2つのカギカッコで囲むとを任意のURLへのリンクになります。
243
+ [[qwik|http://qwik.jp/]]とかもできます。
244
+ [[qwik|http://qwik.jp/]]とかもできます。
245
+
246
+ このときURLの末尾がjpg,jpeg,png,gifだと、画像がページ中に埋め込まれます。
247
+ (指定した単語がALT要素に設定されます。)
248
+ [[New!|http://img.yahoo.co.jp/images/new2.gif]]
249
+ [[New!|http://img.yahoo.co.jp/images/new2.gif]]
250
+
251
+ パラグラフ中にURLのようなものがあると、自動的にリンクとなります。
252
+ qwikWebのホームページはhttp://qwik.jp/です。
253
+ qwikWebのホームページはhttp://qwik.jp/です。
254
+
255
+ * InterWiki
256
+ InterWikiとは、他のWikiページへ簡単にリンクをはる機能です。
257
+ またその拡張として、GoogleやAmazonなどに簡単にリンクをはる機能も提供します。
258
+ - [[google:qwikWeb]]
259
+ - [[isbn:4797318325]]
260
+ - [[amazon:Wiki]]
261
+ - [[google:qwikWeb]]
262
+ - [[isbn:4797318325]]
263
+ - [[amazon:Wiki]]
264
+ '
265
+ }
266
+ end
267
+ end