Skip to content

Commit e4b3c97

Browse files
authored
syntax highlighting in the examples in Readme
1 parent 532456c commit e4b3c97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ In this example, we will implement a `console.log` that we can call from Assembl
120120

121121
Inside of `myWasmFileName.ts`:
122122

123-
```
123+
```typescript
124124
declare function consoleLog(message: string): void;
125125

126126
export function myExportedFunctionThatWillCallConsoleLog(): void {
@@ -130,7 +130,7 @@ export function myExportedFunctionThatWillCallConsoleLog(): void {
130130

131131
**JavaScript**
132132

133-
```
133+
```javascript
134134
import { AsBind } from "as-bind";
135135

136136
const wasm = fetch("./path-to-my-wasm.wasm");

0 commit comments

Comments
 (0)