markless icon indicating copy to clipboard operation
markless copied to clipboard

how to set the markless.customStyle ?

Open ariefcfa opened this issue 10 months ago • 4 comments

sorry noob question. i tried using relative path to a .css file in my workspace but i didn't see any change

chatGPT gave a complicated answer and i'm not sure about that, by editing the setting.json file. something like:

"editor.tokenColorCustomizations": {
    "textMateRules": [
        {
            "scope": "markup.list",
            "settings": {
...

please help

ariefcfa avatar Feb 20 '25 17:02 ariefcfa

Can you upload the content of your css file?

Sean10 avatar Feb 21 '25 02:02 Sean10

thanks @Sean10 here is the screenshot

Image

ariefcfa avatar Feb 21 '25 12:02 ariefcfa

Sorry for the misleading customStyle. Now it only support css selector in src/common-decorations.js

Example:

.markless-rainbow-1 {
    color: #000000;
}

.markless-rainbow-2 {
    color: #000000;
}

Sean10 avatar Feb 22 '25 14:02 Sean10

thanks @Sean10 i will try it 👍

ariefcfa avatar Feb 22 '25 14:02 ariefcfa