Formatting Macros in Technical Documentation records a distinct source-supported procedure or technical-formatting task while keeping adjacent UI behavior, accessibility concerns, and implementation mechanics outside the page.
ReviewedEvidence1 sourceSectionWriting & Style
Quick answer
Format macros usually in all uppercase; use bold for predefined macros, while user-defined or code-context macros may require code style.
Key details
Core Issueformatting macros in technical documentation
Registertechnical and professional writing
Important caveats
Scope Boundary
Macro treatment can vary by context, so the page does not impose bold or code style universally.
Further guidance
Content
Format macros usually in all uppercase; use bold for predefined macros, while user-defined or code-context macros may require code style.
Purpose
This distinguishes ordinary prose from macro names while preserving code-context variation.
Sources and evidence
Sources are shown with the role they play in this guide. Historical or style-sensitive claims are kept within the evidence boundary described above.
Formatting AI Prompts in Technical Documentation records a distinct Microsoft Style Guide authoring convention and keeps it explicitly scoped to technical documentation rather than presenting it as a universal grammar rule.
Formatting Attributes in Technical Documentation records a distinct Microsoft Style Guide authoring convention and keeps it explicitly scoped to technical documentation rather than presenting it as a universal grammar rule.
Formatting Classes in Technical Documentation records a distinct Microsoft Style Guide authoring convention and keeps it explicitly scoped to technical documentation rather than presenting it as a universal grammar rule.
Formatting Code Keywords in Technical Documentation records a distinct Microsoft Style Guide authoring convention and keeps it explicitly scoped to technical documentation rather than presenting it as a universal grammar rule.
Formatting Code Samples in Technical Documentation records a distinct Microsoft Style Guide authoring convention and keeps it scoped to technical instructions rather than presenting it as a universal grammar rule.
Formatting Constants in Technical Documentation records a distinct Microsoft Style Guide authoring convention and keeps it explicitly scoped to technical documentation rather than presenting it as a universal grammar rule.
Formatting Control Classes in Technical Documentation records a distinct Microsoft Style Guide authoring convention and keeps it explicitly scoped to technical documentation rather than presenting it as a universal grammar rule.
Formatting Data Formats in Technical Documentation records a distinct Microsoft Style Guide authoring convention and keeps it explicitly scoped to technical documentation rather than presenting it as a universal grammar rule.