Conversation
Notices
-
clacke (clacke@social.heldscal.la)'s status on Wednesday, 25-Apr-2018 02:25:09 EDT clacke $ git checkout HEAD^ -- .; find . -name '*.adoc' -exec sed -i -e "s/''/++\\\\\\'\\\\\\'++/g" {} + -
clacke (clacke@social.heldscal.la)'s status on Wednesday, 25-Apr-2018 02:26:56 EDT clacke Nope. #asciidoctor *still* translates them as '. Sigh. -
clacke (clacke@social.heldscal.la)'s status on Wednesday, 25-Apr-2018 02:32:14 EDT clacke pass:[] ? Nope. Output:
pass:[\'\']-
clacke (clacke@social.heldscal.la)'s status on Wednesday, 25-Apr-2018 02:35:12 EDT clacke Hm. Maybe it's because this is in a code block. -
clacke (clacke@social.heldscal.la)'s status on Wednesday, 25-Apr-2018 02:37:00 EDT clacke That was it. Put the entity outside the code block and it is passed through without having to use any backslashes, passthrough blocks or any other shenanigans. -
clacke (clacke@social.heldscal.la)'s status on Wednesday, 25-Apr-2018 02:39:47 EDT clacke Ok, this looks promising.
asciidoctor.org/docs/user-manual/#applying-substitutions
/via https://stackoverflow.com/a/31714390/260122 -
notklaatu (klaatu@mastodon.xyz)'s status on Wednesday, 25-Apr-2018 02:41:24 EDT notklaatu @clacke I know this sort of problem. It's the one I run into every time I try a markupless markup system.
In Docbook proper:
<programlisting><![CDATA[
your-literal-strings-here
]]></programlisting>
-
-
-
-
-