Choose context-appropriate prefixes: Code comments use '//', '/*', '#', markdown uses '- ', '>', ' '. Match prefix to output format and avoid using markdown syntax in code or vice versa.
Handle empty lines explicitly: Decide whether to prefix blank lines or skip them. Many formatters exclude empty lines from prefixing to avoid creating marker-only lines that serve no purpose.
Test prefix rendering in target environment: Markdown parsers, code editors, and email clients may interpret prefixes differently. Verify formatted output displays correctly in the intended destination.
Combine with line numbering for clarity: Instead of plain '>>', use '1: ', '2: ', '3: ' for numbered prefixes. Incremental numbering adds structure and makes line references easy in formatted output.