Skip to content

Support nested elements#5

Merged
lovelydinosaur merged 1 commit intomainfrom
nested-nav
Oct 21, 2025
Merged

Support nested elements#5
lovelydinosaur merged 1 commit intomainfrom
nested-nav

Conversation

@lovelydinosaur
Copy link
Copy Markdown
Contributor

Support nested navigations such as...

nav = [
    {title="Introduction", path="index.md"},
    {title="Tutorial", children=[
        {title="Creating a project", path="tutorial/new.md"},
        {title="Adding pages", path="tutorial/pages.md"},
        {title="Publishing your work", path="tutorial/publish.md"},
    ]},
    {title="Topics", children=[
        {title="Page layouts", path="topics/layouts.md"},
        {title="Typography", path="topics/typography.md"},
        {title="Color schemes", path="topics/schemes.md"},
    ]}
]

@lovelydinosaur lovelydinosaur merged commit ef4c6a9 into main Oct 21, 2025
@lovelydinosaur lovelydinosaur deleted the nested-nav branch October 21, 2025 22:11
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

Successfully merging this pull request may close these issues.

1 participant