Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>markdown-it-container-questionNew to Visual Studio Code? Get it now.
markdown-it-container-question

markdown-it-container-question

Matej Ciglenecki

|
293 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

markdown-it-container-question README

What is this?

HARDCODED VSCode extension that converts infamous markdown snippet:

<details>
<summary>What's your question?</summary>
...this is hidden, collapsable content...
</details>

to the following:

::: q What's your question?
...this is hidden, collapsable content...
:::
What's your question? ...this is hidden, collapsable content...

Features

question and answer classes are added to html elements. Use your own style.css to make questions and answer prettier.

Add style for markdown in VSCode JSON settings:

"markdown.styles": ["/path/to/style.css"]

or

"markdown.styles": ["./relativepath/to/style.css"]

E.g. of style.css

.answer {
  margin: 1em 0em 0em 3em;
  padding-left: 1em;
  border-left: 3px solid rgba(0, 0, 0, 0.2);
  display: block;
}
.question {
  color: red;
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft