heynote icon indicating copy to clipboard operation
heynote copied to clipboard

More syntax highlighting languages

Open endigma opened this issue 1 year ago • 19 comments

Requested:

  • [x] Vue
  • [ ] HCL
  • [ ] R
  • [ ] Ini
  • [x] Dart
  • [ ] Properties
  • [ ] Scala
  • [ ] Liquid
  • [ ] reStructuredText
  • [x] PowerShell
  • [x] Diff
  • [x] TOML
  • [x] Golang
  • [x] Ruby
  • [x] Shell
  • [x] YAML
  • [x] TypeScript
  • [x] JSX
  • [x] TSX
  • [x] Clojure
  • [x] C#
  • [x] Erlang
  • [x] Groovy

endigma avatar Dec 22 '23 15:12 endigma

From #11

  • Elixir
  • Erlang

endigma avatar Dec 22 '23 15:12 endigma

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!

heyman avatar Dec 22 '23 17:12 heyman

From #19

  • Vue
  • Rails (Ruby)

endigma avatar Dec 22 '23 17:12 endigma

@heyman Could probably pin this to avoid dupe spam

endigma avatar Dec 22 '23 17:12 endigma

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

endigma avatar Dec 22 '23 17:12 endigma

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

cursive-ide avatar Dec 22 '23 23:12 cursive-ide

C# (csharp)

CoenraadS avatar Dec 23 '23 10:12 CoenraadS

From #64

  • TypeScript
  • JSX
  • TSX

espenja avatar Dec 25 '23 03:12 espenja

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).

heyman avatar Dec 26 '23 00:12 heyman

  • PowerShell

eizedev avatar Dec 31 '23 10:12 eizedev

Scala support would be nice, thank you!

windymelt avatar Dec 31 '23 13:12 windymelt

Liquid would be helpful for us.

jonedmiston avatar Jan 18 '24 19:01 jonedmiston

dart

aiiv avatar Jan 23 '24 00:01 aiiv

AsciiDoc would be great.

TheMadLeprechaun avatar Jan 31 '24 18:01 TheMadLeprechaun

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

porridgewithraisins avatar Feb 02 '24 11:02 porridgewithraisins

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

richieadler avatar Feb 09 '24 13:02 richieadler

PowerShell

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

PowerShell and Diff support fixed in #191

heyman avatar Feb 09 '24 15:02 heyman

I would love support for Gleam!

MystPi avatar Feb 24 '24 00:02 MystPi

Would love to see Lua support added :)

dljsjr avatar Mar 12 '24 15:03 dljsjr