griddycode icon indicating copy to clipboard operation
griddycode copied to clipboard

Add Different Langs

Open CyberZenDev opened this issue 1 year ago • 3 comments

1 - Bash 2 - Rust 3 - Ruby 4 - TypeScript 5 - PhP 6 - VBS 7 - Dart

CyberZenDev avatar Mar 30 '24 10:03 CyberZenDev

Howdy! It seems none of these have comments yet, so you should add some Other than that they seem pretty good!

ItsTato avatar Mar 30 '24 10:03 ItsTato

The file names are supposed to be the same as their file extensions. e.g. typescript -> ts, rust -> rs

uynilo9 avatar Mar 30 '24 14:03 uynilo9

Typescript is missing editor comments, wrong file name, and is missing default variables & functions.

It's also worth noting that the type identifier ": " is not highlighted, and highlighting primitive values as reserved does not look very good.

Also, for all langs here, you don't need to highlight operators. the editor does it by default. Same with special characters. Unsure about < or > tho.

Typescript should probably be in similar flow to the javascript one as well so if anything is added it can be added to both just as easily.

Symmettry avatar Mar 31 '24 03:03 Symmettry

The highlight is "comments" not "comment" Issue is in multiple files.

Symmettry avatar Apr 01 '24 04:04 Symmettry