Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Aug 6, 2024
1 parent 2bfff2c commit 7184cb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/content/runtime/rendering/console.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ description: Logging to the Console for text based applications
---

If your application is purely text-based, you can use the familiar
global `console` object to write textual data to the screen of the application
global [`console`](/runtime/api/variables/console) object to write textual data to the screen of the application
in the terminal-like interface that [`libnx`](https://github.com/switchbrew/libnx) provides.

> [!TIP]
> To draw more intricate graphics, you should use [__canvas rendering__](/runtime/rendering/canvas) mode.
> To draw more intricate graphics, your application should use [__canvas rendering__](/runtime/rendering/canvas) mode.
## Example

Expand Down
2 changes: 1 addition & 1 deletion docs/content/runtime/rendering/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ There are two different rendering modes available for nx.js applications: __cons

The [__console rendering__](/runtime/rendering/console) mode is useful for text-based applications, which do not require complex graphics or animations.

To use the console rendering mode, simply use the functions available on the global `console` object to print text to the console:
To use the console rendering mode, simply use the functions available on the global [`console`](/runtime/api/variables/console) object to print text to the console:

```js
console.log('Hello World');
Expand Down

0 comments on commit 7184cb6

Please sign in to comment.