
Window Container
About 191 words
Overview
Sometimes you may need to supplement your content with examples but want them to be presented separately from other content. The theme supports adding demo containers in Markdown files.
Syntax
::: window
Add your demo here
:::Props
Examples
Containing only images:
::: window

:::Output:

Containing markdown syntax:
::: window title="Title"
### Level 3 Heading
This is content inside the demo container.
:::Output:
Title
Level 3 Heading
This is content inside the demo container.
Containing HTML/Vue code:
::: window
<h2 class="your-demo-title">This is a heading</h2>
<p class="your-demo-paragraph">This is a paragraph</p>
<style>
.your-demo-title {
color: red;
}
.your-demo-paragraph {
color: blue;
}
</style>
:::Output:
This is a heading
This is a paragraph
Contributors
Changelog
10/13/26, 3:56 PM
View All Changelog
e4dae-docs: improve docs (#1071)on60619-docs: improve docs (#1069)on1d04d-feat: add builtin auto-import-components (#932)on0daf2-docs: improve docs (#929)once326-feat(plugin-md-power): renamedemo-wrappercontainer towindow(#858)on38505-docs: update en docs (#708)on4d236-feat(theme)!: add collections support (#704)on9f99a-docs: add enmarkdowndoc (#538)on
