• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

generic text markup tools


Commit MetaInfo

修订版569c9f1a76a1b2b8b8257791d9fd95ab75b3cb25 (tree)
时间2013-11-15 20:26:24
作者hylom <hylom@hylo...>
Commiterhylom

Log Message

implementing ctable extension

更改概述

差异

--- /dev/null
+++ b/ctable.json
@@ -0,0 +1,32 @@
1+{
2+ "rules": {
3+ "ctable": {
4+ "extends": "table",
5+ "rules": {
6+ "tableRow": {
7+ "priority": 102,
8+ "regexp": "^(.*)$",
9+ "call:" ["ctable.tableRow", "$1"]
10+ },
11+ "tableHeaderRow": {
12+ "priority": 104,
13+ "regexp": "^〓(.*)$",
14+ "set": [
15+ "isHeader",
16+ "yes"
17+ ],
18+ "call:" ["ctable.tableHeaderRow", "$1"]
19+ },
20+ "tableCell": {
21+ "priority": 103,
22+ "regexp": "\\t",
23+ "replace": "\\t"
24+ }
25+ },
26+ "onFinished": {
27+ "call:" ["ctable.getTable"],
28+ "insert": "${table}"
29+ }
30+ }
31+ }
32+}
\ No newline at end of file