Skip to content

Passing arbitrary props directly with code fence options #149

Open
@kelvindecosta

Description

@kelvindecosta

Hey!

I would like to pass arbitrary props directly to the pre components.

```python { title: "main.py" }
print("Hello, world")
```

In the above example, the pre component would have the title prop set to "main.py".
This simple use case provides a tooltip for the generated code block.

Is this possible with the current version of the plugin?

Any help is appreciated!
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions