diff options
author | Aylur <[email protected]> | 2024-10-03 23:46:39 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-03 23:46:39 +0200 |
commit | e8536ed29caca7b6fc7ef582a2cc31dfc8317c8d (patch) | |
tree | d278c2f4738a75c868e7e0ca978060c929e68361 | |
parent | a6141011c2bed071eb908f4468274f44e18dc64a (diff) |
Update cli-app.md
highlight relative lines
-rw-r--r-- | docs/guide/ags/cli-app.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/guide/ags/cli-app.md b/docs/guide/ags/cli-app.md index 93f9901..9d5d21d 100644 --- a/docs/guide/ags/cli-app.md +++ b/docs/guide/ags/cli-app.md @@ -100,7 +100,7 @@ ags -m "return 'hello';" In order for AGS to know about your windows, you have to register them. You can do this by specifying a **unique** `name` and calling `App.add_window` -```tsx +```tsx {4} import { App } from "astal" function Bar() { @@ -112,7 +112,7 @@ function Bar() { You can also invoke `App.add_window` by simply passing the `App` to the `application` prop. -```tsx +```tsx {4} import { App } from "astal" function Bar() { |