diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c9954f4..dc3774b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -37,8 +37,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - # Upload entire repository - path: 'demo/_site' + path: "demo/_site" - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4 diff --git a/README.md b/README.md index f7490da..95982ca 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,11 @@ > ## Follow these link mainly:- > > - 🌐 **Follow Website:- - > [arnavk-09.github.io/lume_glow/](https://arnavk-09.github.io/lume_glow/)** +> [arnavk-09.github.io/lume_glow/](https://arnavk-09.github.io/lume_glow/)** > - 🔌 **Deno Plugin:- - > [deno.land/x/lume_glow/plugin.ts](https://deno.land/x/lume_glow/plugin.ts)** +> [deno.land/x/lume_glow/plugin.ts](https://deno.land/x/lume_glow/plugin.ts)** > - 🌟 **Github Repo:- - > [github.com/ArnavK-09/lume_glow](https://github.com/ArnavK-09/lume_glow)** +> [github.com/ArnavK-09/lume_glow](https://github.com/ArnavK-09/lume_glow)** ### 🔥 Lume:- diff --git a/plugin.ts b/plugin.ts index fc9beb2..664c6c1 100644 --- a/plugin.ts +++ b/plugin.ts @@ -27,8 +27,7 @@ export interface Options { const LINKS = { default: "https://raw.githubusercontent.com/nuejs/nue/master/packages/glow/minified/glow.css", - nano: - "https://raw.githubusercontent.com/nuejs/nue/master/packages/glow/minified/glow.nano.css", + nano: "https://raw.githubusercontent.com/nuejs/nue/master/packages/glow/minified/glow.nano.css", }; /** @@ -66,9 +65,8 @@ export default function (userOptions?: Options): Plugin { // add glow styles to page if (Array.from(allCodeBlocks).length !== 0) { - const stylesheet = userOptions?.size == "nano" - ? LINKS.nano - : LINKS.default; + const stylesheet = + userOptions?.size == "nano" ? LINKS.nano : LINKS.default; const src = await fetch(stylesheet); const css = await src.text(); const tag = page.document.createElement("style");