-
Notifications
You must be signed in to change notification settings - Fork 15
Description
I would like this extension to directly support djot (https://djot.net/). Djot is a lightweight markup syntax, similar to markdown, created by John MacFarlane (the author of Pandoc).
Djot already has a VSCode extension available: https://marketplace.visualstudio.com/items?itemName=ryanabx.djot-vscode
There is also a tree-sitter parser for Djot, which could be used to "preprocess" the djot, before submitting it to the languagetool server: https://github.com/treeman/tree-sitter-djot
Alternatively, there is also a Textmate djot grammar, which might help: https://github.com/sorairolake/djot.tmLanguage
Alternative, you could simply simply convert the djot to another format which is already understood by LanguageTool, such as HTML or Markdown. Djot has a javascript library for conversions here: https://github.com/jgm/djot.js/