Skip to content

Paragraphs are erroneously split into multiple steps #26

@washtubs

Description

@washtubs

According to the spec: "Each paragraph in your recipe file is a cooking step. Separate steps with an empty line."

It provides the following as an example:

A step,
the same step.

A different step.

Pasting that text in the playground, I expect to see 2 steps but instead see 3:

screenshot_249

I also see this behavior in the plugin and CLI, so I figure this is the right place to post it. Not sure if this is where the bug is though.

To throw my 2c in pre-emptively, the spec is wise on this IMHO. A good markup language allows for semantic line feeds, essentially allowing the user to break elements down into atomic thoughts being their own lines which is great for editing and making git history easier to interpret, without effecting the presentation.

EDIT:

I should add my cooklang obsidian version is 0.3.0.

And for cooklangcli version I tried both the main branch and 0.8.0, but looking at it again it looks like neither are using the latest version of this crate which is 0.9

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