executablebooks / sphinx-tabs

Tabbed views for Sphinx
https://sphinx-tabs.readthedocs.io
MIT License
264 stars 68 forks source link

Support monospaced font in tab title #100

Closed henryiii closed 3 years ago

henryiii commented 3 years ago

Is your feature request related to a problem? Please describe.

When adding this for packaging.python.org, it would have been have tab names like:

setup.cfg (dynamic) | setup.py (static)

However, it does not seem to support either of the forms of restructure text I tried (double-ticks or :file: + single ticks.

Describe the solution you'd like

 .. tab:: ``setup.py`` (dynamic)
 .. tab:: :file:`setup.py` (dynamic)

(one of the two, I'd think at least the first one) should work.

Describe alternatives you've considered

Don't have a workaround.

Additional context

Needed here: https://github.com/pypa/packaging.python.org/pull/818

welcome[bot] commented 3 years ago

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada: