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

Add support to center docs #573

Open
Nrosa01 opened this issue Dec 11, 2023 · 2 comments
Open

Add support to center docs #573

Nrosa01 opened this issue Dec 11, 2023 · 2 comments

Comments

@Nrosa01
Copy link

Nrosa01 commented Dec 11, 2023

Current implementation works from left to right.

Custom shortcodes like tabs, details and so don't work well with

, it also fails for tables. Using custom shortcodes makes the ToC dissapear. It would be a nice feature to have this out of the box as a simple config in the .toml

@alex-shpak
Copy link
Owner

Hi!
Sorry for late reply? can you please elaborate, I use left-to-right direction, so might not catch all use-cases

@Nrosa01
Copy link
Author

Nrosa01 commented Feb 18, 2024

To put an easy example, if you use

in vscode markdown and you put a table there, the whole table gets centered. In this Hugo template it doesn't (using any of those also breaks ToC for some reason). I also tried custom shortcodes like these ones: https://discourse.gohugo.io/t/how-to-center-text/22070

If it's not clear I can attach images of what I get versus what I expect/want. It could also be that I'm using this template in a way it was not intended 😅

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

No branches or pull requests

2 participants