Skip to content

Crash when adding nested lists inside instructor's notes #355

@LourensVeen

Description

@LourensVeen

I'm writing some inline instructor's notes, and inside of them I have a nested list, like this:

::::::::::::::::::::::::::::::::::::: instructor                                
- item
- another item
    - nested item
    - another nested item
::::::::::::::::::::::::::::::::::::::::::::::::

When I then run sandpaper on the project, it says:

 sandpaper::build_lesson(".", preview = FALSE, quiet = FALSE)
── Validating Fenced Divs ───────────────────────────────────────────────────────────────────
Error in .x[[1]] : subscript out of bounds

Markdown supports nested lists, and the syntax is correct, so if this is a limitation I'd expect at least a better error message. Single-level lists work fine at least.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrequency: lowindicator that a use-case has a low-frequency in lessonssolution 💡A temporary solution is in the commentssource: pegboardThe source of the issue is in pegboard, but it is still relevant here

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions