Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- two:wheels fil$ diff -pu ../../plugins/textwheel/wheels/spip/spip.yaml spip/spip.yaml
- --- ../../plugins/textwheel/wheels/spip/spip.yaml 2010-09-26 01:44:11.000000000 +0200
- +++ spip/spip.yaml 2010-10-23 13:45:32.000000000 +0200
- @@ -72,6 +72,12 @@ ligne-horizontale:
- if_chars: "\n"
- priority: -20 # avant !paragraphes
- +ligne-etoilee:
- + match: "/^ ?[*] ?[*] ?[*] ?$/mS"
- + replace: "\n\n\n<hr class=\"spip etoile\" />\n\n\n"
- + if_chars: "*"
- + priority: -20 # avant !paragraphes
- +
- alinea:
- match: "/\n-- */"
- replace: "\n<br />— "
- @@ -85,6 +91,13 @@ puce:
- is_callback: Y
- priority: -20 # avant !paragraphes
- +puce-etoilee:
- + match: "/^[*] */mS"
- + replace: replace_puce
- + if_str: "\n*"
- + is_callback: Y
- + priority: -20 # avant !paragraphes
- +
- br:
- match: "/\n_ +/S"
- replace: "\n<br />"
- @@ -106,6 +119,42 @@ intertitres:
- if_str: '{{{'
- type: str
- +niveauh1:
- + # = xxxx
- + match: '/^= +(.+)(:? =+)?$/m'
- + replace: "\n\n<h1>$1</h1>\n\n"
- + if_str: "\n="
- +
- +niveauh2:
- + # = xxxx
- + match: '/^== +(.+)(:? =+)?$/m'
- + replace: "\n\n<h2>$1</h2>\n\n"
- + if_str: "\n=="
- +
- +niveauh3:
- + # = xxxx
- + match: '/^=== +(.+)(:? =+)?$/m'
- + replace: "\n\n<h3>$1</h3>\n\n"
- + if_str: "\n==="
- +
- +niveauh4:
- + # = xxxx
- + match: '/^==== +(.+)(:? =+)?$/m'
- + replace: "\n\n<h4>$1</h4>\n\n"
- + if_str: "\n===="
- +
- +niveauh5:
- + # = xxxx
- + match: '/^===== +(.+)(:? =+)?$/m'
- + replace: "\n\n<h5>$1</h5>\n\n"
- + if_str: "\n====="
- +
- +niveauh6:
- + # = xxxx
- + match: '/^====== +(.+)(:? =+)?$/m'
- + replace: "\n\n<h6>$1</h6>\n\n"
- + if_str: "\n======"
- +
- gras:
- # raccourcis en {{..}}
- # strong
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement