Skip to content

Commit 8f73abc

Browse files
authored
fix: Missing markup for code example
The missing Markdown markup led to broken rendering of the JSON sample, that is, displaying single backslash where double backslash is meant.
1 parent 9245103 commit 8f73abc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/virtual-machines/extensions/custom-script-windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ If your script is on a local server, you might still need to open other firewall
5555
### Tips
5656

5757
- Output is limited to the last 4,096 bytes.
58-
- Properly escaping characters will help ensure that strings are parsed correctly. For example, you always need two backslashes to escape a single literal backslash when dealing with file paths. Sample: {"commandToExecute": "C:\\Windows\\System32\\systeminfo.exe >> D:\\test.txt"}
58+
- Properly escaping characters will help ensure that strings are parsed correctly. For example, you always need two backslashes to escape a single literal backslash when dealing with file paths. Sample: `{"commandToExecute": "C:\\Windows\\System32\\systeminfo.exe >> D:\\test.txt"}`
5959
- The highest failure rate for this extension is due to syntax errors in the script. Verify that the script runs without errors. Put more logging into the script to make it easier to find failures.
6060
- Write scripts that are idempotent, so that running them more than once accidentally doesn't cause system changes.
6161
- Ensure that the scripts don't require user input when they run.

0 commit comments

Comments
 (0)