How to make text bold?
Wrap the text in double asterisks or double underscores. Example: **bold text** or __bold text__.
How to make text italic?
Wrap the text in single asterisks or underscores. Example: *italic* or _italic_.
How to create a heading?
Use the hash symbol (#) followed by a space. # Heading 1, ## Heading 2, ### Heading 3.
How to create a link?
Use the format [Link Text](URL). Example: [Google](https://google.com).
How to add an image?
Use the format . Example: .
How to create a blockquote?
Start the line with a greater-than sign (>). Example: > This is a quote.
How to create an ordered list?
Start lines with numbers followed by a period. 1. Item One 2. Item Two.
How to create an unordered list?
Start lines with asterisks, plus signs, or hyphens. * Item, + Item, or - Item.
How to add inline code?
Wrap code in backticks (`). Example: `code here`.
How to add a code block?
Wrap code in triple backticks (```). You can specify a language after the first set.
How to create a horizontal rule?
Use three or more dashes (---), asterisks (***), or underscores (___) on a new line.
How to escape characters?
Use a backslash (\) before the character. Example: \*literal asterisk\*.
How to create a table?
Use pipes (|) to separate columns and hyphens (-) for the header row.
How to add a line break?
End a line with two or more spaces before hitting return, or use the <br> tag.
What is Markdown?
Markdown is a lightweight markup language used to add formatting elements to plaintext text documents.
Is Markdown HTML?
No, but Markdown is designed to be converted into HTML. You can also mix raw HTML within Markdown files.
What opens an .md file?
Any text editor (Notepad, VS Code) can open .md files. Dedicated editors provide live previews.
How to make a task list?
Use - [ ] for an empty checkbox and - [x] for a checked one.
How to strikethrough text?
Wrap text in double tildes (~~). Example: ~~crossed out~~.
How to highlight text?
Standard Markdown doesn't support highlighting, but some flavors use ==highlight==.
How to create a footnote?
Use [^1] in the text and [^1]: The footnote text at the bottom.
Does Markdown support emojis?
Most modern editors support standard emoji characters (😎) or shortcodes like :smile:.
How to center text?
Markdown does not have native alignment. Use HTML: <center>Text</center>.
How to change text color?
Markdown doesn't support color. Use HTML: <span style='color:red'>Text</span>.
What is GFM?
GitHub Flavored Markdown (GFM) is a dialect that adds tables, task lists, and strikethrough.
How to comment?
Use HTML comment syntax: <!-- This is a comment -->.
Link to same page section?
Use [Link Text](#header-id). Headers automatically get IDs in many parsers.
Convert HTML to Markdown?
Yes, tools like Turndown can reverse the process, converting HTML tags back to Markdown syntax.
How to sub/superscript?
Use HTML tags <sub> and <sup>, or caret (^) notation if supported.
How to embed a video?
Use an image that links to the video, or raw HTML <video> tags.
Is Markdown safe?
Markdown is safe text, but converting it to HTML can expose XSS vulnerabilities if not sanitized.
How to make a definition list?
Some flavors support Term : Definition syntax, but standard Markdown does not.
What is CommonMark?
CommonMark is a standardized spec to ensure consistency across different Markdown parsers.
How to resize an image?
Standard Markdown cannot resize images. You must use HTML: <img width='500'>.
How to create nested lists?
Indent the nested items by 2 or 4 spaces (or a tab) under the parent item.
Escape backticks in code?
Use double backticks to wrap code containing single backticks. Example: `` ` ``.
Does it support math?
Not natively. You need a parser that supports LaTeX (like MathJax), often using $...$ syntax.
Optimize Markdown for SEO?
Use proper hierarchy (H1, H2), descriptive link text, and alt text for images.
Can I use CSS?
You cannot write CSS directly in Markdown, but you can include <style> blocks if HTML is allowed.
Why use Markdown?
It is fast, readable as plain text, platform-independent, and widely supported.