Skip to content

Conversation

@tuckergordon
Copy link
Owner

Creates custom components for code and img elements in md.

https://mdsvex.pngwn.io/docs#custom-components
A small copy button now shows up when you hover over a codeblock. This
is based on (shiki-transformer-copy-button)[https://github.com/joshnuss/shiki-transformer-copy-button],
but I implemented it myself to change the API a bit to (IMO) simplify.
@vercel
Copy link

vercel bot commented Feb 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 23, 2025 5:18pm

@tuckergordon tuckergordon merged commit 0079825 into main Feb 23, 2025
5 checks passed
@tuckergordon tuckergordon deleted the md-styling branch February 23, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Markdown code ticks Codeblocks

2 participants