summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2023-08-11 12:20:59 +0200
committerache <ache@ache.one>2023-08-11 12:43:26 +0200
commit9fdde3e706ac9d3e891205fd52ebc43f12ca2637 (patch)
treea493420365eec60f2293d3739497297640946a74
parentPubish image format study (diff)
Automation import external files
-rw-r--r--Makefile3
-rw-r--r--articles/formats-images-web.md5
-rw-r--r--articles/web-image-formats.md2
3 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index d93eac4..b468c82 100644
--- a/Makefile
+++ b/Makefile
@@ -11,9 +11,12 @@ svg:
css:
npm run build-css
+ cp ./node_modules/katex/dist/katex.css s/css/
+ cp -r ./node_modules/katex/dist/fonts s/css/
js:
npm run build-js
+ wget "https://cdn.plot.ly/plotly-2.24.3.min.js" -O s/js/plotly.min.js
static:
npm run build-static
diff --git a/articles/formats-images-web.md b/articles/formats-images-web.md
index f1f9c82..5a6af7a 100644
--- a/articles/formats-images-web.md
+++ b/articles/formats-images-web.md
@@ -547,7 +547,4 @@ Ressources complémentaires
:::
-
-
-<script src="https://cdn.plot.ly/plotly-2.24.3.min.js" charset="utf-8" async></script>
-
+<script src="https://ache.one/s/js/plotly.min.js" charset="utf-8" async></script>
diff --git a/articles/web-image-formats.md b/articles/web-image-formats.md
index cbe6d1d..de24f69 100644
--- a/articles/web-image-formats.md
+++ b/articles/web-image-formats.md
@@ -559,5 +559,5 @@ Additional Resources
-<script src="https://cdn.plot.ly/plotly-2.24.3.min.js" charset="utf-8" async></script>
+<script src="https://ache.one/s/js/plotly.min.js" charset="utf-8" async></script>