AlloyTools / org.alloytools.alloy

Alloy is a language for describing structures and a tool for exploring them. It has been used in a wide range of applications from finding holes in security mechanisms to designing telephone switching networks. This repository contains the code for the tool.
Other
694 stars 123 forks source link

Make the parser match the syntax highlighter [#259] #265

Closed awwaiid closed 2 months ago

awwaiid commented 2 months ago

Because both appear to use the Markdown YAML header to indicate that the content is markdown. The issue here was that the highlighter uses the more strict ---\n whereas the parser was looking for only ---.

Tested locally and now the syntax highlighter and execution behavior match each other!