diff --git a/bun.lockb b/bun.lockb index 486913e..d1c4f69 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/flake.nix b/flake.nix index 77c7d3f..1a63c29 100644 --- a/flake.nix +++ b/flake.nix @@ -9,7 +9,11 @@ let pkgs = import nixpkgs { inherit system; }; in { # For local development... - devShell = pkgs.mkShell { buildInputs = with pkgs; [ bun ]; }; + devShell = pkgs.mkShell { + LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.cc.lib ]; + + buildInputs = with pkgs; [ bun ]; + }; # ... and remote deployment. # packages = {}; diff --git a/package.json b/package.json index 6aa3a97..63f9681 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,6 @@ "type": "module", "dependencies": { "@sveltejs/enhanced-img": "^0.3.8", - "prismjs": "^1.29.0" + "svelte-highlight": "^7.7.0" } } diff --git a/src/lib/Highlight.svelte b/src/lib/Highlight.svelte new file mode 100644 index 0000000..78e1e68 --- /dev/null +++ b/src/lib/Highlight.svelte @@ -0,0 +1,15 @@ + + +