Vale Studio 2.0
Build, test, and share Vale rules
Today, I’m pleased to announce Vale Studio 2.0, a web service for building, testing, and sharing Vale rules.
The goal of Vale Studio is to make Vale’s rule-creation process more straightforward by providing a detailed look at how Vale handles markup and prose internally.
The Rule Library
A good starting point for creating a new rule is to browse the Rule Library, which contains example rules for many of Vale’s extension points.
After selecting a rule, Vale Studio will populate the left-side editor with the rule’s source and the right-side editor with example text (in Markdown).
View: Tags
It can be difficult to tell exactly how Vale is tagging text when creating sequence
-based rules. With Vale Studio’s View: Tags
mode, you can now see and update the tagged text as you’re creating a rule.
Open in regex101
When working with existence
, substitution
, occurrence
, or repetition
rules, you can now “compile” them into a regex101 session to explore the underlying regular expression.
Create a GitHub issue
If you’re having trouble with one of your rules, you can quickly create a new issue at the Vale repository. The issue will pre-populate with the contents of your Vale Studio session.
Share session
NOTE: This feature is still under development. During the beta phase, these links are not guaranteed to be permanently available.
If you’d like to share your work, you can now create a shareable link to the current Vale Studio session.
Future work
In future versions of Vale Studio, you can expect to see
- Extended support for
metric
- andscript
-based rules. - A
View: Scopes
mode to visually inspect Vale’s scoping system. - An increase in the size limitations (currently 500 characters per editor).
- Support for other markup formats in the text editor.