-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Heading attributes disappear from hierachical sections #43
Comments
when promoting the identifier to the enclosing section. See #43.
I've made a change which restores intended behavior, which is that the id attribute migrates the the section but other attributes stay on the heading. I don't know if that's the best solution, though. Another approach would be to put all the attributes on the section. |
Hmm, I would prefer to move all of the attributes to the section. I don't see why the id would be considered special in this case. It would be kind of similar to how lists and list items are handled, attributes get applied to the list instead of the list item. If we want to let one apply attributes to the heading or list item, it could perhaps be solved similarly in both cases. |
OK, I've done it that way. |
{a=b} # abc
results in
instead of
or
The only attribute that does not disappear is the id, if provided it overwrites the id on the section as expected.
Headings within block containers are working as expected:
::: {a=b} # abc :::
The text was updated successfully, but these errors were encountered: