Allow configuring ID attribute and further elements

Created on 12 June 2024, 15 days ago

Hello,

Didn't add IDs selector? It can be used in conjunction with the TOC module to generate TOC directories.

Thanks

✨ Feature request
Status

Active

Version

3.0

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @msn5158
  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    @msn5158 because it's needed quite seldom and risky for duplicates. Feel free to add a MR for a submodule to add the ID attribute or potentially add other attributes.

    Maybe there are already modules solving this. But typically you'd override the twig templates for more complex tasks.

  • Yes, there are many modules that can add ID attributes, such as block_class, but they all have duplicate features and their own differences. For example, block_class cannot change the tag, while fences cannot add ID attributes. However, if they are all installed, they have many duplicate features. I think only one of them is needed, so I hope fences can add the ID feature.

Production build 0.69.0 2024