papyri icon indicating copy to clipboard operation
papyri copied to clipboard

MISC rst differences.

Open Carreau opened this issue 2 years ago • 1 comments

https://numpy.org/doc/stable/user/quickstart.html

exp. In NumPy, these are called "universal
functions" (\ ``ufunc``). Within NumPy, these functions

In sphinx the backslash is necessary not in papyri.

Carreau avatar Jul 01 '22 12:07 Carreau

Related to https://github.com/jupyter/papyri/issues/275. From https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules, it seems like an unescaped leading ( before the code should be allowed.

Inline markup start-strings must start a text block or be immediately preceded by

  • whitespace,
  • one of the ASCII characters - : / ' " < ( [ {
  • or a similar non-ASCII punctuation character. [19]

asmeurer avatar Sep 08 '23 21:09 asmeurer