Skip to content
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

Include set content #1

Open
SirNovi opened this issue May 16, 2023 · 2 comments
Open

Include set content #1

SirNovi opened this issue May 16, 2023 · 2 comments

Comments

@SirNovi
Copy link

SirNovi commented May 16, 2023

Thanks for this extension. It's super easy to implement and works very well.

I was just wondering if you could think of a way to also include content that is stored within a set in bard.

Thanks for your time

@simonerd
Copy link
Member

@SirNovi Sure, we'll have a look into that. Could you give us a bit more detail about your use case?

Considering a setup like this:

Screenshot_2023-05-23_18-26-56

Do you want to …
a) create an anchor nav for the headlines of Nested Bard Field?
b) create an anchor nav for headlines in both Content and Nested Bard Field (with the latter being indented)?
c) something else? 😄

@SirNovi
Copy link
Author

SirNovi commented May 23, 2023

I see how this can be difficult to implement in a good way.

My plan was c) have the nested fields on the same level as headlines in the main field.

The most logical way might be to indent them if they are lower in the hierarchy. So, if they are h3 while the preceding headline is h2, for example. And to have them on the same level if they are also h2.

I have no idea how difficult it would be to implement that.
But I appreciate you taking the time to think about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants