Open mertyildiran opened 2 years ago
Awesome @mertyildiran, exactly what I was looking for 👍 Would be great to this it merged and release.
Although it works great for my use case, shouldn't it be syntaxes: refractor.RefractorSyntax[]
? So that multiple syntaxes could be registered?
Tested on a personal project, works great 💯
Is this repo still maintained @katydecorah @davidtheclark? (Sorry I'm not really sure who to mention)
@hugocaillard I thought you were one of the maintainers.
I'd recommend forking the library if you'd like to move it forward.
@davidtheclark yeah, I know but this is a dependency of a dependency for me. So I need to fork two libraries which I don't want to do that. See https://github.com/uiwjs/react-textarea-code-editor/pull/85
I'll have to do that only if I cannot made them merged in a reasonable time.
@katydecorah any update on this PR?
@mertyildiran I no longer work at Mapbox and unfortunately I'm not sure who will maintain this repository moving forward.
@katydecorah I understand. Thank you so much!
Adds an option named
syntax
to provide a way to register a new Prism language definition. See.