TakeOnePiece
). Sanitization engines strip out or neutralize these dangerous tags before they reach the preview pane, preventing Cross-Site Scripting (XSS) attacks."}},{"@type":"Question","name":"WYSIWYM (What You See Is What You Mean):","acceptedAnswer":{"@type":"Answer","text":"A paradigm contrasting with WYSIWYG. Markdown is considered WYSIWYM because the writer focuses on the structural meaning of the text (e.g., \"this is a top-level heading\", \"this is a list\") rather than its exact visual representation (e.g., \"this text is 24pt Arial\"). The preview pane handles the visual representation based on a predetermined stylesheet."}},{"@type":"Question","name":"Security Vulnerabilities","acceptedAnswer":{"@type":"Answer","text":"represent a critical, often-overlooked pitfall in web-based Markdown editors. Because Markdown inherently supports raw HTML, it is a prime vector for Cross-Site Scripting (XSS) attacks. If a developer builds a custom Markdown previewer for a blog comments section but fails to implement a robust sanitization library (like DOMPurify), a malicious actor could submit a comment containing . When the server renders that Markdown into HTML and displays it to other users, the malicious script executes in their browsers. Therefore, a fundamental limitation is that raw Markdown output can never be trusted natively; it must always pass through a heavy sanitization filter before being rendered in a public preview."}},{"@type":"Question","name":"Markdown vs. WYSIWYG Word Processors (Microsoft Word, Google Docs):","acceptedAnswer":{"@type":"Answer","text":"Word processors are the dominant paradigm for general office work. They are incredibly feature-rich, offering precise control over page margins, custom fonts, and complex pagination. However, this power comes at the cost of proprietary file formats (like .docx) and bloated hidden code. If you copy text from a Word document and paste it into a website, you often bring along hundreds of lines of invisible, conflicting styling code. Markdown editors sacrifice complex visual control (you cannot easily change a font to \"Comic Sans\" in pure Markdown) in exchange for absolute plain-text purity, ensuring the output is perfectly clean, standardized HTML. Markdown is vastly superior for web publishing, while Word remains superior for printing physical documents."}},{"@type":"Question","name":"Markdown vs. Raw HTML:","acceptedAnswer":{"@type":"Answer","text":"Writing raw HTML provides absolute, granular control over every aspect of a web document. A writer can define exact CSS classes, inline styles, and complex structural divisions (
). However, writing HTML is incredibly slow and visually noisy. To write a simple bolded list in HTML requires typing
    ,
  • , , and their respective closing tags. The source code becomes difficult to read. Markdown acts as a highly efficient shorthand for HTML. It provides 90 percent of the structural capabilities of HTML with 10 percent of the typing effort. When extreme precision is needed, a user can simply drop raw HTML into their Markdown document, offering the best of both worlds."}},{"@type":"Question","name":"Markdown vs. LaTeX:","acceptedAnswer":{"@type":"Answer","text":"LaTeX is a heavy, highly complex typesetting system used almost exclusively in academia, mathematics, and scientific publishing. Where Markdown struggles with complex tables and mathematical formulas, LaTeX excels. LaTeX can automatically generate tables of contents, manage massive bibliographies, and render flawless calculus equations. However, the learning curve for LaTeX is monumental, and the source code is arguably more difficult to read than raw HTML. Markdown is designed for speed, simplicity, and web output. LaTeX is designed for mathematical precision and perfect PDF typesetting. Many modern Markdown editors attempt to bridge this gap by supporting \"MathJax\" or \"KaTeX,\" allowing users to write LaTeX-style math equations ($$E=mc^2$$) within their Markdown files."}},{"@type":"Question","name":"Markdown vs. AsciiDoc / reStructuredText:","acceptedAnswer":{"@type":"Answer","text":"AsciiDoc and reStructuredText (reST) are direct competitors to Markdown in the lightweight markup language space. Both are significantly more powerful and feature-rich than Markdown, offering native support for complex tables, document inclusions, and cross-referencing. They are heavily favored by technical writers managing massive, book-length documentation projects (like the Linux kernel documentation). However, they lost the popularity contest to Markdown. Markdown is supported by virtually every web platform, note-taking app, and developer tool on earth, whereas AsciiDoc and reST require specialized toolchains. Markdown wins on ubiquity and simplicity; the alternatives win on raw technical capability."}},{"@type":"Question","name":"What is the difference between Markdown and HTML?","acceptedAnswer":{"@type":"Answer","text":"Markdown is a lightweight markup language designed specifically to be easy for humans to read and write in a plain text format. HTML (HyperText Markup Language) is the standard markup language used by web browsers to display web pages. Think of Markdown as a fast, shorthand way of writing HTML. When you use a Markdown editor, the software translates your simple Markdown symbols (like # for a header) into the corresponding, more complex HTML tags (like

    ) so a browser can display it properly."}},{"@type":"Question","name":"Do I need an internet connection to use a Markdown editor?","acceptedAnswer":{"@type":"Answer","text":"No, you do not need an internet connection to use most Markdown editors. Because Markdown is simply plain text, and the parsing engines that convert it to a visual preview are extremely lightweight, the entire process happens locally on your computer's processor. Desktop applications like Obsidian, Typora, or Visual Studio Code can parse, render, and preview massive Markdown documents completely offline. Web-based editors, of course, require an internet connection to load the website initially."}},{"@type":"Question","name":"How do I change the font size or color in a Markdown document?","acceptedAnswer":{"@type":"Answer","text":"Standard Markdown does not have built-in syntax for changing visual styling like font size, font family, or text color. Markdown is designed to handle the structure of the document (headings, lists, bolding), while CSS (Cascading Style Sheets) handles the visual appearance. If you absolutely must change the color of a specific word, you can use standard HTML directly inside your Markdown file, such as this text. However, best practice dictates relying on the editor's global CSS theme rather than hardcoding colors."}},{"@type":"Question","name":"Can I export my Markdown file to a PDF or Word document?","acceptedAnswer":{"@type":"Answer","text":"Yes, almost all modern Markdown editors feature robust export capabilities. Because the editor first converts your Markdown into HTML, it can easily pass that HTML through an export engine to generate other formats. Tools like Pandoc (a universal document converter often integrated into advanced editors) can seamlessly convert a .md file into a highly formatted .pdf, a Microsoft Word .docx file, or an .epub ebook, applying standard styling templates during the conversion process."}},{"@type":"Question","name":"Why are my line breaks not showing up in the preview pane?","acceptedAnswer":{"@type":"Answer","text":"This is the most common issue for beginners. In standard Markdown, pressing the \"Enter\" or \"Return\" key once is ignored by the parser and treated as a single space. To create a new paragraph, you must press \"Enter\" twice, creating a visible blank line between your blocks of text in the editor pane. If you want to create a line break without starting a new paragraph (a soft return), you must type exactly two spaces at the very end of the line before pressing \"Enter\"."}},{"@type":"Question","name":"What is GitHub Flavored Markdown (GFM)?","acceptedAnswer":{"@type":"Answer","text":"GitHub Flavored Markdown is a specific, highly popular variation (or \"flavor\") of the standard Markdown specification. Created by the code-hosting platform GitHub, GFM adds several incredibly useful features that were missing from John Gruber's original 2004 release. The most notable additions include the ability to create tables using pipe characters (|), task lists with checkboxes (- [ ]), strikethrough text, and automatic hyperlinking of URLs without needing to wrap them in brackets. Most modern editors allow you to set GFM as the default parsing engine."}},{"@type":"Question","name":"Is it safe to paste raw HTML into a Markdown editor?","acceptedAnswer":{"@type":"Answer","text":"It is generally safe for personal use, as Markdown was intentionally designed to support raw HTML for edge cases where standard syntax falls short. However, from a security standpoint, rendering unknown or user-submitted Markdown is highly dangerous. Because Markdown accepts raw HTML, a malicious user could embed dangerous JavaScript within

    Markdown Editor & Preview

Command Palette

Search for a command to run...