Skip to content

Commit 7076617

Browse files
authored
Fix link to javascript example
1 parent 0ca8fb3 commit 7076617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const parse = await loadPrism();
2424

2525
## Browser
2626

27-
To use the package from the browser, you will need to do some additional work. The [javascript/example.html](javascript/example.html) file shows an example of running Prism in the browser. You will need to instantiate the WebAssembly module yourself and then pass it to the `parsePrism` function.
27+
To use the package from the browser, you will need to do some additional work. The [javascript/example.html](../javascript/example.html) file shows an example of running Prism in the browser. You will need to instantiate the WebAssembly module yourself and then pass it to the `parsePrism` function.
2828

2929
First, get a shim for WASI since not all browsers support it yet.
3030

0 commit comments

Comments
 (0)