[SPIP] +version 3.0.7
[ptitvelo/web/www.git] / www / plugins-dist / textwheel / wheels / spip / spip-tableaux.yaml
diff --git a/www/plugins-dist/textwheel/wheels/spip/spip-tableaux.yaml b/www/plugins-dist/textwheel/wheels/spip/spip-tableaux.yaml
new file mode 100644 (file)
index 0000000..82950e1
--- /dev/null
@@ -0,0 +1,21 @@
+--- # Syntaxe des raccourcis SPIP, version 0.0.1
+    #
+    # Si on nomme une regle, elle devient surchargeable
+
+
+tableaux-init:
+  match: "/^\n?[|]/S"
+  replace: "\n\n|"
+
+tableaux-start:
+  match: "/\n\n+[|]/S"
+  replace: "\n\n\n\n|"
+
+tableaux-end:
+  match: "/[|](\n\n+|\n?$)/S"
+  replace: "|\n\n\n\n"
+
+tableaux-middle:
+  match: "/([^|])(\n[|].*[|]\n)([^|])/UmsS"
+  replace: replace_tableaux
+  is_callback: Y