You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For those who want to assign a stable ID to a tab, it should be possible to specify the ID explicitly on the tab item. To do so, the extension should look for the anchor at the start of the dlist entry and promote it. For example:
[tabs]====[[my-tab-id]]Tab A::Tab B::====
The ID of the tab with the content (i.e., label) "Tab A" would be my-tab-id.
Technically this already works in practice. The list item for the tab still gets an auto-generated ID, but the tab also responds to the custom ID specified at the start of the label.
I think the question here is whether the explicit ID should replace the auto-generated ID. I feel like it probably should. The output we would expect, then, is:
<liid="my-tab-id" class="tab"><p>Tab A</p></li>
I also wonder whether it should be possible to specify whether the ID of the tabs (i.e., tabset) should be prepended to the explicit ID (like when it is generated) or whether the ID should be used as is.
The text was updated successfully, but these errors were encountered:
I think user additional control over the generated ID fits well with those who are using custom style sheets/ HTML backends.
It then allows those with coding conventions/branding guidelines to use terminology unique to there documents.
For those who want to assign a stable ID to a tab, it should be possible to specify the ID explicitly on the tab item. To do so, the extension should look for the anchor at the start of the dlist entry and promote it. For example:
The ID of the tab with the content (i.e., label) "Tab A" would be
my-tab-id
.Technically this already works in practice. The list item for the tab still gets an auto-generated ID, but the tab also responds to the custom ID specified at the start of the label.
I think the question here is whether the explicit ID should replace the auto-generated ID. I feel like it probably should. The output we would expect, then, is:
I also wonder whether it should be possible to specify whether the ID of the tabs (i.e., tabset) should be prepended to the explicit ID (like when it is generated) or whether the ID should be used as is.
The text was updated successfully, but these errors were encountered: