Re: Literals with Spaces in Sphinx

Liste des GroupesRevenir à cl python 
Sujet : Re: Literals with Spaces in Sphinx
De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram)
Groupes : comp.lang.python
Date : 09. May 2025, 19:00:44
Autres entêtes
Organisation : Stefan Ram
Message-ID : <spaces-20250509190016@ram.dialup.fu-berlin.de>
References : 1
ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted:
But if you make these three changes to the Sphinx
"docutils/parsers/rst/states.py" file, it works
(no guarantees, try it at your own risk!):

  What are those spaces at the start or end of a literal even
  supposed to be good for? They might not be the best idea if you
  think about what HTML or LaTeX could do with them (line break!).
  But I wanted to generate reST, and it made me uneasy to think
  that certain characters just could not be in certain spots . . .



Date Sujet#  Auteur
9 May 25 * Literals with Spaces in Sphinx2Stefan Ram
9 May 25 `- Re: Literals with Spaces in Sphinx1Stefan Ram

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal