Skip to content

myst formatting directive with only 1 parameter #21

Open
@paugier

Description

@paugier

Context

```{exercise-start}
:label: ex1
```

is formatted as

```{exercise-start}
---
label: ex1
---
```

Proposal

I think it is too verbose for this case, especially when we have several directives like that in a file.

When there is only 1 parameter, it should be kept with the syntax :label: ex1.

Tasks and updates

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions