Replies: 2 comments 6 replies
-
This is something that probably needs to be specified more explicitly. Out of interest, though, why is it necessary to put an ID on the heading itself? |
Beta Was this translation helpful? Give feedback.
-
I am also having a lot of trouble with the section wrappers. My reason for using djot was to have more flexibility in styling my content without resulting in inline HTML. The section breaks the flow of things, since the resulting HTML doesn't closely map to the markdown anymore. My question is, what is the rationale for auto-adding sections? Can it be opt-out? Or only added if an ID isn't attached to a heading? |
Beta Was this translation helpful? Give feedback.
-
Hi. I’m experimenting with the online sandbox and I get confused when I try to apply attributes to headings.
If I set custom attributes and don’t include an id it works as I expect: I get attributes on the resulting
<h1>
tag. However, if I add a custom id the id and all other attributes are moved to the<section>
tag instead. Is this expected? How do I apply attributes to the heading if I also want to give it a custom id.results in
Beta Was this translation helpful? Give feedback.
All reactions