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

[Feature] Distinguish between Markdown headings #59

Open
3 tasks done
chipzoller opened this issue Nov 24, 2021 · 2 comments
Open
3 tasks done

[Feature] Distinguish between Markdown headings #59

chipzoller opened this issue Nov 24, 2021 · 2 comments

Comments

@chipzoller
Copy link
Contributor

I have checked all the prerequisites below and I'm yet experiencing a problem

  • Read the README.md
  • Have the extended version of Hugo installed
  • Used the exampleSite's config.toml as a reference

Describe the feature request

The left-side nav bar is very nice, but the only down side is it flattens all markdown headings to appear as though they're on the same "level". This makes it challenging when adopting this theme coming from other Markdown content where there has been some care taken to ensure headings have structure defining the content. It'd be nice if there was some simple way of reflecting maybe two or three levels of this structure. Alternatively, multiple pages would need to be created to keep this visually distinct.

Desktop (please complete the following information):

  • OS: Mac 10.14.6
  • Browser: Firefox 93
@chipzoller
Copy link
Contributor Author

Guessing this is related to #55

@rwstorer
Copy link
Contributor

As a workaround, I put these lines in my assets/sass/_custom.sass file:

.section
  &_title
    font-size: 1.25rem
  &_link
    font-size: 0.9rem
    font-weight: 400

It makes the sub-menu items visibly smaller, and I can easily tell where each Topic begins and ends.

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