astro/packages/markdown/remark
StandardGage c081adf998
Allow Code Component to have custom props and extra class styles (#9960)
* Create simple react element if element has no children

* Fix for when element has text

* add changeset

* Add additionalProps to Code component and ShikiHighlighter.highlight()

* Add changeset

* Create simple react element if element has no children

* Fix for when element has text

* add changeset

* Add additionalProps to Code component and ShikiHighlighter.highlight()

* Add changeset

* reverted accidental changes

* remove unnecessary parts

* Add HTMLAttributes type to additionalProps

* Update .changeset/calm-bags-deliver.md

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

* extend HTMLAtts instead

* add suggestions

* feat: address reviews

* chore: remove empty line

* feat: move attributes to options

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-03-08 13:02:53 +00:00
..
src Allow Code Component to have custom props and extra class styles (#9960) 2024-03-08 13:02:53 +00:00
test Move to shiki and stabilize dual themes support (#10130) 2024-03-08 10:53:19 +00:00
CHANGELOG.md [ci] release (#9843) 2024-01-30 15:41:06 +00:00
package.json fix(markdown): don’t generate mdast html nodes (#10104) 2024-03-08 10:53:39 +00:00
tsconfig.json [ci] format 2024-01-20 11:00:50 +00:00