sphinx-doc/sphinx

parsed-literal output

Aberta

#2.167 aberto em 11 de dez. de 2015

 (10 comentários) (2 reações) (0 responsável)Python (1.985 forks)batch import
help wantedmarkup

Métricas do repositório

Stars
 (5.625 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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).

Guia do colaborador