Skip to content

Commit 19ebdeb

Browse files
authored
Merge pull request #8435 from microsoft/fix-codeblocks
Fix code block language ID
2 parents 733aaf7 + 5d547cd commit 19ebdeb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

blogs/2024/05/08/wasm.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ I also want to say thank you to L. Pereira and Luke Wagner from [Fastly](https:/
2626

2727
In the first example, we demonstrate how a developer can integrate a library written in Rust into a VS Code extension. As previously mentioned, components are described using a WIT file. In our example, the library performs simple operations such as addition, subtraction, multiplication, and division. The corresponding WIT file is shown below:
2828

29-
```wit
29+
```text
3030
package vscode:example;
3131
3232
interface types {
@@ -199,7 +199,7 @@ The [jco project](https://github.com/bytecodealliance/jco) also supports generat
199199

200200
WIT files describe the interaction between the host (a VS Code extension) and the WebAssembly code, facilitating bi-directional communication. In our example, this feature allows the WebAssembly code to log traces of its activities. To enable this, we modify the WIT file as follows:
201201

202-
```wit
202+
```text
203203
world calculator {
204204
205205
/// ....
@@ -259,7 +259,7 @@ The WebAssembly component model introduces the concept of resources, which provi
259259

260260
Resources can also function in the reverse direction, where their state is managed by the WebAssembly code and accessed and manipulated by the extension code. This approach is particularly beneficial for VS Code to implement stateful services in WebAssembly, which are then accessed from the TypeScript side. In the example below, we define a resource that implements a calculator supporting the [reverse Polish notation](https://en.wikipedia.org/wiki/Reverse_Polish_notation), similar to those used in [Hewlett-Packard](https://www.hp.com/) hand-held calculators.
261261

262-
```wit
262+
```text
263263
// wit/calculator.wit
264264
package vscode:example;
265265

docs/remote/troubleshooting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ if [ "$VSCODE_INJECTION" = "1" ]; then
2929
fi
3030
```
3131

32-
For Windows hosts, here is the equivalent Powershell:
32+
For Windows hosts, here is the equivalent PowerShell:
3333

34-
```pwsh
34+
```powershell
3535
if ($env:VSCODE_INJECTION -eq "1") {
3636
$env:EDITOR = "code --wait" # or 'code-insiders' for VS Code Insiders
3737
}

0 commit comments

Comments
 (0)