Skip to content

CodeBlocks adds more customization options #272

@NeroBlackstone

Description

@NeroBlackstone

Problem Statement

Currently, the customizability of CodeBlock components is not very strong.

For example, the download button cannot be disabled while remian copy button, and the button's floating title does not take i18n into account(for non-English user). It would be even better if the button appearance could be customized.

Proposed Solution

Add an option to allow users to disable the download or copy buttons individually, and custom button appearance.

Alternatives Considered

No response

Use Case

Priority

None

Contribution

  • I am willing to help implement this feature

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions