MarkView supports custom containers using the
markdown-it-containerplugin. You can create various types of containers such as info, warning, danger, details, and spoiler boxes.
::: info This is an info container. You can put any markdown content here. :::
::: warning Warning: This is a warning message. Be careful with this operation! :::
::: danger Danger Zone! This action cannot be undone. :::
::: details Click to expand: This content is hidden by default. You can toggle visibility. :::
::: spoiler This contains spoilers for the movie! The main character was the villain all along. :::
::: info Custom Title This info box has a custom title. The title appears at the top. :::
::: danger Security Notice Never share your API keys publicly! Store them securely in environment variables. :::
::: warning Important Notice This container supports full markdown:
- Bullet lists
- Bold and italic text
Code blocks- Links
console.log("Even code blocks!");:::