summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Rackham <srackham@methods.co.nz>2008-11-19 17:35:21 +1300
committerStuart Rackham <srackham@methods.co.nz>2008-11-19 17:35:21 +1300
commite5e6e5e5644f26431a25fe055fa1f2bcbe358388 (patch)
tree9e58a5c5547df639cda84953a027ba97c15c6f9c
parent049a166a6835b8a83af41be4c858f9c6622a019b (diff)
downloadasciidoc-py3-e5e6e5e5644f26431a25fe055fa1f2bcbe358388.tar.gz
Renamed passthrough macros to pass.
-rw-r--r--asciidoc.conf22
1 files changed, 11 insertions, 11 deletions
diff --git a/asciidoc.conf b/asciidoc.conf
index 856f4fb..fdd3983 100644
--- a/asciidoc.conf
+++ b/asciidoc.conf
@@ -216,11 +216,11 @@ endif::asciidoc7compatible[]
[\\]?&lt;(?P<index>\d+)&gt;=callout
# Passthrough macros.
-(?su)[\\]?(?P<name>cdata|passthrough|pi):(?P<target>\S*?)\[(?P<passtext>.*?)(?<!\\)\]=[]
+(?su)[\\]?(?P<name>cdata|pass|pi):(?P<target>\S*?)\[(?P<passtext>.*?)(?<!\\)\]=[]
# Triple-plus and double-dollar inline passthroughs.
-(?su)[\\]?\+\+\+(?P<passtext>.*?)\+\+\+=passthrough[]
-(?su)[\\]?\$\$(?P<passtext>.*?)\$\$=passthrough[specialcharacters]
+(?su)[\\]?\+\+\+(?P<passtext>.*?)\+\+\+=pass[]
+(?su)[\\]?\$\$(?P<passtext>.*?)\$\$=pass[specialcharacters]
# Default (catchall) inline macro is not implemented so there is no ambiguity
# with previous definition that could result in double substitution of escaped
@@ -235,7 +235,7 @@ endif::asciidoc7compatible[]
^//([^/].*|)$=#comment
# Passthrough macros.
-(?u)^(?P<name>cdata|passthrough|pi)::(?P<target>\S*?)(\[(?P<passtext>.*?)\])$=#[]
+(?u)^(?P<name>cdata|pass|pi)::(?P<target>\S*?)(\[(?P<passtext>.*?)\])$=#[]
(?u)^(?P<name>image)::(?P<target>\S*?)(\[(?P<attrlist>.*?)\])$=#
@@ -271,13 +271,13 @@ options=list
[listblock]
|
-[blockdef-passthrough]
+[blockdef-pass]
delimiter=^\+{4,}$
-template=passthroughblock
+template=passblock
# Default subs choosen for backward compatibility.
subs=attributes,macros
posattrs=style
-passthrough-style=template="passthroughblock",subs=[]
+pass-style=template="passblock",subs=[]
math-style=template="mathblock",subs=[]
cdata-style=template="cdatablock",subs=[]
@@ -432,13 +432,13 @@ asciidoc-style=tags="asciidoc",subs=[],filter='python "{asciidoc-file}" -b {back
#----------------------------------------
# Common block and macro markup templates
#----------------------------------------
-[passthrough-blockmacro]
+[pass-blockmacro]
{passtext}
-[passthrough-inlinemacro]
-template::[passthrough-blockmacro]
+[pass-inlinemacro]
+template::[pass-blockmacro]
-[passthroughblock]
+[passblock]
|
[cdata-blockmacro]