Skip to content

When using code snippet from file, if no title is specified, place the file name #392

Open
@noam-honig

Description

@noam-honig

Is your feature request related to a problem?

Almost everytime I use a file as a code snippet, I also write the same name of the file as the title for that code snippet

For example:

```file:/frontend/Page.tsx title="frontend/Page.tsx"
```

Describe the solution you'd like.

It'll be great if when no title was specified, the file name will be used as the title by default.

Describe alternatives you've considered.

Writing it manually

Additional context

Love your work

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpr-welcomeAccepting pull requests for this change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions