code_field icon indicating copy to clipboard operation
code_field copied to clipboard

How do i make a custom language?

Open elgansayer opened this issue 3 years ago • 1 comments

I realise it's not an issue.

I am trying to make a custom language. how would i go about doing that?

Commenting and making Mode() available would be really helpful.,

elgansayer avatar Sep 12 '21 16:09 elgansayer

I guess you'd need to create a custom highlight JS mode https://github.com/git-touch/highlight.dart It's already available, go check out the custom_code_box in the examples!

BertrandBev avatar Sep 13 '21 10:09 BertrandBev