Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More syntax highlighting languages #10

Open
14 of 23 tasks
endigma opened this issue Dec 22, 2023 · 19 comments
Open
14 of 23 tasks

More syntax highlighting languages #10

endigma opened this issue Dec 22, 2023 · 19 comments

Comments

@endigma
Copy link

endigma commented Dec 22, 2023

Requested:

  • Vue
  • HCL
  • R
  • Ini
  • Dart
  • Properties
  • Scala
  • Liquid
  • reStructuredText
  • PowerShell
  • Diff
  • TOML
  • Golang
  • Ruby
  • Shell
  • YAML
  • TypeScript
  • JSX
  • TSX
  • Clojure
  • C#
  • Erlang
  • Groovy
@endigma
Copy link
Author

endigma commented Dec 22, 2023

From #11

  • Elixir
  • Erlang

@heyman
Copy link
Owner

heyman commented Dec 22, 2023

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
Copy link
Author

endigma commented Dec 22, 2023

From #19

  • Vue
  • Rails (Ruby)

@endigma
Copy link
Author

endigma commented Dec 22, 2023

@heyman Could probably pin this to avoid dupe spam

@endigma endigma changed the title Feature Request: More syntax languages More syntax highlighting languages Dec 22, 2023
@endigma
Copy link
Author

endigma commented Dec 22, 2023

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
Copy link

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

@CoenraadS
Copy link

C# (csharp)

@espenja
Copy link
Contributor

espenja commented Dec 25, 2023

From #64

  • TypeScript
  • JSX
  • TSX

@heyman
Copy link
Owner

heyman commented Dec 26, 2023

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 pushed a commit that referenced this issue Dec 31, 2023
* Add Swift language support

* Add Kotlin language support
@eizedev
Copy link

eizedev commented Dec 31, 2023

  • PowerShell

@windymelt
Copy link

Scala support would be nice, thank you!

@jonedmiston
Copy link

Liquid would be helpful for us.

@aiiv
Copy link

aiiv commented Jan 23, 2024

dart

@TheMadLeprechaun
Copy link

AsciiDoc would be great.

@porridgewithraisins
Copy link

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

@richieadler
Copy link

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

@heyman
Copy link
Owner

heyman commented Feb 9, 2024

PowerShell

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

PowerShell and Diff support fixed in #191

@MystPi
Copy link

MystPi commented Feb 24, 2024

I would love support for Gleam!

@dljsjr
Copy link

dljsjr commented Mar 12, 2024

Would love to see Lua support added :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests