Update default.nix to also serve fonts from KaTeX
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
aae85e7628
commit
a462008844
@ -20,6 +20,7 @@ in
|
||||
installPhase = ''
|
||||
mkdir -p $out $out/katex $out/katex-expression $out/bergamot
|
||||
cp ${yarnModules}/node_modules/katex/dist/katex.min.css $out/katex
|
||||
cp -r ${yarnModules}/node_modules/katex/dist/fonts $out/katex
|
||||
cp ${yarnModules}/node_modules/@navsnpm/katex-expression/dist/katex-expression/katex-expression.esm.js $out/katex-expression
|
||||
cp ${bergamot-elm}/Main.min.js $out/bergamot/bergamot.js
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user