hluk / hluk/CopyQ

Change text color in markdown (used with Typora)

Open
#1,461 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
C++
Stars
12.3k
Forks
593
Avg merge
2d 8h
Merged PRs (30d)
9

Description

I use the below with Typora to change the color of text.

Is there a way to call a color picker instead of the prompt for a color code?

Would be nice if it was multiplatform - so like a website or built-in widget?

```
[Commands]
1\Command="
copyq:
if (!copy())
abort()

var text = str(clipboard())
var colorcode = dialog('.title', 'Color Name or HTML Code', 'Enter a color name or HTML code:', 'green')

var newText = '' + text + ''

if (text == newText)
abort();

copy(newText)
paste()"
1\GlobalShortcut=meta+ctrl+r
1\Icon=\xf034
1\IsGlobalShortcut=true
1\Name=Change Text Color
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.