Blog - #syntax
Markdown guides, tutorials, and tips for developers, writers, and students.
Markdown Collapsible Section: Details and Summary
Create a markdown collapsible section with the details and summary tags. See nesting, code blocks and platform support, then test your block in our editor.
Underline in LaTeX: \underline, ulem, soul and Math
How to underline in LaTeX: \underline for short text, ulem and soul for lines that wrap, \underbrace in math, and what KaTeX renders. Try it free online.
LaTeX Footnote Commands: Marks, Symbols and Captions
Every LaTeX footnote command with its compiled output: marks, reused numbers, symbols, resets and captions, plus the errors they throw. Copy the examples.
Uppercase to Lowercase Python Methods (With Examples)
Uppercase to lowercase Python examples using lower(), plus upper(), casefold() and title(), and the Unicode and apostrophe traps they hit. Copy the code.
Uppercase to Lowercase in JavaScript: Methods and Helpers
Convert uppercase to lowercase in JavaScript with toLowerCase, avoid Turkish I and ß locale bugs, and copy tested title case and camelCase helpers. Try it.
YAML List Syntax: Block, Flow and Lists of Objects
Learn YAML list syntax: block and flow arrays, lists of objects, nested and empty lists, shown with JSON output and real config files. Copy the patterns.
YAML Multiline String: Literal |, Folded > and Chomping
Write a YAML multiline string with |, >, chomping and indentation indicators, each shown with the exact parsed output. Copy the right form and test it now.
LaTeX New Line: Line Breaks, Paragraphs and Spacing
Learn the LaTeX new line commands for text: \\, \newline, \linebreak and blank lines, plus spacing and error fixes. Try our free Markdown to LaTeX tool.
PlantUML Sequence Diagram Syntax With Mermaid Equivalents
Learn PlantUML sequence diagram syntax for arrows, activation, loops and notes, each paired with Mermaid code that renders on GitHub. Try it in our editor.
LaTeX Hyperlink: \href, \url and hyperref Examples
Add a LaTeX hyperlink with hyperref: \href, \url, links to sections and equations, plus the one line that removes the red boxes. Copy the examples now.
Code Block HTML: pre and code Tags with Examples
Learn the code block HTML pattern with pre and code: what to escape, how whitespace behaves, CSS styling and line numbers. Copy the working examples free.
Bullet Points in LaTeX: itemize Symbols, Spacing, Nesting
Make bullet points in LaTeX with itemize, change or remove the symbol at any level, and tighten spacing with enumitem. Copy the code, or convert Markdown.
LaTeX Horizontal Line: 6 Ways in Text and Math
Draw a LaTeX horizontal line between paragraphs, in text or in math, with snippets that compile. See which render in KaTeX and try them in our free editor.
Link Tag in HTML: Anchor vs Link Element Explained
Learn the link tag in HTML: when to use the anchor or the link element, plus href, target, rel, mailto and download. Try the free Markdown to HTML tool.
HTML Description List: dl, dt and dd with Examples
Learn the HTML description list: dl, dt and dd grouping rules, div wrappers, a CSS grid layout and screen reader quirks. Try the markup in our free editor.
HTML Image Tag: img Attributes, srcset and picture
Learn the HTML image tag: alt text, width and height to stop layout shift, lazy loading, srcset and picture, with examples. Try it in our free editor.
Mermaid ER Diagram: Syntax, Keys and Examples (2026)
Write a Mermaid ER diagram in Markdown: relationship markers, PK and FK keys, quoting rules, styling and version gotchas for new syntax. Test it free.
HTML Comment Syntax: Comment Out Markup, CSS and JS
Learn how to write an HTML comment, comment out whole sections, avoid the nesting bug that leaks text, and use CSS and JS comments. Try the free editor.