Default title for all code blocks on web site #10204
Answered
by
CanadianBeaver
CanadianBeaver
asked this question in
Q&A
-
Is it possible to customize a title that will be displayed for each code block on the generated web-site? |
Beta Was this translation helpful? Give feedback.
Answered by
CanadianBeaver
Jun 7, 2024
Replies: 1 comment 6 replies
-
I'm not sure but you might be able if you swizzle the code block component and put a default title in it |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
that is nice, thank you
npm run swizzle @docusaurus/theme-classic CodeBlock -- --wrap