Skip to content

Support highlight language fallbacks in blocks #166

@cmarqu

Description

@cmarqu

Some documentation, like Python's Logging Cookbook use Sphinx's Literal Blocks (i.e. just ::) instead of the .. code-block:: directive.

It would be nice to support these docs too. The extension would need to support the highlight directive and the highlight_language configuration option (the latter being used in the Python docs).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions