@mgks/docmd 0.3.2 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/package.json +28 -24
- package/.gitattributes +0 -2
- package/.github/CODE_OF_CONDUCT.md +0 -48
- package/.github/CONTRIBUTING.md +0 -129
- package/.github/FUNDING.yml +0 -15
- package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -58
- package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -27
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -16
- package/.github/SECURITY.md +0 -18
- package/.github/workflows/deploy-docmd.yml +0 -45
- package/.github/workflows/npm-publish.yml +0 -49
- package/assets/css/welcome.css +0 -6
- package/assets/images/preview-dark-1.webp +0 -0
- package/assets/images/preview-dark-2.webp +0 -0
- package/assets/images/preview-dark-3.webp +0 -0
- package/assets/images/preview-dark-welcome.png +0 -0
- package/assets/images/preview-light-1.webp +0 -0
- package/assets/images/preview-light-2.webp +0 -0
- package/assets/images/preview-light-3.webp +0 -0
- package/docs/cli-commands.md +0 -108
- package/docs/comparison.md +0 -56
- package/docs/configuration.md +0 -289
- package/docs/content/containers/buttons.md +0 -88
- package/docs/content/containers/callouts.md +0 -154
- package/docs/content/containers/cards.md +0 -93
- package/docs/content/containers/changelogs.md +0 -128
- package/docs/content/containers/collapsible.md +0 -89
- package/docs/content/containers/index.md +0 -35
- package/docs/content/containers/nested-containers.md +0 -329
- package/docs/content/containers/steps.md +0 -175
- package/docs/content/containers/tabs.md +0 -228
- package/docs/content/custom-containers.md +0 -24
- package/docs/content/frontmatter.md +0 -84
- package/docs/content/images.md +0 -205
- package/docs/content/index.md +0 -19
- package/docs/content/markdown-syntax.md +0 -309
- package/docs/content/mermaid.md +0 -723
- package/docs/content/no-style-example.md +0 -112
- package/docs/content/no-style-pages.md +0 -226
- package/docs/content/search.md +0 -68
- package/docs/contributing.md +0 -101
- package/docs/deployment.md +0 -120
- package/docs/getting-started/basic-usage.md +0 -89
- package/docs/getting-started/index.md +0 -21
- package/docs/getting-started/installation.md +0 -75
- package/docs/index.md +0 -168
- package/docs/overview.md +0 -63
- package/docs/plugins/analytics.md +0 -75
- package/docs/plugins/index.md +0 -70
- package/docs/plugins/seo.md +0 -127
- package/docs/plugins/sitemap.md +0 -87
- package/docs/recipes/custom-fonts.md +0 -43
- package/docs/recipes/favicon.md +0 -38
- package/docs/recipes/index.md +0 -12
- package/docs/recipes/landing-page.md +0 -46
- package/docs/theming/assets-management.md +0 -126
- package/docs/theming/available-themes.md +0 -77
- package/docs/theming/custom-css-js.md +0 -79
- package/docs/theming/icons.md +0 -92
- package/docs/theming/index.md +0 -19
- package/docs/theming/light-dark-mode.md +0 -114
- package/src/assets/images/docmd-preview.png +0 -0
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: "Container: Changelogs"
|
|
3
|
-
description: "Create a beautiful, timeline-style version history for your project."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Changelog Container
|
|
7
|
-
|
|
8
|
-
The `changelog` container allows you to present version history and release notes in a clean, timeline layout. It separates metadata (dates/versions) from the narrative content, making it easy for users to scan updates.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
The changelog container uses a specific syntax where entries are separated by `==` markers.
|
|
13
|
-
|
|
14
|
-
::: callout info
|
|
15
|
-
Container blocks (like `::: changelog`) should be preceded by a blank line.
|
|
16
|
-
:::
|
|
17
|
-
|
|
18
|
-
**Syntax:**
|
|
19
|
-
```markdown
|
|
20
|
-
::: changelog
|
|
21
|
-
|
|
22
|
-
== Version/Date String
|
|
23
|
-
Content for this version.
|
|
24
|
-
Supports **Markdown**, lists, and other containers.
|
|
25
|
-
|
|
26
|
-
== Next Version/Date String
|
|
27
|
-
Content for the next version.
|
|
28
|
-
|
|
29
|
-
:::
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
**`==`**: This marker denotes the start of a new entry. Everything after `==` on the same line is treated as the "Date" or "Version" badge on the left side of the timeline.
|
|
33
|
-
|
|
34
|
-
---
|
|
35
|
-
|
|
36
|
-
## Examples
|
|
37
|
-
|
|
38
|
-
### Basic Version History
|
|
39
|
-
|
|
40
|
-
**Code:**
|
|
41
|
-
```markdown
|
|
42
|
-
::: changelog
|
|
43
|
-
|
|
44
|
-
== v2.0.0 (2025-01-15)
|
|
45
|
-
### Major Update 🚀
|
|
46
|
-
We completely rewrote the core engine for better performance.
|
|
47
|
-
|
|
48
|
-
* Added new plugin system
|
|
49
|
-
* Improved build speed by 50%
|
|
50
|
-
|
|
51
|
-
== v1.1.0 (2024-12-01)
|
|
52
|
-
### Feature Drop
|
|
53
|
-
Added support for custom themes and dark mode.
|
|
54
|
-
|
|
55
|
-
== v1.0.0 (2024-11-10)
|
|
56
|
-
Initial public release.
|
|
57
|
-
:::
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
**Rendered Preview:**
|
|
61
|
-
|
|
62
|
-
::: changelog
|
|
63
|
-
|
|
64
|
-
== v2.0.0 (2025-01-15)
|
|
65
|
-
### Major Update 🚀
|
|
66
|
-
We completely rewrote the core engine for better performance.
|
|
67
|
-
|
|
68
|
-
* Added new plugin system
|
|
69
|
-
* Improved build speed by 50%
|
|
70
|
-
|
|
71
|
-
== v1.1.0 (2024-12-01)
|
|
72
|
-
### Feature Drop
|
|
73
|
-
Added support for custom themes and dark mode.
|
|
74
|
-
|
|
75
|
-
== v1.0.0 (2024-11-10)
|
|
76
|
-
Initial public release.
|
|
77
|
-
:::
|
|
78
|
-
|
|
79
|
-
### Changelog with Nested Elements
|
|
80
|
-
|
|
81
|
-
You can put anything inside a changelog entry, including callouts and code blocks.
|
|
82
|
-
|
|
83
|
-
**Code:**
|
|
84
|
-
````markdown
|
|
85
|
-
::: changelog
|
|
86
|
-
|
|
87
|
-
== v3.0.0-beta
|
|
88
|
-
### The Future is Here
|
|
89
|
-
|
|
90
|
-
::: callout warning Breaking Changes
|
|
91
|
-
This release changes the config format. Please update your `docmd.config.js`.
|
|
92
|
-
:::
|
|
93
|
-
|
|
94
|
-
**New Config Example:**
|
|
95
|
-
```javascript
|
|
96
|
-
module.exports = {
|
|
97
|
-
version: 3,
|
|
98
|
-
// ...
|
|
99
|
-
}
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
== v2.5.0
|
|
103
|
-
Maintenance release with bug fixes.
|
|
104
|
-
:::
|
|
105
|
-
````
|
|
106
|
-
|
|
107
|
-
**Rendered Preview:**
|
|
108
|
-
|
|
109
|
-
::: changelog
|
|
110
|
-
|
|
111
|
-
== v3.0.0-beta
|
|
112
|
-
### The Future is Here
|
|
113
|
-
|
|
114
|
-
::: callout warning Breaking Changes
|
|
115
|
-
This release changes the config format. Please update your `docmd.config.js`.
|
|
116
|
-
:::
|
|
117
|
-
|
|
118
|
-
**New Config Example:**
|
|
119
|
-
```javascript
|
|
120
|
-
module.exports = {
|
|
121
|
-
version: 3,
|
|
122
|
-
// ...
|
|
123
|
-
}
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
== v2.5.0
|
|
127
|
-
Maintenance release with bug fixes.
|
|
128
|
-
:::
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: "Container: Collapsible"
|
|
3
|
-
description: "Create accordion-style toggleable sections for FAQs, spoilers, or advanced details."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Collapsible Container
|
|
7
|
-
|
|
8
|
-
The `collapsible` container creates an accordion-style block that can be toggled open or closed. This is perfect for FAQs, "spoiler" content, or hiding complex details that aren't immediately necessary.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
The syntax allows you to define the title and the default state (open or closed).
|
|
13
|
-
|
|
14
|
-
**Syntax:**
|
|
15
|
-
```markdown
|
|
16
|
-
::: collapsible [open] Title Text Here
|
|
17
|
-
The hidden content goes here.
|
|
18
|
-
:::
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
- **`open`**: (Optional) If included, the section will be expanded by default on page load.
|
|
22
|
-
- **`Title Text Here`**: The text displayed on the clickable bar. If omitted, it defaults to "Click to expand".
|
|
23
|
-
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
## Examples
|
|
27
|
-
|
|
28
|
-
### Basic Collapsible (Closed by Default)
|
|
29
|
-
|
|
30
|
-
Use this for content that should be hidden initially, like lengthy code examples or optional details.
|
|
31
|
-
|
|
32
|
-
**Code:**
|
|
33
|
-
```markdown
|
|
34
|
-
::: collapsible View Advanced Configuration
|
|
35
|
-
Here are the advanced settings for power users:
|
|
36
|
-
* `memory_limit`: Set the max heap size.
|
|
37
|
-
* `threads`: Number of worker threads.
|
|
38
|
-
:::
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
**Rendered Preview:**
|
|
42
|
-
|
|
43
|
-
::: collapsible View Advanced Configuration
|
|
44
|
-
Here are the advanced settings for power users:
|
|
45
|
-
* `memory_limit`: Set the max heap size.
|
|
46
|
-
* `threads`: Number of worker threads.
|
|
47
|
-
:::
|
|
48
|
-
|
|
49
|
-
### Default Open
|
|
50
|
-
|
|
51
|
-
Use the `open` keyword if you want the content visible but capable of being tucked away.
|
|
52
|
-
|
|
53
|
-
**Code:**
|
|
54
|
-
```markdown
|
|
55
|
-
::: collapsible open Important Notice
|
|
56
|
-
This content is visible immediately but can be collapsed if it takes up too much space.
|
|
57
|
-
:::
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
**Rendered Preview:**
|
|
61
|
-
|
|
62
|
-
::: collapsible open Important Notice
|
|
63
|
-
This content is visible immediately but can be collapsed if it takes up too much space.
|
|
64
|
-
:::
|
|
65
|
-
|
|
66
|
-
### FAQ Pattern
|
|
67
|
-
|
|
68
|
-
Collapsibles are ideal for Frequently Asked Questions.
|
|
69
|
-
|
|
70
|
-
**Code:**
|
|
71
|
-
```markdown
|
|
72
|
-
::: collapsible Is docmd free to use?
|
|
73
|
-
**Yes!** docmd is 100% open-source and free under the MIT license.
|
|
74
|
-
:::
|
|
75
|
-
|
|
76
|
-
::: collapsible Can I host it on GitHub Pages?
|
|
77
|
-
Absolutely. The `build` command generates static HTML files that work perfectly on GitHub Pages, Netlify, or Vercel.
|
|
78
|
-
:::
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
**Rendered Preview:**
|
|
82
|
-
|
|
83
|
-
::: collapsible Is docmd free to use?
|
|
84
|
-
**Yes!** docmd is 100% open-source and free under the MIT license.
|
|
85
|
-
:::
|
|
86
|
-
|
|
87
|
-
::: collapsible Can I host it on GitHub Pages?
|
|
88
|
-
Absolutely. The `build` command generates static HTML files that work perfectly on GitHub Pages, Netlify, or Vercel.
|
|
89
|
-
:::
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: "Custom Containers"
|
|
3
|
-
description: "Enhance your documentation with special components like callouts, cards, steps, and tabs using docmd's custom container syntax."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
`docmd` provides a simple syntax for adding richer, pre-styled components to your Markdown content. These are powered by the `markdown-it-container` plugin.
|
|
7
|
-
|
|
8
|
-
The general syntax for simple containers like `callout` and `card` is:
|
|
9
|
-
|
|
10
|
-
```markdown
|
|
11
|
-
::: containerName [optionalTitleOrType]
|
|
12
|
-
Content for the container goes here.
|
|
13
|
-
:::
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
For more complex components like `steps` and `tabs`, we use a more robust and intuitive syntax that relies on standard Markdown, preventing common nesting issues.
|
|
17
|
-
|
|
18
|
-
## Advanced Nested Container System
|
|
19
|
-
|
|
20
|
-
With docmd v0.2.0, all containers support **seamless nesting** - you can nest any container within any other container to create complex, interactive documentation layouts.
|
|
21
|
-
|
|
22
|
-
**New in v0.2.0:** [Learn about nested containers →](./nested-containers)
|
|
23
|
-
|
|
24
|
-
## Available Containers
|
|
25
|
-
|
|
26
|
-
Select a container type from the list below or from the sidebar to see detailed usage instructions and examples.
|
|
27
|
-
|
|
28
|
-
- [**Callouts**](./callouts/) - For highlighting important information like notes, tips, and warnings.
|
|
29
|
-
- [**Cards**](./cards/) - For grouping related content into visually distinct blocks.
|
|
30
|
-
- [**Steps**](./steps/) - For presenting a sequence of instructions in a numbered format.
|
|
31
|
-
- [**Tabs**](./tabs/) - For organizing content in a switchable, tabbed interface.
|
|
32
|
-
- [**Buttons**](./buttons/) - For creating stylish, clickable calls to action.
|
|
33
|
-
- [**Nested Containers**](./nested-containers/) - For creating complex, interactive layouts with container nesting.
|
|
34
|
-
|
|
35
|
-
These custom containers allow you to create more engaging and structured documentation without needing to write custom HTML or CSS.
|
|
@@ -1,329 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: "Nested Containers"
|
|
3
|
-
description: "Learn how to use the advanced nested container system to create complex, interactive documentation layouts with seamless container nesting."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Nested Containers
|
|
7
|
-
|
|
8
|
-
The advanced nested container system in docmd allows you to create complex, interactive documentation layouts by nesting containers within each other. This powerful feature enables you to build rich, structured content that was previously impossible.
|
|
9
|
-
|
|
10
|
-
## Overview
|
|
11
|
-
|
|
12
|
-
With docmd v0.2.0, you can nest containers seamlessly:
|
|
13
|
-
|
|
14
|
-
- **Cards within Tabs** - Organize content into structured sections within tabs
|
|
15
|
-
- **Callouts within Cards** - Add informational content within structured cards
|
|
16
|
-
- **Buttons within Any Container** - Place action buttons in any context
|
|
17
|
-
- **Multiple Levels of Nesting** - Support for complex nested structures up to 7+ levels
|
|
18
|
-
- **Steps for Simple Sequences** - Use steps containers for straightforward, sequential instructions
|
|
19
|
-
|
|
20
|
-
## Container Nesting Rules
|
|
21
|
-
|
|
22
|
-
### Supported Nesting Combinations
|
|
23
|
-
|
|
24
|
-
| Container | Can Nest Inside | Can Contain |
|
|
25
|
-
|-----------|----------------|-------------|
|
|
26
|
-
| **Callouts** | Any container | Any container |
|
|
27
|
-
| **Cards** | Any container | Any container |
|
|
28
|
-
| **Buttons** | Any container | None (self-closing) |
|
|
29
|
-
| **Steps** | Any container (except tabs) | Any container (except tabs) |
|
|
30
|
-
| **Tabs** | Any container (except steps) | Any container (except tabs, steps) |
|
|
31
|
-
|
|
32
|
-
### Nesting Best Practices
|
|
33
|
-
|
|
34
|
-
1. **Logical Structure** - Nest containers in a way that makes logical sense
|
|
35
|
-
2. **Readability** - Don't nest too deeply (3-4 levels maximum for readability)
|
|
36
|
-
3. **Performance** - Complex nesting is supported but keep it reasonable
|
|
37
|
-
4. **Content Organization** - Use nesting to organize related content
|
|
38
|
-
5. **Use the Right Tool** - Use steps for simple sequences, cards/tabs for complex content
|
|
39
|
-
|
|
40
|
-
### Nesting Limitations
|
|
41
|
-
|
|
42
|
-
::: callout error Known Issues
|
|
43
|
-
**Steps ↔ Tabs Incompatibility:** Steps and tabs containers cannot be nested within each other due to parsing complexity. Use them as separate sections instead.
|
|
44
|
-
:::
|
|
45
|
-
|
|
46
|
-
- **Tabs cannot contain tabs** - This prevents infinite recursion
|
|
47
|
-
- **Tabs cannot contain steps** - Due to parsing conflicts with markdown processing
|
|
48
|
-
- **Steps cannot contain tabs** - Due to parsing complexity
|
|
49
|
-
- **Steps cannot be inside tabs** - Due to container recognition issues
|
|
50
|
-
- **Maximum depth** - While technically unlimited, keep it under 7 levels for readability
|
|
51
|
-
- **Performance** - Very deep nesting may impact rendering performance
|
|
52
|
-
|
|
53
|
-
## Basic Nesting Examples
|
|
54
|
-
|
|
55
|
-
### Cards with Nested Content
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
::: card Installation Guide
|
|
59
|
-
|
|
60
|
-
Here's how to install the application:
|
|
61
|
-
|
|
62
|
-
::: callout tip Pro Tip
|
|
63
|
-
Make sure to download the correct version for your platform.
|
|
64
|
-
:::
|
|
65
|
-
|
|
66
|
-
::: button Download_Now /downloads
|
|
67
|
-
|
|
68
|
-
:::
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
::: card Installation Guide
|
|
72
|
-
|
|
73
|
-
Here's how to install the application:
|
|
74
|
-
|
|
75
|
-
::: callout tip Pro Tip
|
|
76
|
-
Make sure to download the correct version for your platform.
|
|
77
|
-
:::
|
|
78
|
-
|
|
79
|
-
::: button Download_Now /downloads
|
|
80
|
-
|
|
81
|
-
:::
|
|
82
|
-
|
|
83
|
-
### Tabs with Nested Content
|
|
84
|
-
|
|
85
|
-
```bash
|
|
86
|
-
::: tabs
|
|
87
|
-
|
|
88
|
-
== tab "Windows"
|
|
89
|
-
Download the Windows installer (.exe) file.
|
|
90
|
-
|
|
91
|
-
::: callout tip
|
|
92
|
-
Make sure to run as administrator for best results.
|
|
93
|
-
:::
|
|
94
|
-
|
|
95
|
-
::: button Download_Windows /downloads/windows
|
|
96
|
-
|
|
97
|
-
== tab "macOS"
|
|
98
|
-
Download the macOS package (.pkg) file.
|
|
99
|
-
|
|
100
|
-
::: callout warning
|
|
101
|
-
You may need to allow the app in Security & Privacy settings.
|
|
102
|
-
:::
|
|
103
|
-
|
|
104
|
-
::: button Download_macOS /downloads/macos
|
|
105
|
-
|
|
106
|
-
== tab "Linux"
|
|
107
|
-
Download the Linux tarball (.tar.gz) file.
|
|
108
|
-
|
|
109
|
-
::: button Download_Linux /downloads/linux
|
|
110
|
-
|
|
111
|
-
:::
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
::: tabs
|
|
115
|
-
|
|
116
|
-
== tab "Windows"
|
|
117
|
-
Download the Windows installer (.exe) file.
|
|
118
|
-
|
|
119
|
-
::: callout tip
|
|
120
|
-
Make sure to run as administrator for best results.
|
|
121
|
-
:::
|
|
122
|
-
|
|
123
|
-
::: button Download_Windows /downloads/windows
|
|
124
|
-
|
|
125
|
-
== tab "macOS"
|
|
126
|
-
Download the macOS package (.pkg) file.
|
|
127
|
-
|
|
128
|
-
::: callout warning
|
|
129
|
-
You may need to allow the app in Security & Privacy settings.
|
|
130
|
-
:::
|
|
131
|
-
|
|
132
|
-
::: button Download_macOS /downloads/macos
|
|
133
|
-
|
|
134
|
-
== tab "Linux"
|
|
135
|
-
Download the Linux tarball (.tar.gz) file.
|
|
136
|
-
|
|
137
|
-
::: button Download_Linux /downloads/linux
|
|
138
|
-
|
|
139
|
-
:::
|
|
140
|
-
|
|
141
|
-
## Advanced Nesting Patterns
|
|
142
|
-
|
|
143
|
-
### Complex Nested Structure
|
|
144
|
-
|
|
145
|
-
````bash
|
|
146
|
-
::: card Installation Guide
|
|
147
|
-
|
|
148
|
-
**Download**
|
|
149
|
-
Get the latest version for your platform.
|
|
150
|
-
|
|
151
|
-
::: button Download_Now /downloads
|
|
152
|
-
|
|
153
|
-
**Install**
|
|
154
|
-
Run the installer and follow the prompts.
|
|
155
|
-
|
|
156
|
-
```bash
|
|
157
|
-
install docmd
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
**Configure**
|
|
161
|
-
Set up your preferences.
|
|
162
|
-
|
|
163
|
-
::: callout warning Important
|
|
164
|
-
Don't forget to configure your settings!
|
|
165
|
-
:::
|
|
166
|
-
|
|
167
|
-
:::
|
|
168
|
-
````
|
|
169
|
-
|
|
170
|
-
::: card Installation Guide
|
|
171
|
-
|
|
172
|
-
**Download**
|
|
173
|
-
Get the latest version for your platform.
|
|
174
|
-
|
|
175
|
-
::: button Download_Now /downloads
|
|
176
|
-
|
|
177
|
-
**Install**
|
|
178
|
-
Run the installer and follow the prompts.
|
|
179
|
-
|
|
180
|
-
```bash
|
|
181
|
-
install docmd
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
**Configure**
|
|
185
|
-
Set up your preferences.
|
|
186
|
-
|
|
187
|
-
::: callout warning Important
|
|
188
|
-
Don't forget to configure your settings!
|
|
189
|
-
:::
|
|
190
|
-
|
|
191
|
-
:::
|
|
192
|
-
|
|
193
|
-
### Cards with Multiple Nested Elements
|
|
194
|
-
|
|
195
|
-
```markdown
|
|
196
|
-
::: card API Reference
|
|
197
|
-
|
|
198
|
-
::: callout info API Key Required
|
|
199
|
-
All API requests require a valid API key.
|
|
200
|
-
:::
|
|
201
|
-
|
|
202
|
-
**Setup Steps**
|
|
203
|
-
|
|
204
|
-
1. Get your API key from the dashboard
|
|
205
|
-
2. Include it in your request headers
|
|
206
|
-
3. Test your connection
|
|
207
|
-
|
|
208
|
-
::: button Test_API /api/test
|
|
209
|
-
|
|
210
|
-
:::
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
::: card API Reference
|
|
214
|
-
|
|
215
|
-
::: callout info API Key Required
|
|
216
|
-
All API requests require a valid API key.
|
|
217
|
-
:::
|
|
218
|
-
|
|
219
|
-
**Setup Steps**
|
|
220
|
-
|
|
221
|
-
1. Get your API key from the dashboard
|
|
222
|
-
2. Include it in your request headers
|
|
223
|
-
3. Test your connection
|
|
224
|
-
|
|
225
|
-
::: button Test_API /api/test
|
|
226
|
-
|
|
227
|
-
:::
|
|
228
|
-
|
|
229
|
-
## Steps Container
|
|
230
|
-
|
|
231
|
-
Steps containers are designed for simple, sequential instructions and work well with other containers:
|
|
232
|
-
|
|
233
|
-
```bash
|
|
234
|
-
::: steps
|
|
235
|
-
|
|
236
|
-
1. **Download the Application**
|
|
237
|
-
Get the latest version from our download page.
|
|
238
|
-
|
|
239
|
-
::: button Download_Now /downloads
|
|
240
|
-
|
|
241
|
-
2. **Install the Application**
|
|
242
|
-
Run the installer and follow the setup wizard.
|
|
243
|
-
|
|
244
|
-
::: callout tip Pro Tip
|
|
245
|
-
Check our system requirements page for detailed information.
|
|
246
|
-
:::
|
|
247
|
-
|
|
248
|
-
3. **Configure Settings**
|
|
249
|
-
Set up your preferences and start using the app.
|
|
250
|
-
|
|
251
|
-
::: card Configuration
|
|
252
|
-
- Choose your theme
|
|
253
|
-
- Set up notifications
|
|
254
|
-
- Configure integrations
|
|
255
|
-
:::
|
|
256
|
-
|
|
257
|
-
:::
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
::: steps
|
|
261
|
-
|
|
262
|
-
1. **Download the Application**
|
|
263
|
-
Get the latest version from our download page.
|
|
264
|
-
|
|
265
|
-
::: button Download_Now /downloads
|
|
266
|
-
|
|
267
|
-
2. **Install the Application**
|
|
268
|
-
Run the installer and follow the setup wizard.
|
|
269
|
-
|
|
270
|
-
::: callout tip Pro Tip
|
|
271
|
-
Check our system requirements page for detailed information.
|
|
272
|
-
:::
|
|
273
|
-
|
|
274
|
-
3. **Configure Settings**
|
|
275
|
-
Set up your preferences and start using the app.
|
|
276
|
-
|
|
277
|
-
::: card Configuration
|
|
278
|
-
- Choose your theme
|
|
279
|
-
- Set up notifications
|
|
280
|
-
- Configure integrations
|
|
281
|
-
:::
|
|
282
|
-
|
|
283
|
-
:::
|
|
284
|
-
|
|
285
|
-
## Troubleshooting
|
|
286
|
-
|
|
287
|
-
### Common Issues
|
|
288
|
-
|
|
289
|
-
1. **Container not rendering** - Ensure proper spacing and syntax
|
|
290
|
-
2. **Nested content not showing** - Check for proper closing tags
|
|
291
|
-
3. **Performance issues** - Reduce nesting depth if experiencing slowdowns
|
|
292
|
-
|
|
293
|
-
### Debugging Tips
|
|
294
|
-
|
|
295
|
-
- **Check syntax** - Ensure all containers have proper opening and closing tags
|
|
296
|
-
- **Verify nesting** - Make sure containers are properly nested
|
|
297
|
-
- **Test incrementally** - Build complex structures step by step
|
|
298
|
-
- **Use browser dev tools** - Inspect the generated HTML for issues
|
|
299
|
-
- **Use the right container** - Steps for simple sequences, cards/tabs for complex content
|
|
300
|
-
|
|
301
|
-
## Migration from v0.1.x
|
|
302
|
-
|
|
303
|
-
### Breaking Changes
|
|
304
|
-
|
|
305
|
-
- **Container parsing** - The internal parsing system has been optimized for reliability
|
|
306
|
-
- **Nesting behavior** - Most containers support seamless nesting
|
|
307
|
-
|
|
308
|
-
### What's New
|
|
309
|
-
|
|
310
|
-
- **Enhanced nesting** - Cards, tabs, callouts, and buttons support seamless nesting
|
|
311
|
-
- **Better performance** - Improved parsing performance for complex structures
|
|
312
|
-
- **Clear limitations** - Well-defined boundaries for what each container can do
|
|
313
|
-
|
|
314
|
-
### Backward Compatibility
|
|
315
|
-
|
|
316
|
-
- **Existing syntax** - All existing container syntax remains the same
|
|
317
|
-
- **Enhanced functionality** - New nesting capabilities are additive for supported containers
|
|
318
|
-
|
|
319
|
-
## Future Container Types
|
|
320
|
-
|
|
321
|
-
The nested container system is designed to be easily extensible. Future container types that could be added include:
|
|
322
|
-
|
|
323
|
-
- **Timeline containers** - For chronological content
|
|
324
|
-
- **Changelog containers** - For version history
|
|
325
|
-
- **FAQ containers** - For question-answer content
|
|
326
|
-
- **Gallery containers** - For image collections
|
|
327
|
-
- **Code playground containers** - For interactive code examples
|
|
328
|
-
|
|
329
|
-
The architecture supports adding new containers by simply defining them in the containers object and implementing their render functions.
|