Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helper to display language-specific notes #2574

Open
virtuald opened this issue Feb 17, 2024 · 1 comment
Open

Add helper to display language-specific notes #2574

virtuald opened this issue Feb 17, 2024 · 1 comment

Comments

@virtuald
Copy link
Member

We can do multiple languages of code like this:

.. tab-set-code::

   .. code-block:: python

Would be useful to be able to specify notes in the same way instead of showing the user notes for all languages.

.. tab-set-note::

   .. note:: python
      Content of note here

@sciencewhiz
Copy link
Collaborator

How about

.. tab-set::

   .. tab-item:: python

      .. note:: content of note here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants