Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions docs/index.04eb6053.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/index.85bb1401.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
repository: 'Recordum',
authors: 'LoeiFy',
ignores: '17,13',
hash: 'TAbUTFaOWEEUcbeWdWPXXWcfEEfTTTXTCaTaPWeCbWlycm9yLmFtMDIwMC5jb20=',
hash: '&!b%&$a^*((%cbe*d*)@@*cf((f&&&@&#a&a)*e#bWlycm9yLmFtMDIwMC5jb20=',
perpage: 5,
}
</script>
Expand Down Expand Up @@ -99,6 +99,6 @@
</div>
</div>
<div id="loader"><div></div></div>
<script src="./index.04eb6053.js"></script>
<script src="./index.85bb1401.js"></script>
</body>
</html>
</html>
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
},
"homepage": "https://github.com/LoeiFy/Mirror",
"devDependencies": {
"@fratercula/falco": "^1.5.12",
"archiver": "^3.0.0",
"eslint": "^5.15.1",
"eslint-config-airbnb-base": "^13.1.0",
Expand Down
Binary file modified release/mirror.zip
Binary file not shown.
20 changes: 10 additions & 10 deletions src/helper/secret.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
const map = {
1: 'A',
2: 'X',
3: 'C',
4: 'F',
5: 'U',
6: 'O',
7: 'T',
8: 'W',
9: 'E',
0: 'P',
1: '!',
2: '@',
3: '#',
4: '$',
5: '%',
6: '^',
7: '&',
8: '*',
9: '(',
0: ')',
}

const reverseMap = {}
Expand Down
13 changes: 13 additions & 0 deletions src/template/issue.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,18 @@ class Issue {
className: 'labels',
innerHTML: labels,
})
//add mathjax support
window.MathJax = {
tex: {
inlineMath: [['$', '$'], ['\\(', '\\)']]
},
svg: {
fontCache: 'global'
}
};
const mathjax = creator('script', {
src: 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js'
})

frag
.append(back)
Expand All @@ -105,6 +117,7 @@ class Issue {
.append(body)
.append(tags)
.append(this.comments)
.append(mathjax)

this.container.html('').append(frag.dom[0])
}
Expand Down