sphinx-doc/sphinx

parsed-literal output

Open

#2,167 创建于 2015年12月11日

在 GitHub 查看
 (10 评论) (2 反应) (0 负责人)Python (1,985 fork)batch import
help wantedmarkup

仓库指标

Star
 (5,625 star)
PR 合并指标
 (平均合并 10天 11小时) (30 天内合并 11 个 PR)

描述

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

贡献者指南