-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Wrap heading content support? #5
Comments
Maybe sketch a bit why we need this. We have a fixed header on our documentation pages (http://getbootstrap.com/docs/4.1/getting-started/introduction/#quick-start). With the inner wrapping div we set a title offset so that the title doesn't go below the navigation. |
So what's currently being generated is this: <h1>
My Heading
<a href="#heading">#</a>
</h1> Which of these options are you talking about being generated? <h1>
My Heading
<div>
<a href="#heading">#</a>
</div>
</h1> <h1>
<div>
My Heading
<a href="#heading">#</a>
</div>
</h1> Should be simple enough to add, but couldn't this be solved with a |
Last option. We use a Ow, I also think it's better to use a And it would be nice if we can also add a class to the wrapper. 😄 (Btw, we're just asking this because this would be handy to use in the Bootstrap docs, totally fine if you decide not to implement this) |
If it's useful to Bootstrap docs, I'm sure someone else will have similar needs so it's worth investing time into implementing this feature 😄 |
Hey, @allejo .
I'm gonna switch to your package for Bootstrap. While at it, I noticed we could use an optional element wrapping support for the
a
tags.Do you think this would be possible without too many changes?
Thanks in advance!
/CC @MartijnCuppens
The text was updated successfully, but these errors were encountered: