Skip to content

myst formatting directive with only 1 parameter #21

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

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions