spck-issues icon indicating copy to clipboard operation
spck-issues copied to clipboard

Syntax Highlights does not work right at all...

Open Neodevils opened this issue 3 years ago • 2 comments

Screenshot_2022-12-23-15-09-08-240_com android chrome

// Although on GitHub, it's showing Uppercase words as Orange but still class name has to be orange
class ThisHasToBeOrange extends Thistoo {
    constructor(nor, propert) {
        this.nor = "As you see nor is blue while on screenshot it is not...";
        this.propert = 1;
    }
}

function thisWorksWell(althoughThatWouldBeOk) {
    console.log("Hello world!");
}

Neodevils avatar Dec 23 '22 12:12 Neodevils

@spck-io, will this get fixed?

Neodevils avatar Jan 31 '23 10:01 Neodevils

You can fix the issue with just replacing Purple to orange color when the letter starts with Uppercase or like you did on Dracula theme, which is also works on new Constructor().

Neodevils avatar Jan 31 '23 10:01 Neodevils