Use <code> for inline code snippets.
For example, use <section> to define sections and <article> for independent content.
The CSS property display: flex; enables flexbox layout.
Use <pre><code> for multi-line code:
<div class="container">
<div class="row">
<div class="col-md-6">Column 1</div>
<div class="col-md-6">Column 2</div>
</div>
</div>
Use <var> for mathematical or programming variables:
The quadratic formula: x = (-b ± √(b2 - 4ac)) / 2a
Calculate: y = mx + b
Use <kbd> for keyboard input:
Press Ctrl + C to copy selected text.
Press Ctrl + V to paste from clipboard.
Save your work with Ctrl + S.
Open command palette: Ctrl + Shift + P
Quick switch: Alt + Tab
Type cd to change directory.
Use ls -la to list all files with details.
Run npm install to install dependencies.
Use <samp> for sample output from programs:
The command returned: Hello, World!
Error message: Error: File not found at /path/to/file.txt
Build status: Build completed successfully in 2.3s
Content above the rule.
Content below the rule.
Danger style (red, thicker, semi-transparent):
Primary style (blue, thick, more opaque):
Success style (green):
Large vertical margins:
Content after large spacing.
Use <abbr> with a title attribute for abbreviations:
HTML is the standard markup language for web pages.
CSS is used for styling HTML documents.
The W3C maintains web standards.
Use .initialism for slightly smaller text:
API - A set of protocols for building software.
REST - An architectural style for web services.
JSON - A lightweight data interchange format.
To install the package, open your terminal and run:
npm install bootstrap@5.3.8
Then import it in your JS file:
import 'bootstrap/dist/css/bootstrap.min.css';
import 'bootstrap/dist/js/bootstrap.bundle.min.js';
Expected output: added 2 packages in 1.2s
Keyboard shortcut: Press Ctrl + ` to open the integrated terminal.
Need help?