Skip to content

Commit 1baf616

Browse files
committed
feat(typerenderer): add katex library and implement latex typerenderer
Closes #412
1 parent 9f7d69d commit 1baf616

File tree

87 files changed

+100
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+100
-2
lines changed

src/init.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
require.config({
1616
waitSeconds: 0,
1717
paths: {
18+
katex: 'lib/katex/katex.min',
1819
mathjs: 'components/mathjs/dist/math.min',
1920
jsbarcode: 'components/jsbarcode/JsBarcode',
2021
numeral: 'components/numeral/min/numeral.min',
@@ -70,6 +71,9 @@ require.config({
7071
BiojsDasProteinFeatureViewer: 'lib/biojs-1.0/src/main/javascript/Biojs.DasProteinFeatureViewer'
7172
},
7273
shim: {
74+
katex: {
75+
exports: 'katex'
76+
},
7377
//mathjax: {
7478
// exports: 'MathJax',
7579
// init: function () {

src/lib/katex/README.md

Lines changed: 68 additions & 0 deletions

src/lib/katex/contrib/auto-render.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
70 KB
Binary file not shown.
69.8 KB
Binary file not shown.
39.3 KB
Binary file not shown.
32.4 KB
Binary file not shown.
19.4 KB
Binary file not shown.
19.1 KB
Binary file not shown.
11.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)