AI engineering glossary · Prompt context engineering

What is markdown formatting in prompts?

Markdown formatting in prompts: Using headings, bullet lists and code fences inside a prompt to organise long instructions, and asking for Markdown in the reply. Clean structure helps both the model and human reviewers. Some applications need plain text instead, so the format should be stated clearly.

Level: beginnerTopic: Prompt context engineering

Markdown formatting in prompts: an example

A prompt has sections '## Task', '## Rules' and '## Input', and asks the reply to use a numbered list.

Related terms

More Prompt context engineering terms

Where you learn it

Markdown formatting in prompts is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.