Content Formatting & Typography Guide
import Callout from â../../../components/content/Callout.astroâ; import SummaryBox from â../../../components/content/SummaryBox.astroâ; import CategoryHeader from â../../../components/content/CategoryHeader.astroâ;
Content Formatting & Typography Guide
Section titled âContent Formatting & Typography GuideâThis guide covers the enhanced typography system and content formatting components available for creating readable, skim-able documentation.
Enhanced Typography System
Section titled âEnhanced Typography SystemâKey Typography Features
Section titled âKey Typography Featuresâ- Custom Font Stack: Inter font for improved readability
- Responsive Typography: Larger text on wider screens
- Optimal Line Length: 65-character maximum width for comfortable reading
- Enhanced Spacing: Consistent spacing system throughout
- Improved Heading Hierarchy: Clear visual distinction between heading levels
Content Components
Section titled âContent ComponentsâCallout Boxes
Section titled âCallout BoxesâUse callout components to highlight important information, tips, warnings, or notes.
Summary Boxes
Section titled âSummary BoxesâUse summary boxes to provide quick overviews or key takeaways.
Category Headers
Section titled âCategory HeadersâUse category headers to organize related content sections.
This helps readers quickly scan and navigate to relevant sections of your content.
Content Structure Best Practices
Section titled âContent Structure Best PracticesâHeadings and Hierarchy
Section titled âHeadings and HierarchyâUse a clear heading hierarchy to organize your content:
- H1: Main page title (one per page)
- H2: Major sections
- H3: Subsections within major sections
- H4: Specific topics within subsections
Paragraph Formatting
Section titled âParagraph Formattingâ- Keep paragraphs to 2-4 sentences maximum
- Use white space effectively between sections
- Start with the most important information
- Use transition words to guide readers
Lists Organization
Section titled âLists OrganizationâOrganize lists with clear categories and consistent formatting:
Category 1: Essential Items
Section titled âCategory 1: Essential Itemsâ- Item 1: Brief description of the itemâs purpose
- Item 2: Clear explanation of benefits and use cases
Category 2: Advanced Features
Section titled âCategory 2: Advanced Featuresâ- Feature 1: Technical details for experienced users
- Feature 2: Integration capabilities and options
Formatting Examples
Section titled âFormatting ExamplesâBefore (Dense, Hard to Scan)
Section titled âBefore (Dense, Hard to Scan)âHere is a long paragraph that contains a lot of information without proper formatting or visual breaks which makes it difficult for readers to quickly scan and find the information they need especially when they are looking for specific details or trying to understand the main points of the content.
After (Well-Formatted, Easy to Scan)
Section titled âAfter (Well-Formatted, Easy to Scan)âKey information is presented in:
- Bite-sized paragraphs that are easy to digest
- Clear headings that guide the reader through the content
- Visual elements like callouts that draw attention to important points
- Consistent formatting that creates a professional appearance
Usage Guidelines
Section titled âUsage GuidelinesâWhen to Use Callouts
Section titled âWhen to Use Calloutsâ- Tips: Helpful advice, best practices, shortcuts
- Notes: Additional context, references, supplementary info
- Warnings: Potential issues, things to be careful about
- Danger: Critical information, consequences, important requirements
When to Use Summary Boxes
Section titled âWhen to Use Summary Boxesâ- Quick overviews at the beginning of long content
- Key takeaways at the end of sections
- Action items or next steps
- Reference information for quick lookup
Content Organization
Section titled âContent Organizationâ- Start with a clear introduction that sets expectations
- Use consistent heading structure throughout
- Break up long content with subheadings and visual elements
- End with summaries or next steps
- Include relevant links to additional resources
Testing Your Content
Section titled âTesting Your ContentâAfter implementing these formatting guidelines:
Test your content on different devices and screen sizes to ensure the responsive typography works effectively across all platforms.