mottox2 / remark-code-titles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: setter for tag and class name

incompletude opened this issue · comments

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?

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.