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

[Enhancement]: Partial to add more toc-like boxes #1658

Open
1 task done
jpf91 opened this issue Jan 8, 2025 · 0 comments
Open
1 task done

[Enhancement]: Partial to add more toc-like boxes #1658

jpf91 opened this issue Jan 8, 2025 · 0 comments
Labels
enhancement New feature or improvement

Comments

@jpf91
Copy link

jpf91 commented Jan 8, 2025

What you'd like to propose?

I think it'd be nice to be able to add custom infoboxes next to the toc box.

The main reason I want this is for showing articles in a series, but there might be other usecases. Example:
image

Where the first box would be rendered using the new partial. This also needs some minor html/css adjustments: As we could have either ToC or Series or both in an article, we should not set margin-bottom: 40px on the toc. Instead, we need to intoduce a new div which wraps all those boxes, set margin-bottom: 40px on that one and set margin-bottom:10px or something like that on the boxes.

What do you think? If you think this is a reasonable feature, I can open a PR.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jpf91 jpf91 added the enhancement New feature or improvement label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement
Projects
None yet
Development

No branches or pull requests

1 participant