added rs to backricks to color code syntax

This commit is contained in:
Jordan Turner
2021-12-15 10:25:54 -07:00
parent 687682fcbd
commit 632e1f70f3
4 changed files with 16 additions and 10 deletions

View File

@@ -17,13 +17,15 @@ export interface NS extends Singularity
<b>Basic ns1 usage example:</b>
```
```ts
property.methodName;
```
[ns1 in-game docs](https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html) <hr> <b>Basic ns2 usage example:</b>
```
ns.property.methodName;
```ts
export async function main(ns) {
ns.property.methodName;
}
```
[ns2 in-game docs](https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html)