Dynamic copy to clipboard for phoenix liveview. I wrote more about it here.
- Add this to
core_components.ex:
attr :id, :string, required: true
attr :content, :string, required: true
@doc """
| #!/bin/bash | |
| # Create a (draft) pull request using GitHub CLI. | |
| # It assigns the PR to the current user, fills in the title from the first commit, | |
| # and uses the PR template file for the description. | |
| set -euo pipefail | |
| # Colors for output | |
| RED='\033[0;31m' |
| { | |
| "workbench.startupEditor": "none", | |
| "editor.inlineSuggest.enabled": true, | |
| "editor.fontSize": 12, | |
| "editor.lineHeight": 0, | |
| /** | |
| Tailwind extension stuff - https://pragmaticstudio.com/tutorials/formatting-heex-templates-in-vscode | |
| */ | |
| "tailwindCSS.includeLanguages": { | |
| "plaintext": "html", |
Dynamic copy to clipboard for phoenix liveview. I wrote more about it here.
core_components.ex: attr :id, :string, required: true
attr :content, :string, required: true
@doc """