Skip to content

Nested lists #24

Description

@griffi-gh

I am trying to add a nested list in my feature docs (for feature subsets)
example:

  • ...
  • builtin_font (enabled by default) — Enable the built-in font (ProggyTiny, adds 35kb to the executable)
  • builtin_elements (enabled by default) — Enable the built-in elements (Container, ProgressBar, etc.)
    • builtin_container — Enable only the Container component (which is essential for laying out other components)
  • ...

However, it appears that implementing nested lists is currently not possible, even with the use of hacky workarounds.
I think adding a - (or */extra #) before the feature doc comment should add two spaces before the generated list entry, creating a nested list.

## Enable the built-in font (ProggyTiny, adds 35kb to the executable)
builtin_font = []
## Enable the built-in elements (`Container`, `ProgressBar`, etc.)
builtin_elements = ["builtin_container"]
## - Enable only the `Container` component (which is essential for laying out other components)
builtin_container = []

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions