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

Navigation panel always uses h1 title #189

Open
mwermelinger opened this issue Feb 26, 2024 · 0 comments
Open

Navigation panel always uses h1 title #189

mwermelinger opened this issue Feb 26, 2024 · 0 comments

Comments

@mwermelinger
Copy link

My mkdocs.yml file includes something like:

nav:
  - Introduction:
    - Home: index.md
    - Examples and Templates: example-essays.md
    - getting-started.md
  - Templates:
    - Intro Prog: examples/template-intro-programming.ipynb
    - DSA: examples/template-data-structures.ipynb

The navigation panel shows the defined titles (Home, etc.) for the Markdown files, but for the notebooks it uses the H1 headers in the notebooks and ignores 'Intro Prog' and 'DSA'. Is this a feature or a bug? The example in the README seems to imply that one can override the H1 headers.

I'm using mkdocs 1.5.3 and mkdocs-jupyter 0.24.6. I've commented out everything in mkdocs.yml except the navigation, to make sure it wasn't a conflict with other plugins and markdown extensions I use. Thanks in advance for any help and clarifications.

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

1 participant