mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
fix mhchem
This commit is contained in:
committed by
Gabriel Horner
parent
7d6aae0c08
commit
8e4cb9c7b1
@@ -9,7 +9,7 @@
|
||||
-/resources/static/js/sentry.min.js
|
||||
-/resources/static/js/highlight.min.js
|
||||
-/resources/static/js/katex.min.js
|
||||
-/resources/static/js/mhchem.js
|
||||
-/resources/static/js/mhchem.min.js
|
||||
-/resources/static/js/mldoc.min.js
|
||||
-/resources/static/js/reveal.js
|
||||
-/resources/static/js/sci.min.js
|
||||
|
||||
@@ -55,7 +55,7 @@ const common = {
|
||||
]).pipe(gulp.dest(path.join(outputPath, 'js', 'excalidraw-assets'))),
|
||||
() => gulp.src([
|
||||
'node_modules/katex/dist/katex.min.js',
|
||||
'node_modules/katex/contrib/mhchem/mhchem.js',
|
||||
'node_modules/katex/dist/contrib/mhchem.min.js',
|
||||
'node_modules/html2canvas/dist/html2canvas.min.js',
|
||||
'node_modules/interactjs/dist/interact.min.js',
|
||||
'node_modules/photoswipe/dist/umd/*.js',
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
(config/asset-uri "/static/js/katex.min.js")
|
||||
(fn []
|
||||
(loader/load
|
||||
(config/asset-uri "/static/js/mhchem.js")
|
||||
(config/asset-uri "/static/js/mhchem.min.js")
|
||||
(fn []
|
||||
(p/finally
|
||||
(p/all (when-let [enhancers (and config/lsp-enabled? (seq (hook-extensions-enhancer-by-type :katex)))]
|
||||
|
||||
Reference in New Issue
Block a user