Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak line highlighting in getting started guide #44

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions docs/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Just use the `<collage-fragment>` tag to embed the Todo fragment into the Dashbo
:::: code-group
::: code-group-item dashboard/index.html

```html{16-19}
```html{17-20}
<!DOCTYPE html>
<html>
<head>
Expand Down Expand Up @@ -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: {
Expand Down Expand Up @@ -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: {
Expand Down Expand Up @@ -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}
<!DOCTYPE html>
<html>
<head>
Expand Down Expand Up @@ -414,9 +414,8 @@ document.addEventListener('click', ({target}) => {
</main>
<aside>
<!--
define the todos app as a fragment inside this arrangement and set
the url to a location we can access the fragment.
Also give it a name we can reference it.
add the todos app as a fragment inside this arrangement and give it
a name for identification
-->
<collage-fragment
url="http://localhost:4000/"
Expand Down
Loading