Skip to content

Commit

Permalink
Fixed revisions syntax highlighting.
Browse files Browse the repository at this point in the history
  • Loading branch information
NTDLS committed May 21, 2024
1 parent aa8e7d7 commit d9c7fab
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions TightWiki/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "8.0.5",
"commands": [
"dotnet-ef"
]
}
}
}
Binary file modified TightWiki/Data/primary.db
Binary file not shown.
Binary file modified TightWiki/Data/statistics.db
Binary file not shown.
2 changes: 1 addition & 1 deletion TightWiki/wwwroot/codemirror/mode/tightwiki/tightwiki.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"use strict";

CodeMirror.defineMode("tightwiki", function () {
var functions = ["##set", "##get", "##color", "##tag", "##searchlist", "##taglist", "##searchcloud", "##tagglossary", "##recentlymodified", "##textglossary", "##tagcloud", "##image", "##file", "##related", "##tags", "##editlink", "##inject", "##include", "##br", "##hr", "##history", "##attachments", "##toc", "##title", "##navigation", "##name", "##created", "##lastmodified", "##appversion", "##namespaceglossary", "##namespacelist","##namespace", "##snippet"],
var functions = ["##set", "##get", "##color", "##tag", "##searchlist", "##taglist", "##searchcloud", "##tagglossary", "##recentlymodified", "##textglossary", "##tagcloud", "##image", "##file", "##related", "##tags", "##editlink", "##inject", "##include", "##br", "##hr", "##revisions", "##attachments", "##toc", "##title", "##navigation", "##name", "##created", "##lastmodified", "##appversion", "##namespaceglossary", "##namespacelist","##namespace", "##snippet"],
instructions = ["@@protect", "@@hidefootercomments", "@@nocache", "@@draft", "@@review", "@@deprecate", "@@include", "@@template"],
scopes = ["bullets", "alert", "background", "collapse", "callout", "code", "foreground", "jumbotron", "card", "table", "stripedtable", "definesnippet", "order"];

Expand Down
2 changes: 1 addition & 1 deletion TightWiki/wwwroot/syntax/highlight.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d9c7fab

Please sign in to comment.