Skip to content

undefined behavior on inner blocks #15

@alikindsys

Description

@alikindsys

blocks are lists, but they don't work as such.

{
    - ["a","b","c"]
}

and

{
    - {
        - "a"
        - "b"
        - "c";
    }
}

should compile to the same latex. it just doesn't. the compiler just gives up at the idea of that being a thing since blocks aren't in the parseListItem function.
https://github.com/roridev/sampleTeX/blob/037ca921a9362faff0d870fc1709d2984c9d90fd/src/Parser.hs#L264-L268

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions