Aucune description

Michael Bolin bcea24a9de Improve quality of Hack example. il y a 5 ans
grammars 0f56c779ab Initial commit. il y a 5 ans
src bcea24a9de Improve quality of Hack example. il y a 5 ans
.gitignore 0f56c779ab Initial commit. il y a 5 ans
.prettierrc 0f56c779ab Initial commit. il y a 5 ans
LICENSE 0f56c779ab Initial commit. il y a 5 ans
README.md 0f56c779ab Initial commit. il y a 5 ans
index.css 0f56c779ab Initial commit. il y a 5 ans
index.html 0f56c779ab Initial commit. il y a 5 ans
package.json 8ea1ed8d56 Got things working with monaco-editor-textmate. il y a 5 ans
tsconfig.json 0f56c779ab Initial commit. il y a 5 ans
webpack.config.cjs 9d4ceab3d9 Use MonacoWebpackPlugin to disable default language tokenizers. il y a 5 ans
yarn.lock 8ea1ed8d56 Got things working with monaco-editor-textmate. il y a 5 ans

README.md

monaco-tm

This attempts to get TextMate grammars working in standalne Monaco by leveraging vscode-oniguruma and vscode-textmate. For more context, see: https://github.com/microsoft/monaco-editor/issues/1915.

Run demo

Status

Currently, I am trying to use this to verify I can get the Hack grammar working in standalone Monaco. Unfortunately, it is not working yet.

To try other languages, play with options at the bottom of app.ts.

I also took a brief look at:

I believe that demo reimplements some of what vscode-textmate provides. I would prefer to have something as close to the VS Code implementation as possible.