Skip to content

Commit beabd61

Browse files
committed
Merge branch 'next' into feature/prepare-ci-main
2 parents 3f0ebe6 + 60265ec commit beabd61

File tree

6 files changed

+129
-113
lines changed

6 files changed

+129
-113
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.17.0
1+
20.18.0

docs/src/composables/use-content-container.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ The appropriate HTML element for the page structure is determined based on the `
2525
</template>
2626
2727
<script setup>
28-
import { useContentContainer } from 'vue-semantic-structure'
28+
import { useContentContainer } from 'vue-semantic-structure';
2929
30-
const { currentTag } = useContentContainer()
30+
const { currentTag } = useContentContainer();
3131
</script>
3232
3333
```

docs/src/composables/use-content-headline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ The deeper the nesting, the smaller the heading.
2626
</template>
2727
2828
<script setup>
29-
import { useContentContainer } from 'vue-semantic-structure'
29+
import { useContentHeadline } from 'vue-semantic-structure';
3030
31-
const { currentTag } = useContentHeadline()
31+
const { currentTag } = useContentHeadline();
3232
</script>
3333
3434
```

docs/src/introduction.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ The `ContentHeadline` takes the level from the `ContentContainer` and sets the a
2929

3030
## Example
3131

32-
If `ContentContainer` is level 2, `ContentHeadline` level 2 is rendered as `h2`.
32+
::: code-group
3333

34-
```vue
34+
```vue [Vue]
3535
<template>
3636
<div>
3737
<header>Header</header>
@@ -52,6 +52,9 @@ If `ContentContainer` is level 2, `ContentHeadline` level 2 is rendered as `h2`.
5252
<ContentHeadline> Secondary Headline 2 (h2) </ContentHeadline>
5353
<ContentContainer>
5454
<ContentHeadline> Tertiary Headline 2.1 (h3) </ContentHeadline>
55+
<ContentContainer>
56+
<ContentHeadline> Tertiary Headline 2.1.1 (h4) </ContentHeadline>
57+
</ContentContainer>
5558
</ContentContainer>
5659
</ContentContainer>
5760
</ContentContainer>
@@ -64,7 +67,7 @@ import { ContentContainer, ContentHeadline } from 'vue-semantic-structure';
6467
</script>
6568
```
6669

67-
```html
70+
```html [HTML]
6871
<div>
6972
<header>Header</header>
7073
<main>
@@ -84,9 +87,14 @@ import { ContentContainer, ContentHeadline } from 'vue-semantic-structure';
8487
<h2> Secondary Headline 2 (h2) </h2>
8588
<section>
8689
<h3> Tertiary Headline 2.1 (h3) </h3>
90+
<article>
91+
<h4> Tertiary Headline 2.1.1 (h4) </h4>
92+
</article>
8793
</section>
8894
</article>
8995
</main>
9096
<footer>Footer</footer>
9197
</div>
9298
```
99+
100+
:::

0 commit comments

Comments
 (0)