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

Feature request: add section name to captions #20

Open
jaskij opened this issue Dec 21, 2023 · 0 comments
Open

Feature request: add section name to captions #20

jaskij opened this issue Dec 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jaskij
Copy link

jaskij commented Dec 21, 2023

In my document, I have several tables which have similar or even same title, the difference being contextual - the section they are present in. Think a manual for a device that has different modes of operation, and each mode needs a table describing how a given API behaves in said mode. As is, I have to manually prefix the section title to the captions so that they actually are differentiated in the list, but this creates two issues:

  • it's manual
  • those captions look redundant in their context

As such, it would be great if the plugin could automatically add the section title to the list.

I can see two ways to do this:

  • prefix section title to table caption
  • make the list a description list, with tables nested inside their sections
Title for first section::
* Table 1. Widgets
* Table 2. Ways to foo the widget
Second section title::
* Table 3. Bars
* Table 4. Bazs
@Alwinator Alwinator added the enhancement New feature or request label Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants