heyman / heynote

A dedicated scratchpad for developers
https://heynote.com
Other
4.04k stars 201 forks source link

More syntax highlighting languages #10

Open endigma opened 11 months ago

endigma commented 11 months ago

Requested:

endigma commented 11 months ago

From #11

heyman commented 11 months ago

Heynote uses Lezer for its syntax highlighting, and if a Lezer parser exist for a language it's fairly trivial to add it to Heynote.

I just found this repo which seems to have support for some of those languages, so it might be easy to add. I will look into it!

endigma commented 11 months ago

From #19

endigma commented 11 months ago

@heyman Could probably pin this to avoid dupe spam

endigma commented 11 months ago

Heynote uses Lezer for its syntax highlighting, and if a Lezer parser exist for a language it's fairly trivial to add it to Heynote.

I just found this repo which seems to have support for some of those languages, so it might be easy to add. I will look into it!

legacy-modes has - apl - asciiarmor - asn1 - asterisk - brainfuck - clike - clojure - cmake - cobol - coffeescript - commonlisp - crystal - css - cypher - d - diff - dockerfile - dtd - dylan - ebnf - ecl - eiffel - elm - erlang - factor - fcl - forth - fortran - gas - gherkin - go - groovy - haskell - haxe - http - idl - javascript - jinja2 - julia - livescript - lua - mathematica - mbox - mirc - mllike - modelica - mscgen - mumps - nginx - nsis - ntriples - octave - oz - pascal - pegjs - perl - pig - powershell - properties - protobuf - puppet - python - q - r - rpm - ruby - rust - sas - sass - scheme - shell - sieve - simple-mode - smalltalk - solr - sparql - spreadsheet - sql - stex - stylus - swift - tcl - textile - tiddlywiki - tiki - toml - troff - ttcn-cfg - ttcn - turtle - vb - vbscript - velocity - verilog - vhdl - wast - webidl - xml - xquery - yacas - yaml - z80

https://github.com/orgs/codemirror/repositories?language=&q=lang-&sort=&type=all

Addons cover vue, liquid, angular, less, sass not currently in heynote

https://github.com/codemirror/google-modes

This appears to contain a golang mode as well as Kotlin, TypeScript, C

cursive-ide commented 11 months ago

Clojure/EDN support would also be nice, and this is linked from Lezer itself.

CoenraadS commented 11 months ago

C# (csharp)

espenja commented 11 months ago

From #64

heyman commented 10 months ago

Most of the requested Languages have now been added. I've released a new beta version (you can update to it by turning on Beta versions in Heynote's settings).

eizedev commented 10 months ago
windymelt commented 10 months ago

Scala support would be nice, thank you!

jonedmiston commented 10 months ago

Liquid would be helpful for us.

aiiv commented 10 months ago

dart

TheMadLeprechaun commented 9 months ago

AsciiDoc would be great.

porridgewithraisins commented 9 months ago

Support for git diffs (in vscode language list it is Diff) would be great.

richieadler commented 9 months ago

We have Markdown, AsciiDoc was requested... is only fair that we have reStructuredText also.

heyman commented 9 months ago

PowerShell

Support for git diffs (in vscode language list it is Diff) would be great.

PowerShell and Diff support fixed in #191

MystPi commented 8 months ago

I would love support for Gleam!

dljsjr commented 8 months ago

Would love to see Lua support added :)

benkates commented 1 month ago

+1 for R, thanks!

Akselmo commented 3 weeks ago

I'd like to see Odin language :)