ykcpa.com

← Back to blog

Published on Tue May 06 2025 00:00:00 GMT+0000 (Coordinated Universal Time) by Josh Krupnick

When to Use Markdown in Prompts

Use it when you want to:

Why This Works: Training Exposure

LLMs were trained on massive corpora that include:

So when you use common Markdown formatting, you’re speaking the model’s native visual language.

High-Impact Markdown Symbols (Strongly Learned Patterns)

SymbolMarkdown UseWhy It Matters to LLMs
#, ##, ###HeadingsTriggers structured thinking; segments instructions or sections clearly.
*, -, +BulletsRecognized as lists — helps the model organize thoughts and outputs.
1., 2.Numbered listsSupports step-by-step reasoning or procedural thinking.
**bold** or __bold__EmphasisSuggests importance or labels — model often echoes this in output.
_italic_ or *italic*Subtle emphasisOften used to signal asides, tone, or nuance.
> blockquoteQuotingInterpreted as citing another voice or referencing prior text.
```Code blocksVery strong cue: model switches to structured syntax, preserves formatting, uses technical language.
---Horizontal ruleSeen as a topic or section break — triggers a shift in focus.

Moderate-Impact Symbols

SymbolUseLLM Behavior
[]()LinksRecognized in context (e.g., tutorials), but rarely “clicked” — treated as source metadata.
![alt](image)Image embedsModel recognizes this is an image placeholder — it might respond descriptively.
\ (escape)Escape characterRarely changes LLM behavior unless in code contexts.
HTML inside markdownTables, anchors, divsSometimes parsed correctly, especially in documentation, but inconsistent in free text.

Low-Impact / Cosmetic Markdown

SymbolUseLLM Behavior
  or raw HTML escapesFine-tuning spacingTypically ignored or stripped in LLM response.
Line breaks (\n)FormattingHelps readability, but model doesn’t always preserve layout unless told to.

Written by Josh Krupnick

← Back to blog
  • Markdown Symbols - The key to speaking LLM-ese

    A guide to using Markdown formatting effectively when prompting LLMs, based on how models were trained on structured text.

  • How Do I Find Which Period a Check or Other Item Cleared the Bank

    A workaround to find which reconciliation period a check cleared in QuickBooks when the audit report doesn't show it.

  • How to reset the last cell in an Excel worksheet

    A quick VBA trick to reset Excel's "last cell" when Ctrl+End jumps too far away from your actual data.