sphinx-doc/sphinx

parsed-literal output

Open

#2 167 ouverte le 11 déc. 2015

Voir sur GitHub
 (10 commentaires) (2 réactions) (0 assignés)Python (1 985 forks)batch import
help wantedmarkup

Métriques du dépôt

Stars
 (5 625 stars)
Métriques de merge PR
 (Merge moyen 10j 11h) (11 PRs mergées en 30 j)

Description

Hi,

I have realized that the html output of parsed-literal depends on whether links are included or not. For instance:

.. parsed-literal::

   public int64  size()

will generate a single line with highlighted code

but

.. parsed-literal::

   public :ref:`fusion.flatexpr`  eval()

will yield a single line but with not highlight. Note that the link is valid and it will work nicely.

My point is: there should be a consistent behaviour. Of course would be nice to have always highlight (or an option to have it).

Guide contributeur