From 0c791b4adbb662b5aa98947fb5954576bf1912ea Mon Sep 17 00:00:00 2001 From: Benedikt Throner Date: Mon, 8 Apr 2024 19:21:10 +0200 Subject: [PATCH] Tweak line highlighting in getting started guide --- docs/guide/getting-started.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.md index 47110c5..2d02b09 100644 --- a/docs/guide/getting-started.md +++ b/docs/guide/getting-started.md @@ -206,7 +206,7 @@ Just use the `` tag to embed the Todo fragment into the Dashbo :::: code-group ::: code-group-item dashboard/index.html -```html{16-19} +```html{17-20} @@ -254,7 +254,7 @@ Here we will need the [**Topics API**](../docs/core-api.html#topics-api) specifi :::: code-group ::: code-group-item todos/main.js -```javascript{1-11,18-23,34,45} +```javascript{2-11,18-23,34,45} import { expose } from '@collage/core' const context = await expose({ services: { @@ -344,7 +344,7 @@ In this case we would like to have access to the todos 'active' topic and to the :::: code-group ::: code-group-item dashboard/main.js -```javascript{1-11,15,23} +```javascript{1-8,10,14-20,22-30} import { expose } from '@collage/core' const context = await expose({ services: { @@ -380,7 +380,7 @@ document.addEventListener('click', ({target}) => { ::: ::: code-group-item dashboard/index.html -```html{11,12,17,23,28} +```html{13,18,24,29} @@ -414,9 +414,8 @@ document.addEventListener('click', ({target}) => {