Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. clacke (clacke@social.heldscal.la)'s status on Wednesday, 25-Apr-2018 02:25:09 EDT clacke clacke
    $ git checkout HEAD^ -- .; find . -name '*.adoc' -exec sed -i -e "s/''/++\\\\\\'\\\\\\'++/g" {} +
    In conversation Wednesday, 25-Apr-2018 02:25:09 EDT from social.heldscal.la permalink
    1. clacke (clacke@social.heldscal.la)'s status on Wednesday, 25-Apr-2018 02:26:56 EDT clacke clacke
      in reply to
      Nope. #asciidoctor *still* translates them as '. Sigh.
      In conversation Wednesday, 25-Apr-2018 02:26:56 EDT from social.heldscal.la permalink
      1. clacke (clacke@social.heldscal.la)'s status on Wednesday, 25-Apr-2018 02:32:14 EDT clacke clacke
        in reply to
        pass:[] ? Nope. Output:

        pass:[\'\']
        In conversation Wednesday, 25-Apr-2018 02:32:14 EDT from social.heldscal.la permalink
        1. clacke (clacke@social.heldscal.la)'s status on Wednesday, 25-Apr-2018 02:35:12 EDT clacke clacke
          in reply to
          Hm. Maybe it's because this is in a code block.
          In conversation Wednesday, 25-Apr-2018 02:35:12 EDT from social.heldscal.la permalink
          1. clacke (clacke@social.heldscal.la)'s status on Wednesday, 25-Apr-2018 02:37:00 EDT clacke clacke
            in reply to
            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.
            In conversation Wednesday, 25-Apr-2018 02:37:00 EDT from social.heldscal.la permalink
            1. clacke (clacke@social.heldscal.la)'s status on Wednesday, 25-Apr-2018 02:39:47 EDT clacke clacke
              in reply to
              Ok, this looks promising.


              asciidoctor.org/docs/user-manual/#applying-substitutions

              /via https://stackoverflow.com/a/31714390/260122
              In conversation Wednesday, 25-Apr-2018 02:39:47 EDT from social.heldscal.la permalink
            2. notklaatu (klaatu@mastodon.xyz)'s status on Wednesday, 25-Apr-2018 02:41:24 EDT notklaatu notklaatu
              in reply to

              @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>

              In conversation Wednesday, 25-Apr-2018 02:41:24 EDT from mastodon.xyz permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.