Skip to content

Commit 7c4c970

Browse files
committed
docs(content): updated introduction
1 parent 17e5668 commit 7c4c970

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

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)