Skip to content

[Feature Request] Title for code blocks #436

@transferae

Description

@transferae

Hi, I propose adding the possibility to add a title above a codeblock, for example to indicate the filename, etc.

Syntax wise, I think the approach described here makes a lot of sense:

`/etc/filenameastitle`
```ts=
const hello = "world";
```

Which should be displayed like this:
Image

This way the markdown stays human readable and compatible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions