TresML VSCode extensionOfficial TresML language extension for VSCode. FeaturesBuilding HTML file from TresML fileThis extension provides a command to compile TresML files directly to HTML files, without having to interact with a server. The extension bundles two versions of the TresML interpreter: an OCaml bytecode that requires However, the possibility to directly compile a TresML file into a HTML page naturally limits the features of the TresML language: since the page is not interacting with a web server features like redirection, session variables are not available when compiling this way. Syntax highlighting for TresML source filesThis extension allows to preserve HTML syntax highlighting at top level, while correctly highlighting code within TresML code brackets Example: With a dark mode: With a light mode: DependenciesIf you use the command to compile TresML files and choose to compile using the bytecode-compiled version of the TresML interpreter, you need to have an OCaml bytecode interpreter installed. Known Issues
|

