Skip to content

Instantly share code, notes, and snippets.

@MarcoEidinger
MarcoEidinger / TableWithCodeTipsAndExamples.md
Last active April 10, 2025 14:42
Master GitHub markdown tables with code blocks

Master GitHub markdown tables with code blocks

  1. Use HTML tags to define the table to get the best layout result
  2. Use either backticks (```) or the HTML pre element with attribute lang
  3. Keep a blank line before and after a code block for correct formatting and syntax highlighting

Good

Example: nice looking table to show HTTP Responses