Open andrewdonkin opened 7 years ago
Excellent @andrewdonkin I'll happily accept this! Would you mind resolving the issues that hound bot found.
Done. I'd squash them if I could. Didn't know what I was doing but there are no console errors and the bot has shut up.
Adds a highlighting mode to Ace for the sequence diagram language.
This is a bit nasty, a quick copy/paste/hack of asciidoc, but it makes the editor look a little better.
It feels like this should be a PR on Ace instead, but I thought it might reach the people who need it better if it was part of js-sequence-diagrams.
To use it, put mode-sequencebramp.js in js/ace and change your index.html to
editor.getSession().setMode("ace/mode/sequencebramp");