Skip to content

Render text roles in caption of code block #834

@brotkrueml

Description

@brotkrueml

Sphinx can render a file text role in a caption:

..  code-block:: console
    :caption: Directory listing of :file:`var/log/` with rotated logs

This looks like:

image (1)

However, guides can not:

image (2)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions