Fix highlights. Resolves #1506 (#1510)

This commit is contained in:
Dawa Ometto
2020-03-27 17:10:03 +01:00
committed by GitHub
parent 16676e0788
commit 4c491a01db
7 changed files with 14 additions and 9 deletions
@@ -169,7 +169,12 @@ ace.define("<%= name %>", [], function(require, exports, module) {
this.addRules({
<%= id %> : <%= rule %>
});
if (this.$rules.listblock != null){
// Some markup languages, like markdown, have a separate starting block for list contents, which also need to parse Gollum Tags.
this.$rules.listblock.unshift(GollumTagStart);
}
<% end %>
this.normalizeRules();
};