Skip to content

Add option to remove added node meta #21

Description

@dominiwe

When we have for example a code block starting like this:

```plain file=somefile

I think it would be extremely convenient to have an option to remove the file=somefile part, after the contents of the file were loaded.

So that afterwards this would be left:

```plain
content of somefile

This could make the plugin more compatible with code syntax highlighters and other plugins.

Right now, the workaround for me was to manually clean this up with the plugins remark-code-extra and remark-code-frontmatter which let me basically move that to a frontmatter block within the code block, but an option here would be much cleaner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions