JounQin

Results 779 comments of JounQin

@orta Can we load all resources manually? I don't want to provide static resource path but bundled by vite/webpack.

Additionally, if there are several `` used at a same time, a lot of duplicate requests will be sent and could fail... ![image](https://user-images.githubusercontent.com/8336744/132042670-f872ec35-69cd-41ba-b959-7fc476379e16.png) ![image](https://user-images.githubusercontent.com/8336744/132042707-4aaa8d63-22fe-413b-a03f-a3127169171b.png)

The error seems happening when lang is mismatch, (the source code and lang info comes from user, so it can be wrong) ![image](https://user-images.githubusercontent.com/8336744/132042861-c74f4b78-0ab5-4111-b626-101e0dd2e80f.png)

@Gerrit0 Thank you very much, I didn't seen any document about that `highlighter` should be singleton or I should use `langs` in `getHighlighter` first. I'll give it a try after...

https://opensource.win 其实之前开源中国就搞过🤣

1. see https://github.com/angular-eslint/angular-eslint/pull/1071 2. You should use https://github.com/import-js/eslint-import-resolver-typescript for TypeScript

@Kingwl Great thanks! I previously noticed [unified-language-server](https://github.com/unifiedjs/unified-language-server) created by @remcohaszing, is there any chance to reuse it here? Never mind if you think not or unnecessary.

I may start to copy/paste these codes after #207 been merged. @Kingwl If you could continue the work, that would be awesome!