mottox2 / remark-code-titles

16 stars 2 forks source link

Feature request: setter for tag and class name #5

Open incompletude opened 2 years ago

incompletude commented 2 years ago

It would be nice to have some control over my HTML. thx.

Can I write a PR with types and proper implementation for the options param?

talatkuyuk commented 1 year ago

I created a new npm package remark-flexible-code-titles to add title element or container element or both for the code nodes in markdown. You can set custom tag name, custom class name or even add additional properties. You can check it out.