A rehype plugin that extracts titles from code blocks and inserts them before the code, improving readability in markdown rendering.
npm install @sikandarmoyaldev/rehype-code-titlerehypeCodeTitle is a custom plugin for rehype, designed to extract titles from code blocks and insert them before the element inside . This plugin helps you add context or descriptive titles to code blocks in your HTML documents.
Installation
To install, use npm:
``bash
npm install git+https://github.com/sikandarmoyaldev/rehype-code-title.git
``
Contributing
If you want to contribute to this project, feel free to fork the repository, make changes, and submit a pull request. Please make sure to review the Contribution Guidelines before contributing.