Skip to content

Support for include directive in tabs #172

Closed
@JSS95

Description

@JSS95

Context

Sphinx's include directive allows including the entire code from another file.

.. include:: my/code.py
   :code: python

It would be nice if we had this feature in code tabs.

Proposal

Propsal A: allow include nested in code-tab

.. tabs::

   .. code-tab::

      .. include:: my/code.py
         :code: python

Proposal B: add :include: option to code-tab

.. tabs::

   .. code-tab::
      :include: my/code.py

Tasks and updates

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions