From 804711818bbb43d9e0701044444de657ac552c43 Mon Sep 17 00:00:00 2001 From: Shibin Das Date: Sun, 16 May 2021 00:34:26 +0200 Subject: [PATCH] Website: Replace `my.cdn` in code sample with Handlebars-like placeholder (#2906) --- index.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index e9c7da0a1e..09db6df921 100644 --- a/index.html +++ b/index.html @@ -193,15 +193,17 @@

Usage with CDNs

<html> <head> ... - <link href="https://my.cdn/prism@v1.x/themes/prism.css" rel="stylesheet" /> + <link href="https://{{cdn}}/prism@v1.x/themes/prism.css" rel="stylesheet" /> </head> <body> ... - <script src="https://my.cdn/prism@v1.x/components/prism-core.min.js"></script> - <script src="https://my.cdn/prism@v1.x/plugins/autoloader/prism-autoloader.min.js"></script> + <script src="https://{{cdn}}/prism@v1.x/components/prism-core.min.js"></script> + <script src="https://{{cdn}}/prism@v1.x/plugins/autoloader/prism-autoloader.min.js"></script> </body> </html> +

Please note that links in the above code sample serve as placeholders. You have to replace them with valid links to the CDN of your choice.

+

CDNs which provide PrismJS are e.g. cdnjs, jsDelivr, and UNPKG.

Usage with Webpack, Browserify, & Other Bundlers