You can use this as a shiki
transformer in rehype-pretty-code
by passing it to the transformers
array.
visibility
: 'always' | 'hover'
(default: 'hover'
)
feedbackDuration
: number
(default: 3_000
)
copyIcon
: string
(default: an inline SVG of a copy icon)
successIcon
: string
(default: an inline SVG of a green checkmark icon)