Skip to content

Add a copy button to code snippets  #6

Open
@copypasteov

Description

@copypasteov

Describe the solution you'd like
Add a button that allows to copy a code snippet, append to each code snippet pre element

  • you can use the ClipboardCopyButtonDirective that @jhonacs2 added in the angular app version
  • place it in a directives folder same level as the components folder
  • use a p-button and optionally add an icon
  • have a look at how it's done on Hashnode for inspiration

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions