Skip to content
New issue

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

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

Already on GitHub? # to your account

how can i add a not exist language #267

Open
i-xiao-zi opened this issue Mar 3, 2024 · 0 comments
Open

how can i add a not exist language #267

i-xiao-zi opened this issue Mar 3, 2024 · 0 comments

Comments

@i-xiao-zi
Copy link

i have a language not exists in the language lists, how can i import my language mode to my project.

i try like this, but its not right

  late CodeController _controller;
  @override
  void initState(){
    super.initState();
    highlight.registerLanguage('hello', hello);
    _controller = CodeController(
      text: '#abc',
      language: hello,
    );
  }
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant