frc-docs icon indicating copy to clipboard operation
frc-docs copied to clipboard

Add helper to display language-specific notes

Open virtuald opened this issue 1 year ago • 1 comments

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


virtuald avatar Feb 17 '24 18:02 virtuald

How about

.. tab-set::

   .. tab-item:: python

      .. note:: content of note here

sciencewhiz avatar Feb 17 '24 18:02 sciencewhiz