We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I add a button to a block of code for copying?
Similar to this, show the language and then show the copy button on the right to provide copy of the internal code
The text was updated successfully, but these errors were encountered:
show a lang tag and a copy button on codeblock. refs #138
58f46dd
We released a test package 11.0.3-a1.
This package display a lang and copy button.
A button label can be changed using Style.
<Styles xmlns="https://github.com/avaloniaui"> <Style Selector=".CodeBlock Button.CopyButton TextBlock"> <Setter Property="Text" Value="📋"/> </Style> </Styles>
Sorry, something went wrong.
Thank you, this is a great feature
If I have time I would like to use it to write a ChatGpt client
No branches or pull requests
How do I add a button to a block of code for copying?
Similar to this, show the language and then show the copy button on the right to provide copy of the internal code
The text was updated successfully, but these errors were encountered: