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

8
dist/bitburner.d.ts vendored

@ -2126,14 +2126,16 @@ export declare interface NodeStats {
* @public
* @remarks
* <b>Basic ns1 usage example:</b>
* ```
* ```ts
* property.methodName;
* ```
* {@link https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html| ns1 in-game docs}
* <hr>
* <b>Basic ns2 usage example:</b>
* ```
* ns.property.methodName;
* ```ts
* export async function main(ns) {
* ns.property.methodName;
* }
* ```
* {@link https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html| ns2 in-game docs}
*/

@ -14221,7 +14221,7 @@
{
"kind": "Interface",
"canonicalReference": "bitburner!NS:interface",
"docComment": "/**\n * Collection of all functions passed to scripts\n *\n * @remarks\n *\n * <b>Basic ns1 usage example:</b>\n * ```\n * property.methodName;\n * ```\n *\n * {@link https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html | ns1 in-game docs} <hr> <b>Basic ns2 usage example:</b>\n * ```\n * ns.property.methodName;\n * ```\n *\n * {@link https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html | ns2 in-game docs}\n *\n * @public\n */\n",
"docComment": "/**\n * Collection of all functions passed to scripts\n *\n * @remarks\n *\n * <b>Basic ns1 usage example:</b>\n * ```ts\n * property.methodName;\n * ```\n *\n * {@link https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html | ns1 in-game docs} <hr> <b>Basic ns2 usage example:</b>\n * ```ts\n * export async function main(ns) {\n * ns.property.methodName;\n * }\n * ```\n *\n * {@link https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html | ns2 in-game docs}\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",

@ -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)

@ -3709,14 +3709,16 @@ interface Stanek {
* @public
* @remarks
* <b>Basic ns1 usage example:</b>
* ```
* ```ts
* property.methodName;
* ```
* {@link https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html| ns1 in-game docs}
* <hr>
* <b>Basic ns2 usage example:</b>
* ```
* ns.property.methodName;
* ```ts
* export async function main(ns) {
* ns.property.methodName;
* }
* ```
* {@link https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html| ns2 in-game docs}
*/