Re: SLRTR 000000: ZWJ in Sphinx

[email protected] (Stefan Ram)
Newsgroups comp.lang.python
Organization Stefan Ram
Message-ID <[email protected]>
Mark Bourne <[email protected]> wrote or quoted:
>Does using U+2060 "WORD JOINER" instead avoid the need to modify Sphinx?

  I haven't seen any code in Sphinx that fixes width calculations
  for this special character, so I'm guessing you'd still have to
  change Sphinx. But here's the thing:

  My issue was that some characters just can't be used inside ``...``
  for inline code, and I wasn't sure what to do when I needed to
  generate inline code with those "forbidden" characters. But now
  I found out about the ":literal:" role, which apparently lets you
  include /any/ character - even if it's a bit more to type. That would
  be really helpful for my program that generates reStructuredText.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.