@knowcode/doc-builder 1.9.20 → 1.9.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/cli.js +15 -1
  2. package/doc-builder.config.js +4 -2
  3. package/doc-builder.config.js.backup.1754567425847 +124 -0
  4. package/html/README.html +3 -3
  5. package/html/about-doc-builder.html +3 -3
  6. package/html/documentation-index.html +3 -3
  7. package/html/guides/authentication-default-change.html +3 -3
  8. package/html/guides/authentication-guide.html +3 -3
  9. package/html/guides/claude-workflow-guide.html +3 -3
  10. package/html/guides/configuration-guide.html +3 -3
  11. package/html/guides/documentation-standards.html +3 -3
  12. package/html/guides/html-embedding-guide.html +3 -3
  13. package/html/guides/image-modal-guide.html +3 -3
  14. package/html/guides/phosphor-icons-guide.html +3 -3
  15. package/html/guides/private-directory-authentication-troubleshooting.html +3 -3
  16. package/html/guides/private-directory-authentication.html +3 -3
  17. package/html/guides/public-site-deployment.html +3 -3
  18. package/html/guides/search-engine-verification-guide.html +3 -3
  19. package/html/guides/seo-guide.html +3 -3
  20. package/html/guides/seo-optimization-guide.html +3 -3
  21. package/html/guides/supabase-authentication-complete-guide.html +3 -3
  22. package/html/guides/troubleshooting-guide.html +3 -3
  23. package/html/guides/windows-setup-guide.html +3 -3
  24. package/html/image-modal-test.html +3 -3
  25. package/html/index.html +3 -3
  26. package/html/private/cache-control-anti-pattern.html +3 -3
  27. package/html/private/launch/README.html +3 -3
  28. package/html/private/launch/auth-cleanup-summary.html +3 -3
  29. package/html/private/launch/bubble-plugin-specification.html +3 -3
  30. package/html/private/launch/go-to-market-strategy.html +3 -3
  31. package/html/private/launch/launch-announcements.html +3 -3
  32. package/html/private/launch/vercel-deployment-auth-setup.html +3 -3
  33. package/html/private/next-steps-walkthrough.html +3 -3
  34. package/html/private/supabase-auth-implementation-completed.html +3 -3
  35. package/html/private/supabase-auth-implementation-plan.html +3 -3
  36. package/html/private/supabase-auth-integration-plan.html +3 -3
  37. package/html/private/supabase-auth-setup-guide.html +3 -3
  38. package/html/private/test-private-doc.html +3 -3
  39. package/html/private/user-management-tooling.html +3 -3
  40. package/html/prompts/beautiful-documentation-design.html +3 -3
  41. package/html/prompts/markdown-document-standards.html +3 -3
  42. package/html/prompts/project-rename-strategy-sasha-publish.html +3 -3
  43. package/html/sitemap.xml +59 -59
  44. package/html/test-questions/how-does-it-work%3F.html +3 -3
  45. package/html/test-questions/step-1%3A%20getting-started.html +3 -3
  46. package/html/test-questions/what-is-the-purpose.html +3 -3
  47. package/html/vercel-cli-setup-guide.html +3 -3
  48. package/html/vercel-first-time-setup-guide.html +3 -3
  49. package/html-static/404.html +115 -0
  50. package/html-static/README.html +456 -0
  51. package/html-static/about-doc-builder.html +425 -0
  52. package/html-static/css/notion-style.css +2426 -0
  53. package/html-static/documentation-index.html +405 -0
  54. package/html-static/guides/authentication-default-change.html +304 -0
  55. package/html-static/guides/authentication-guide.html +443 -0
  56. package/html-static/guides/claude-workflow-guide.html +1008 -0
  57. package/html-static/guides/configuration-guide.html +406 -0
  58. package/html-static/guides/documentation-standards.html +628 -0
  59. package/html-static/guides/html-embedding-guide.html +395 -0
  60. package/html-static/guides/image-modal-guide.html +449 -0
  61. package/html-static/guides/phosphor-icons-guide.html +518 -0
  62. package/html-static/guides/private-directory-authentication-troubleshooting.html +489 -0
  63. package/html-static/guides/private-directory-authentication.html +475 -0
  64. package/html-static/guides/public-site-deployment.html +365 -0
  65. package/html-static/guides/search-engine-verification-guide.html +476 -0
  66. package/html-static/guides/seo-guide.html +595 -0
  67. package/html-static/guides/seo-optimization-guide.html +821 -0
  68. package/html-static/guides/supabase-authentication-complete-guide.html +800 -0
  69. package/html-static/guides/troubleshooting-guide.html +567 -0
  70. package/html-static/guides/windows-setup-guide.html +793 -0
  71. package/html-static/image-modal-test.html +252 -0
  72. package/html-static/index.html +456 -0
  73. package/html-static/js/main.js +1692 -0
  74. package/html-static/prompts/beautiful-documentation-design.html +718 -0
  75. package/html-static/prompts/markdown-document-standards.html +356 -0
  76. package/html-static/prompts/project-rename-strategy-sasha-publish.html +464 -0
  77. package/html-static/robots.txt +5 -0
  78. package/html-static/sitemap.xml +189 -0
  79. package/html-static/test-questions/how-does-it-work%3F.html +228 -0
  80. package/html-static/test-questions/step-1%3A%20getting-started.html +223 -0
  81. package/html-static/test-questions/what-is-the-purpose.html +227 -0
  82. package/html-static/vercel-cli-setup-guide.html +429 -0
  83. package/html-static/vercel-first-time-setup-guide.html +388 -0
  84. package/lib/config.js +9 -2
  85. package/lib/core-builder.js +148 -4
  86. package/package.json +1 -1
@@ -0,0 +1,718 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta name="description" content="Generated: 2025-07-27">
7
+ <title>🎨 Beautiful Documentation Design Guide</title>
8
+
9
+ <meta name="generator" content="@knowcode/doc-builder by Knowcode Ltd">
10
+ <meta name="author" content="Lindsay Smith">
11
+ <meta name="keywords" content="documentation, markdown, static site generator, vercel, notion-style, svg, use">
12
+ <meta name="robots" content="index, follow">
13
+ <link rel="canonical" href="https://doc-builder-delta.vercel.app/prompts/beautiful-documentation-design.html">
14
+
15
+ <!-- Open Graph / Facebook -->
16
+ <meta property="og:type" content="article">
17
+ <meta property="og:url" content="https://doc-builder-delta.vercel.app/prompts/beautiful-documentation-design.html">
18
+ <meta property="og:title" content="🎨 Beautiful Documentation Design Guide">
19
+ <meta property="og:description" content="Generated: 2025-07-27">
20
+ <meta property="og:image" content="https://doc-builder-delta.vercel.app/og-default.png">
21
+ <meta property="og:site_name" content="@knowcode/doc-builder">
22
+ <meta property="og:locale" content="en_US">
23
+
24
+ <!-- Twitter Card -->
25
+ <meta name="twitter:card" content="summary_large_image">
26
+ <meta name="twitter:site" content="@planbbackups">
27
+ <meta name="twitter:creator" content="@planbbackups">
28
+ <meta name="twitter:title" content="🎨 Beautiful Documentation Design Guide">
29
+ <meta name="twitter:description" content="Generated: 2025-07-27">
30
+ <meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
31
+
32
+ <!-- Custom Meta Tags -->
33
+ <meta name="google-site-verification" content="FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ">
34
+ <meta name="msvalidate.01" content="B2D8C4C12C530D47AA962B24CAA09630">
35
+
36
+ <!-- Fonts -->
37
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
38
+
39
+ <!-- Icons -->
40
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
41
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/regular/style.css">
42
+
43
+ <!-- Mermaid -->
44
+ <script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
45
+
46
+ <!-- Styles -->
47
+ <link rel="stylesheet" href="/css/notion-style.css">
48
+
49
+
50
+
51
+ <!-- Favicon -->
52
+ <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>✨</text></svg>">
53
+
54
+ <script type="application/ld+json">
55
+ {
56
+ "@context": "https://schema.org",
57
+ "@type": "TechArticle",
58
+ "headline": "🎨 Beautiful Documentation Design Guide",
59
+ "description": "Generated: 2025-07-27",
60
+ "author": {
61
+ "@type": "Person",
62
+ "name": "Lindsay Smith"
63
+ },
64
+ "publisher": {
65
+ "@type": "Organization",
66
+ "name": "Knowcode Ltd",
67
+ "url": "https://knowcode.tech"
68
+ },
69
+ "datePublished": "2025-08-07T11:50:26.101Z",
70
+ "dateModified": "2025-08-07T11:50:26.101Z",
71
+ "mainEntityOfPage": {
72
+ "@type": "WebPage",
73
+ "@id": "https://doc-builder-delta.vercel.app/prompts/beautiful-documentation-design.html"
74
+ },
75
+ "breadcrumb": {
76
+ "@type": "BreadcrumbList",
77
+ "itemListElement": [
78
+ {
79
+ "@type": "ListItem",
80
+ "position": 1,
81
+ "name": "@knowcode/doc-builder",
82
+ "item": "https://doc-builder-delta.vercel.app"
83
+ },
84
+ {
85
+ "@type": "ListItem",
86
+ "position": 2,
87
+ "name": "Prompts",
88
+ "item": "https://doc-builder-delta.vercel.app/prompts/"
89
+ },
90
+ {
91
+ "@type": "ListItem",
92
+ "position": 3,
93
+ "name": "Beautiful Documentation Design",
94
+ "item": "https://doc-builder-delta.vercel.app/prompts/beautiful-documentation-design.html"
95
+ }
96
+ ]
97
+ }
98
+ }
99
+ </script>
100
+ </head>
101
+ <body>
102
+ <!-- Header -->
103
+ <header class="header">
104
+ <div class="header-content">
105
+ <a href="/index.html" class="logo">@knowcode/doc-builder</a>
106
+
107
+ <div class="header-actions">
108
+ <div class="deployment-info">
109
+ <span class="deployment-date" title="Built with doc-builder v1.9.20">Last updated: Aug 7, 2025, 11:50 AM UTC</span>
110
+ </div>
111
+
112
+
113
+
114
+ <button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
115
+ <i class="fas fa-moon"></i>
116
+ </button>
117
+
118
+ <button id="menu-toggle" class="menu-toggle" aria-label="Toggle menu">
119
+ <i class="fas fa-bars"></i>
120
+ </button>
121
+ </div>
122
+ </div>
123
+ </header>
124
+
125
+
126
+
127
+ <!-- Breadcrumbs -->
128
+ <nav class="breadcrumbs" id="breadcrumbs">
129
+ <!-- Breadcrumbs will be generated by JavaScript -->
130
+ </nav>
131
+
132
+ <!-- Main Content -->
133
+ <div class="main-wrapper">
134
+ <!-- Sidebar -->
135
+ <aside class="sidebar">
136
+ <div class="sidebar-header">
137
+ <div class="filter-box">
138
+ <input type="text" placeholder="Search menu..." class="filter-input" id="nav-filter">
139
+ <i class="fas fa-search filter-icon"></i>
140
+ </div>
141
+ </div>
142
+ <nav class="navigation">
143
+
144
+ <div class="nav-section" data-level="0">
145
+ <a class="nav-title toggle-all-nav expanded" href="#" id="nav-toggle-all" title="Collapse/Expand All">
146
+ <i class="ph ph-caret-down" id="toggle-all-icon"></i> Documentation
147
+ </a>
148
+ <div class="nav-content">
149
+ <a href="/README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="ph ph-file-text"></i> Overview</a>
150
+ <a href="/about-doc-builder.html" class="nav-item" data-tooltip="About @knowcode/doc-builder."><i class="ph ph-check-circle" style="color: #059669;"></i> About Doc Builder</a>
151
+ <a href="/documentation-index.html" class="nav-item" data-tooltip="This directory contains additional documentation for the @knowcode/doc-builder project, organized by topic and purpose."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Documentation Index</a>
152
+ <a href="/image-modal-test.html" class="nav-item" data-tooltip="This document tests the new image modal functionality in doc-builder."><i class="ph ph-file-text"></i> Image Modal Test</a>
153
+ <a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="ph ph-check-circle" style="color: #059669;"></i> Vercel Cli Setup Guide</a>
154
+ <a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="ph ph-check-circle" style="color: #059669;"></i> Vercel First Time Setup Guide</a></div></div>
155
+ <div class="nav-section" data-level="1">
156
+ <a class="nav-title collapsible" href="#" data-target="nav-guides-1" >
157
+ <i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-book"></i> Guides
158
+ </a>
159
+ <div class="nav-content collapsed" id="nav-guides-1">
160
+ <a href="/guides/authentication-default-change.html" class="nav-item" data-tooltip="Starting from version 1.7.4, @knowcode/doc-builder now defaults to no authentication for all documentation sites."><i class="ph ph-file-text"></i> Authentication Default Change</a>
161
+ <a href="/guides/authentication-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder supports enterprise-grade authentication through Supabase - a secure, scalable authentication platform."><i class="ph ph-check-circle" style="color: #059669;"></i> Authentication Guide</a>
162
+ <a href="/guides/claude-workflow-guide.html" class="nav-item" data-tooltip="This guide demonstrates an efficient workflow for using Claude Code with a refined CLAUDE.md file to create high-quality documentation and deploy it..."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Claude Workflow Guide</a>
163
+ <a href="/guides/configuration-guide.html" class="nav-item" data-tooltip="This guide explains how @knowcode/doc-builder handles configuration files and settings."><i class="ph ph-check-circle" style="color: #059669;"></i> Configuration Guide</a>
164
+ <a href="/guides/documentation-standards.html" class="nav-item" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Documentation Standards</a>
165
+ <a href="/guides/html-embedding-guide.html" class="nav-item" data-tooltip="Starting from version 1.9.2, doc-builder treats HTML files ( and ) as attachments that are automatically copied to your output directory during the..."><i class="ph ph-check-circle" style="color: #059669;"></i> Html Embedding Guide</a>
166
+ <a href="/guides/image-modal-guide.html" class="nav-item" data-tooltip="When users click on any image in your generated documentation, it opens in a professional modal overlay with: Full-screen viewing experience Smooth..."><i class="ph ph-check-circle" style="color: #059669;"></i> Image Modal Guide</a>
167
+ <a href="/guides/phosphor-icons-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder automatically converts Unicode emojis in your markdown files to beautiful Phosphor icons in the generated HTML."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Phosphor Icons Guide</a>
168
+ <a href="/guides/private-directory-authentication.html" class="nav-item" data-tooltip="The @knowcode/doc-builder provides flexible authentication options to protect your documentation."><i class="ph ph-check-circle" style="color: #059669;"></i> Private Directory Authentication</a>
169
+ <a href="/guides/private-directory-authentication-troubleshooting.html" class="nav-item" data-tooltip="Private Directory Authentication Troubleshooting."><i class="ph ph-check-circle" style="color: #059669;"></i> Private Directory Authentication Troubleshooting</a>
170
+ <a href="/guides/public-site-deployment.html" class="nav-item" data-tooltip="The @knowcode/doc-builder now supports deploying public documentation sites without authentication."><i class="ph ph-check-circle" style="color: #059669;"></i> Public Site Deployment</a>
171
+ <a href="/guides/search-engine-verification-guide.html" class="nav-item" data-tooltip="Search engine verification provides access to powerful webmaster tools:."><i class="ph ph-check-circle" style="color: #059669;"></i> Search Engine Verification Guide</a>
172
+ <a href="/guides/seo-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="ph ph-check-circle" style="color: #059669;"></i> Seo Guide</a>
173
+ <a href="/guides/seo-optimization-guide.html" class="nav-item" data-tooltip="Comprehensive guide to optimizing documentation for search engines. Learn SEO best practices, use built-in features, and improve your rankings."><i class="ph ph-check-circle" style="color: #059669;"></i> SEO Optimization Guide for @knowcode/doc-builder</a>
174
+ <a href="/guides/supabase-authentication-complete-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes built-in Supabase authentication that provides enterprise-grade security with zero configuration."><i class="ph ph-check-circle" style="color: #059669;"></i> Supabase Authentication Complete Guide</a>
175
+ <a href="/guides/troubleshooting-guide.html" class="nav-item" data-tooltip="This guide helps you resolve common issues when using @knowcode/doc-builder."><i class="ph ph-check-circle" style="color: #059669;"></i> Troubleshooting Guide</a>
176
+ <a href="/guides/windows-setup-guide.html" class="nav-item" data-tooltip="This guide helps Windows users set up the complete AI-powered documentation workflow using Claude Code, @knowcode/doc-builder, and Vercel."><i class="ph ph-check-circle" style="color: #059669;"></i> Windows Setup Guide</a></div></div>
177
+ <div class="nav-section" data-level="1">
178
+ <a class="nav-title collapsible expanded" href="#" data-target="nav-prompts-1" >
179
+ <i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-chat-circle-dots"></i> Prompts
180
+ </a>
181
+ <div class="nav-content" id="nav-prompts-1">
182
+ <a href="/prompts/beautiful-documentation-design.html" class="nav-item active" data-tooltip="🎨 Beautiful Documentation Design Guide."><i class="ph ph-check-circle" style="color: #059669;"></i> Beautiful Documentation Design</a>
183
+ <a href="/prompts/markdown-document-standards.html" class="nav-item" data-tooltip="Detailed introduction to the topic..."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Markdown Document Standards</a>
184
+ <a href="/prompts/project-rename-strategy-sasha-publish.html" class="nav-item" data-tooltip="This document outlines the comprehensive strategy for renaming the @knowcode/doc-builder project to &quot;sasha-publish&quot;, including all package references,..."><i class="ph ph-x-circle" style="color: #dc2626;"></i> Project Rename Strategy Sasha Publish</a></div></div>
185
+ <div class="nav-section" data-level="1">
186
+ <a class="nav-title collapsible" href="#" data-target="nav-test-questions-1" >
187
+ <i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-folder"></i> Test Questions
188
+ </a>
189
+ <div class="nav-content collapsed" id="nav-test-questions-1">
190
+ <a href="/test-questions/how-does-it-work%3F.html" class="nav-item" data-tooltip="This is a test file to verify that question marks work properly in filenames."><i class="ph ph-file-text"></i> How Does It Work?</a>
191
+ <a href="/test-questions/step-1%3A%20getting-started.html" class="nav-item" data-tooltip="Step 1: Getting Started."><i class="ph ph-file-text"></i> Step 1: Getting Started</a>
192
+ <a href="/test-questions/what-is-the-purpose.html" class="nav-item" data-tooltip="Understanding the purpose of our documentation system"><i class="ph ph-file-text"></i> What Is The Purpose?</a></div></div>
193
+ </nav>
194
+ <div class="resize-handle"></div>
195
+ </aside>
196
+
197
+ <!-- Content Area -->
198
+ <main class="content">
199
+ <div class="content-inner">
200
+ <h1><i style="font-size: 1.2em" class="ph ph-palette" aria-label="design"></i> Beautiful Documentation Design Guide</h1>
201
+ <p><strong>Generated</strong>: 2025-07-27<br><strong>Purpose</strong>: Transform technical documentation into visually stunning, engaging content<br><strong>Application</strong>: All markdown files in the NudgeCampaign documentation suite</p>
202
+ <hr>
203
+ <h2><i style="font-size: 1.2em" class="ph ph-clipboard-text" aria-label="clipboard"></i> Design Transformation Prompt</h2>
204
+ <p>Use this prompt to transform any technical documentation into a beautifully designed, professional document similar to the README.md landing page:</p>
205
+ <h3><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> Core Transformation Instructions</h3>
206
+ <pre><code>Transform this documentation into a beautifully designed markdown page following these principles:
207
+
208
+ 1. **Visual Hierarchy**
209
+ - Add relevant emoji icons for each major section (🎯, 📊, 🚀, 💡, etc.)
210
+ - Use clear section dividers with --- between major topics
211
+ - Create visual breaks with spacing and formatting
212
+ - Implement progressive disclosure (overview → details)
213
+
214
+ 2. **Engaging Headers**
215
+ - H1: Bold title with emoji + descriptive subtitle
216
+ - H2: Section headers with emojis and clear purpose statements
217
+ - H3: Subsection headers with contextual icons
218
+ - Use **bold** for key concepts and emphasis
219
+
220
+ 3. **Visual Elements**
221
+ - Add Mermaid diagrams to explain processes/workflows
222
+ - Use tables for comparing options or listing features
223
+ - Include code blocks with syntax highlighting where relevant
224
+ - Create visual lists with emojis as bullets
225
+
226
+ 4. **Content Structure**
227
+ - Start with metadata block (Generated date, Status, Verification)
228
+ - Executive summary in a highlighted box or blockquote
229
+ - Key takeaways or highlights upfront
230
+ - Progressive detail levels for different audiences
231
+ - End with next steps or related documents
232
+
233
+ 5. **Professional Formatting**
234
+ - Use color-coded Mermaid diagram styles
235
+ - Implement consistent spacing patterns
236
+ - Add visual indicators for important information
237
+ - Create scannable content with clear sections
238
+
239
+ 6. **Image Sizing Guidelines**
240
+ - Screenshots: Use larger sizes (800-1200px width) for readability
241
+ - Logos/Icons: Keep smaller (200-400px width) for visual balance
242
+ - Use HTML img tags when specific sizing is needed
243
+ - Always include descriptive alt text for accessibility
244
+ </code></pre>
245
+ <hr>
246
+ <h2><i style="font-size: 1.2em" class="ph ph-device-mobile" aria-label="mobile"></i> Interactive Documentation Standards</h2>
247
+ <h3><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> When to Include Interactive Examples</h3>
248
+ <p><strong>MANDATORY for Design &amp; UX Documentation:</strong></p>
249
+ <ul>
250
+ <li><strong>UI/UX Pattern Libraries</strong> - Button interactions, form behaviors, modal patterns</li>
251
+ <li><strong>Component Documentation</strong> - Design system elements with live examples</li>
252
+ <li><strong>User Experience Flows</strong> - Onboarding, workflow demonstrations</li>
253
+ <li><strong>Financial/Business Tools</strong> - Calculators, ROI projections, cost analysis</li>
254
+ <li><strong>Animation &amp; Micro-interactions</strong> - Loading states, transitions, feedback loops</li>
255
+ </ul>
256
+ <p><strong>OPTIONAL for Technical Documentation:</strong></p>
257
+ <ul>
258
+ <li>Architecture diagrams (unless demonstrating data flow)</li>
259
+ <li>API documentation (unless showing request/response examples)</li>
260
+ <li>Static reference material without user interaction</li>
261
+ </ul>
262
+ <h3><i style="font-size: 1.2em" class="ph ph-crane" aria-label="construction"></i> Implementation Pattern</h3>
263
+ <p><strong>File Structure for Interactive Documentation:</strong></p>
264
+ <pre><code>docs/[section-name]/
265
+ ├── main-document.md # Primary content with embedded examples
266
+ ├── patterns/ # Interactive examples directory
267
+ │ ├── component-interactions.html
268
+ │ ├── form-validations.html
269
+ │ └── micro-animations.html
270
+ └── _images/ # Static supporting assets
271
+ </code></pre>
272
+ <p><strong>Embedding Interactive Examples:</strong></p>
273
+ <pre><code class="language-markdown">### Component Interactions
274
+
275
+ &gt; **✨ Try It Live**: Experience these button states and interactions below.
276
+
277
+ &lt;div style=&quot;background: #f0f9ff; border: 1px solid #0ea5e9; border-radius: 8px; padding: 4px; margin: 20px 0;&quot;&gt;
278
+ &lt;iframe
279
+ id=&quot;button-interactions&quot;
280
+ src=&quot;./patterns/button-interactions.html&quot;
281
+ width=&quot;100%&quot;
282
+ height=&quot;800&quot;
283
+ frameborder=&quot;0&quot;
284
+ style=&quot;border: none; border-radius: 4px; background: white; transition: height 0.3s ease; min-height: 600px;&quot;&gt;
285
+ &lt;/iframe&gt;
286
+ &lt;/div&gt;
287
+ </code></pre>
288
+ <h3><i style="font-size: 1.2em" class="ph ph-palette" aria-label="design"></i> Visual Design Categories</h3>
289
+ <p><strong>Color-Coded Interactive Sections:</strong></p>
290
+ <ul>
291
+ <li><strong>UI Components</strong>: Blue border (<code>#0ea5e9</code>) + light blue background (<code>#f0f9ff</code>)</li>
292
+ <li><strong>Form Patterns</strong>: Green border (<code>#22c55e</code>) + light green background (<code>#f0fdf4</code>)</li>
293
+ <li><strong>Loading States</strong>: Purple border (<code>#a855f7</code>) + light purple background (<code>#faf5ff</code>)</li>
294
+ <li><strong>Modals/Overlays</strong>: Amber border (<code>#f59e0b</code>) + light amber background (<code>#fffbeb</code>)</li>
295
+ <li><strong>Notifications</strong>: Red border (<code>#ef4444</code>) + light red background (<code>#fef2f2</code>)</li>
296
+ <li><strong>Micro-interactions</strong>: Cyan border (<code>#06b6d4</code>) + light cyan background (<code>#ecfeff</code>)</li>
297
+ </ul>
298
+ <h3><i style="font-size: 1.2em" class="ph ph-clipboard-text" aria-label="clipboard"></i> Interactive Example Requirements</h3>
299
+ <p><strong>Technical Standards:</strong></p>
300
+ <ul>
301
+ <li><strong>Self-contained HTML files</strong> with embedded CSS and JavaScript</li>
302
+ <li><strong>Auto-resize functionality</strong> using postMessage API</li>
303
+ <li><strong>Mobile-responsive design</strong> with proper touch targets (44px minimum)</li>
304
+ <li><strong>Accessibility features</strong> - ARIA labels, keyboard navigation, screen readers</li>
305
+ <li><strong>Next.js compatibility</strong> - vanilla JavaScript patterns that translate to React</li>
306
+ </ul>
307
+ <p><strong>Content Standards:</strong></p>
308
+ <ul>
309
+ <li><strong>Action-oriented descriptions</strong>: &quot;Try it live&quot;, &quot;Experience the interaction&quot;, &quot;Test the behavior&quot;</li>
310
+ <li><strong>Context explanations</strong>: What users can do with each interactive example</li>
311
+ <li><strong>Implementation guidance</strong>: How to integrate patterns into Next.js applications</li>
312
+ <li><strong>Performance notes</strong>: Debouncing, optimization strategies, best practices</li>
313
+ </ul>
314
+ <h3><i style="font-size: 1.2em" class="ph ph-wrench" aria-label="settings"></i> Auto-Resize Implementation</h3>
315
+ <p><strong>Required Script at End of Documents with Interactive Examples:</strong></p>
316
+ <pre><code class="language-html">&lt;script&gt;
317
+ // Consolidated iframe auto-resize handler
318
+ window.addEventListener(&#39;message&#39;, function(e) {
319
+ if (e.data &amp;&amp; e.data.type === &#39;resize-iframe&#39; &amp;&amp; e.data.height) {
320
+ const patternIds = [
321
+ &#39;button-interactions&#39;,
322
+ &#39;form-patterns&#39;,
323
+ &#39;loading-states&#39;,
324
+ &#39;modal-overlays&#39;,
325
+ &#39;notification-patterns&#39;,
326
+ &#39;micro-interactions&#39;
327
+ ];
328
+
329
+ const targetId = e.data.id;
330
+ if (targetId &amp;&amp; patternIds.includes(targetId)) {
331
+ const iframe = document.getElementById(targetId);
332
+ if (iframe) {
333
+ const newHeight = Math.max(600, e.data.height);
334
+ iframe.style.height = newHeight + &#39;px&#39;;
335
+ }
336
+ }
337
+ }
338
+ });
339
+ &lt;/script&gt;
340
+ </code></pre>
341
+ <h3><i style="font-size: 1.2em" class="ph ph-chart-bar" aria-label="chart"></i> Success Metrics</h3>
342
+ <p><strong>User Engagement Indicators:</strong></p>
343
+ <ul>
344
+ <li>Time spent on interactive documentation vs. static pages</li>
345
+ <li>Click-through rates on interactive elements</li>
346
+ <li>Developer adoption of documented patterns in actual implementations</li>
347
+ </ul>
348
+ <p><strong>Quality Measures:</strong></p>
349
+ <ul>
350
+ <li>Consistency of UI patterns across product development</li>
351
+ <li>Reduction in design system clarification requests</li>
352
+ <li>Speed of component development using interactive examples</li>
353
+ </ul>
354
+ <hr>
355
+ <h2><i style="font-size: 1.2em" class="ph ph-image" aria-label="picture"></i> Image Integration Guidelines</h2>
356
+ <h3><i style="font-size: 1.2em" class="ph ph-ruler" aria-label="measure"></i> Image Sizing Standards</h3>
357
+ <h4>Screenshots (Full Interface Views)</h4>
358
+ <pre><code class="language-markdown">&lt;!-- Standard markdown with width control --&gt;
359
+ ![ActiveCampaign dashboard showing email automation workflow](images/activecampaign-dashboard.png)
360
+
361
+ &lt;!-- HTML for precise sizing --&gt;
362
+ &lt;img src=&quot;images/email-builder-interface.png&quot; alt=&quot;Drag-and-drop email builder interface with template gallery&quot; width=&quot;1200&quot;&gt;
363
+ </code></pre>
364
+ <p><strong>Screenshot Guidelines:</strong></p>
365
+ <ul>
366
+ <li><strong>Width</strong>: 800-1200px for detailed interface views</li>
367
+ <li><strong>Width</strong>: 600-800px for feature highlights</li>
368
+ <li><strong>Width</strong>: 400-600px for mobile/responsive views</li>
369
+ <li>Always capture at 2x resolution for retina displays</li>
370
+ <li>Use PNG format for UI screenshots</li>
371
+ </ul>
372
+ <h4>Logos and Icons</h4>
373
+ <pre><code class="language-markdown">&lt;!-- Inline logo with controlled size --&gt;
374
+ &lt;img src=&quot;images/logos/nudgecampaign-logo.png&quot; alt=&quot;NudgeCampaign logo&quot; width=&quot;200&quot;&gt;
375
+
376
+ &lt;!-- Logo comparison table --&gt;
377
+ | Platform | Logo | Pricing |
378
+ |----------|------|---------|
379
+ | &lt;img src=&quot;logos/mailchimp.png&quot; alt=&quot;Mailchimp&quot; width=&quot;150&quot;&gt; | Mailchimp | $150/mo |
380
+ | &lt;img src=&quot;logos/activecampaign.png&quot; alt=&quot;ActiveCampaign&quot; width=&quot;150&quot;&gt; | ActiveCampaign | $145/mo |
381
+ | &lt;img src=&quot;logos/nudgecampaign.png&quot; alt=&quot;NudgeCampaign&quot; width=&quot;150&quot;&gt; | **NudgeCampaign** | **$49/mo** |
382
+ </code></pre>
383
+ <p><strong>Logo/Icon Guidelines:</strong></p>
384
+ <ul>
385
+ <li><strong>Width</strong>: 100-200px for inline logos</li>
386
+ <li><strong>Width</strong>: 50-100px for small icons</li>
387
+ <li><strong>Width</strong>: 200-400px for hero/featured logos</li>
388
+ <li>Use SVG when available for scalability</li>
389
+ <li>PNG with transparency for raster logos</li>
390
+ </ul>
391
+ <h4>Feature Comparisons</h4>
392
+ <pre><code class="language-markdown">&lt;!-- Side-by-side screenshots --&gt;
393
+ &lt;div style=&quot;display: flex; gap: 20px;&quot;&gt;
394
+ &lt;div&gt;
395
+ &lt;img src=&quot;images/competitor-complexity.png&quot; alt=&quot;Competitor&#39;s complex interface with 50+ menu items&quot; width=&quot;500&quot;&gt;
396
+ &lt;p align=&quot;center&quot;&gt;&lt;em&gt;❌ Overwhelming Complexity&lt;/em&gt;&lt;/p&gt;
397
+ &lt;/div&gt;
398
+ &lt;div&gt;
399
+ &lt;img src=&quot;images/nudge-simplicity.png&quot; alt=&quot;NudgeCampaign&#39;s clean interface with 5 core features&quot; width=&quot;500&quot;&gt;
400
+ &lt;p align=&quot;center&quot;&gt;&lt;em&gt;✅ Elegant Simplicity&lt;/em&gt;&lt;/p&gt;
401
+ &lt;/div&gt;
402
+ &lt;/div&gt;
403
+ </code></pre>
404
+ <h3><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> Image Placement Best Practices</h3>
405
+ <ol>
406
+ <li><strong>Hero Images</strong>: Place after executive summary for visual impact</li>
407
+ <li><strong>Process Screenshots</strong>: Embed within step-by-step instructions</li>
408
+ <li><strong>Comparison Images</strong>: Use in feature comparison sections</li>
409
+ <li><strong>Logo Arrays</strong>: Display in competitor analysis or integration sections</li>
410
+ <li><strong>UI Elements</strong>: Show inline with feature descriptions</li>
411
+ </ol>
412
+ <h3><i style="font-size: 1.2em" class="ph ph-note-pencil" aria-label="edit"></i> Alt Text Standards</h3>
413
+ <pre><code class="language-markdown">❌ Poor: ![Screenshot](image.png)
414
+ ❌ Poor: ![Image of dashboard](dashboard.png)
415
+
416
+ ✅ Good: ![NudgeCampaign email editor showing drag-and-drop template blocks](editor.png)
417
+ ✅ Good: ![Comparison chart showing 70% cost savings versus ActiveCampaign](savings-chart.png)
418
+ </code></pre>
419
+ <p><strong>Alt Text Must Include:</strong></p>
420
+ <ul>
421
+ <li>What the image shows (subject)</li>
422
+ <li>Key information displayed (data/interface)</li>
423
+ <li>Context or purpose (why it matters)</li>
424
+ </ul>
425
+ <h3><i style="font-size: 1.2em" class="ph ph-device-mobile" aria-label="mobile"></i> Responsive Image Handling</h3>
426
+ <pre><code class="language-markdown">&lt;!-- Responsive image with max-width --&gt;
427
+ &lt;img src=&quot;images/dashboard.png&quot; alt=&quot;Dashboard overview&quot; style=&quot;max-width: 100%; height: auto;&quot;&gt;
428
+
429
+ &lt;!-- Picture element for different screen sizes --&gt;
430
+ &lt;picture&gt;
431
+ &lt;source media=&quot;(max-width: 768px)&quot; srcset=&quot;images/mobile-view.png&quot;&gt;
432
+ &lt;source media=&quot;(max-width: 1200px)&quot; srcset=&quot;images/tablet-view.png&quot;&gt;
433
+ &lt;img src=&quot;images/desktop-view.png&quot; alt=&quot;Responsive email builder across devices&quot; style=&quot;max-width: 100%;&quot;&gt;
434
+ &lt;/picture&gt;
435
+ </code></pre>
436
+ <p><strong>Responsive Guidelines:</strong></p>
437
+ <ul>
438
+ <li>Always use <code>max-width: 100%</code> for responsive scaling</li>
439
+ <li>Provide mobile-optimized versions when showing UI</li>
440
+ <li>Consider viewport width in documentation</li>
441
+ <li>Test documentation on mobile devices</li>
442
+ </ul>
443
+ <hr>
444
+ <h2><i style="font-size: 1.2em" class="ph ph-palette" aria-label="design"></i> Design Elements Toolkit</h2>
445
+ <h3><i style="font-size: 1.2em" class="ph ph-chart-bar" aria-label="chart"></i> Mermaid Diagram Templates</h3>
446
+ <h4>Process Flow</h4>
447
+ <div class="mermaid-wrapper">
448
+ <div class="mermaid">graph LR
449
+ A[Research] --> B[Analysis]
450
+ B --> C[Design]
451
+ C --> D[Implementation]
452
+
453
+ style A fill:#e1f5fe
454
+ style B fill:#f3e5f5
455
+ style C fill:#e8f5e8
456
+ style D fill:#fff3e0</div>
457
+ </div>
458
+ <h4>Decision Tree</h4>
459
+ <div class="mermaid-wrapper">
460
+ <div class="mermaid">graph TD
461
+ A{Decision Point} -->|Option 1| B[Outcome A]
462
+ A -->|Option 2| C[Outcome B]
463
+ A -->|Option 3| D[Outcome C]
464
+
465
+ style A fill:#fff3e0
466
+ style B fill:#e8f5e8
467
+ style C fill:#f3e5f5
468
+ style D fill:#e1f5fe</div>
469
+ </div>
470
+ <h4>Timeline</h4>
471
+ <div class="mermaid-wrapper">
472
+ <div class="mermaid">gantt
473
+ title Project Timeline
474
+ dateFormat YYYY-MM-DD
475
+ section Phase 1
476
+ Research :2025-01-01, 14d
477
+ Analysis :2025-01-15, 14d
478
+ section Phase 2
479
+ Development :2025-02-01, 30d
480
+ Testing :2025-03-01, 14d</div>
481
+ </div>
482
+ <h3><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> Emoji Usage Guide</h3>
483
+ <h4>Section Headers</h4>
484
+ <ul>
485
+ <li><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> Goals/Objectives</li>
486
+ <li><i style="font-size: 1.2em" class="ph ph-chart-bar" aria-label="chart"></i> Data/Analysis </li>
487
+ <li><i style="font-size: 1.2em" class="ph ph-rocket-launch" aria-label="launch"></i> Launch/Implementation</li>
488
+ <li><i style="font-size: 1.2em" class="ph ph-lightbulb" aria-label="idea"></i> Ideas/Innovation</li>
489
+ <li><i style="font-size: 1.2em" class="ph ph-gear-six" aria-label="tools"></i> Technical/Tools</li>
490
+ <li><i style="font-size: 1.2em" class="ph ph-chart-line-up" aria-label="growth"></i> Growth/Metrics</li>
491
+ <li><i style="font-size: 1.2em" class="ph ph-magnifying-glass" aria-label="search"></i> Research/Discovery</li>
492
+ <li><i style="font-size: 1.2em" class="ph ph-lightning" aria-label="fast"></i> Performance/Speed</li>
493
+ <li><i style="font-size: 1.2em" class="ph ph-palette" aria-label="design"></i> Design/Creative</li>
494
+ <li><i style="font-size: 1.2em" class="ph ph-money" aria-label="money"></i> Business/Finance</li>
495
+ </ul>
496
+ <h4>Status Indicators</h4>
497
+ <ul>
498
+ <li><i style="font-size: 1.2em" class="ph ph-check-circle" aria-label="checked"></i> Complete/Verified</li>
499
+ <li><i style="font-size: 1.2em" class="ph ph-arrows-clockwise" aria-label="refresh"></i> In Progress</li>
500
+ <li><i style="font-size: 1.2em" class="ph ph-question" aria-label="question"></i> Pending/Unknown</li>
501
+ <li><i style="font-size: 1.2em" class="ph ph-warning-circle" aria-label="warning"></i> Warning/Caution</li>
502
+ <li><i style="font-size: 1.2em" class="ph ph-siren" aria-label="alert"></i> Critical/Urgent</li>
503
+ <li><i style="font-size: 1.2em" class="ph ph-push-pin" aria-label="pinned"></i> Important Note</li>
504
+ </ul>
505
+ <h3><i style="font-size: 1.2em" class="ph ph-ruler" aria-label="measure"></i> Table Templates</h3>
506
+ <h4>Feature Comparison</h4>
507
+ <pre><code class="language-markdown">| Feature | Basic | Pro | Enterprise |
508
+ |---------|-------|-----|------------|
509
+ | ✅ Email Templates | 10 | 50 | Unlimited |
510
+ | ✅ Automation | Basic | Advanced | Custom |
511
+ | ✅ Support | Email | Priority | Dedicated |
512
+ | 💰 Price | $29 | $79 | $299 |
513
+ </code></pre>
514
+ <h4>Status Tracking</h4>
515
+ <pre><code class="language-markdown">| Task | Owner | Status | Due Date |
516
+ |------|-------|--------|----------|
517
+ | Research | Team A | ✅ Complete | 2025-01-15 |
518
+ | Design | Team B | 🔄 In Progress | 2025-02-01 |
519
+ | Development | Team C | ❓ Pending | 2025-03-01 |
520
+ </code></pre>
521
+ <hr>
522
+ <h2><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> Transformation Examples</h2>
523
+ <h3>Before: Plain Technical Content</h3>
524
+ <pre><code>Problem Discovery Plan
525
+
526
+ This document outlines the methodology for discovering and validating market problems through online research.
527
+
528
+ Objectives:
529
+ - Identify pain points
530
+ - Validate market demand
531
+ - Analyze competition
532
+ </code></pre>
533
+ <h3>After: Beautiful Design</h3>
534
+ <pre><code># 🔍 Problem Discovery Plan
535
+
536
+ **Generated**: 2025-01-26 UTC
537
+ **Status**: Research Framework
538
+ **Verified**: ✅ Market-validated methodology
539
+
540
+ ---
541
+
542
+ ## 🎯 Executive Summary
543
+
544
+ &gt; **Transform market assumptions into validated opportunities** through systematic online research that uncovers real user pain points and quantifies market demand.
545
+
546
+ ---
547
+
548
+ ## 📊 Research Objectives
549
+
550
+ ### 🎯 Primary Goals
551
+ Our discovery methodology focuses on three critical outcomes:
552
+
553
+ | Objective | Method | Success Criteria |
554
+ |-----------|--------|------------------|
555
+ | **🔍 Pain Point Identification** | Social listening &amp; forum analysis | 100+ validated complaints |
556
+ | **📈 Market Demand Validation** | Search trend &amp; competitor analysis | $100M+ TAM confirmed |
557
+ | **⚔️ Competitive Analysis** | Feature gap &amp; pricing research | 3+ major gaps identified |
558
+ </code></pre>
559
+ <hr>
560
+ <h2><i style="font-size: 1.2em" class="ph ph-clipboard-text" aria-label="clipboard"></i> Implementation Checklist</h2>
561
+ <p>When transforming documentation, ensure you:</p>
562
+ <h3><i style="font-size: 1.2em" class="ph ph-palette" aria-label="design"></i> Visual Design</h3>
563
+ <ul>
564
+ <li><input disabled="" type="checkbox"> Add emoji icons to all major headers</li>
565
+ <li><input disabled="" type="checkbox"> Include at least one Mermaid diagram</li>
566
+ <li><input disabled="" type="checkbox"> Use tables for data presentation</li>
567
+ <li><input disabled="" type="checkbox"> Add visual section breaks with ---</li>
568
+ </ul>
569
+ <h3><i style="font-size: 1.2em" class="ph ph-image" aria-label="picture"></i> Image Integration</h3>
570
+ <ul>
571
+ <li><input disabled="" type="checkbox"> Size screenshots appropriately (800-1200px width)</li>
572
+ <li><input disabled="" type="checkbox"> Keep logos/icons smaller (100-400px width)</li>
573
+ <li><input disabled="" type="checkbox"> Write descriptive alt text for all images</li>
574
+ <li><input disabled="" type="checkbox"> Use HTML img tags when precise sizing needed</li>
575
+ <li><input disabled="" type="checkbox"> Place images strategically for visual flow</li>
576
+ </ul>
577
+ <h3><i style="font-size: 1.2em" class="ph ph-note-pencil" aria-label="edit"></i> Content Structure</h3>
578
+ <ul>
579
+ <li><input disabled="" type="checkbox"> Include metadata header block</li>
580
+ <li><input disabled="" type="checkbox"> Write compelling executive summary</li>
581
+ <li><input disabled="" type="checkbox"> Use progressive disclosure</li>
582
+ <li><input disabled="" type="checkbox"> Add &quot;Quick Start&quot; or &quot;Key Takeaways&quot;</li>
583
+ </ul>
584
+ <h3><i style="font-size: 1.2em" class="ph ph-link" aria-label="link"></i> Navigation</h3>
585
+ <ul>
586
+ <li><input disabled="" type="checkbox"> Link to related documents</li>
587
+ <li><input disabled="" type="checkbox"> Create internal anchors for long documents</li>
588
+ <li><input disabled="" type="checkbox"> Add &quot;Next Steps&quot; section</li>
589
+ <li><input disabled="" type="checkbox"> Include table of contents for 10+ sections</li>
590
+ </ul>
591
+ <h3><i style="font-size: 1.2em" class="ph ph-diamond" aria-label="diamond"></i> Polish</h3>
592
+ <ul>
593
+ <li><input disabled="" type="checkbox"> Use consistent emoji patterns</li>
594
+ <li><input disabled="" type="checkbox"> Apply color-coding to diagrams</li>
595
+ <li><input disabled="" type="checkbox"> Ensure mobile-friendly formatting</li>
596
+ <li><input disabled="" type="checkbox"> Proofread for clarity and flow</li>
597
+ <li><input disabled="" type="checkbox"> Verify all image paths work correctly</li>
598
+ </ul>
599
+ <hr>
600
+ <h2><i style="font-size: 1.2em" class="ph ph-rocket-launch" aria-label="launch"></i> Quick Application Guide</h2>
601
+ <h3>For Research Documents</h3>
602
+ <ol>
603
+ <li>Start with <i style="font-size: 1.2em" class="ph ph-magnifying-glass" aria-label="search"></i> emoji and research-focused title</li>
604
+ <li>Add executive summary in blockquote</li>
605
+ <li>Use process flow diagrams for methodology</li>
606
+ <li>Include data tables for findings</li>
607
+ </ol>
608
+ <h3>For Technical Documents</h3>
609
+ <ol>
610
+ <li>Begin with <i style="font-size: 1.2em" class="ph ph-gear" aria-label="settings"></i> or <i style="font-size: 1.2em" class="ph ph-gear-six" aria-label="tools"></i> emoji</li>
611
+ <li>Add architecture diagrams</li>
612
+ <li>Use code blocks with syntax highlighting</li>
613
+ <li>Create comparison tables for options</li>
614
+ </ol>
615
+ <h3>For Business Documents</h3>
616
+ <ol>
617
+ <li>Lead with <i style="font-size: 1.2em" class="ph ph-money" aria-label="money"></i> or <i style="font-size: 1.2em" class="ph ph-chart-line-up" aria-label="growth"></i> emoji</li>
618
+ <li>Include financial charts/graphs</li>
619
+ <li>Use timeline diagrams for roadmaps</li>
620
+ <li>Add KPI tables with visual indicators</li>
621
+ </ol>
622
+ <hr>
623
+ <h2><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> Result</h2>
624
+ <p>Following this guide transforms dry technical documentation into engaging, scannable, and professional content that:</p>
625
+ <ul>
626
+ <li><strong>Increases readability</strong> by 300%</li>
627
+ <li><strong>Improves navigation</strong> with visual cues</li>
628
+ <li><strong>Enhances retention</strong> through visual elements</li>
629
+ <li><strong>Maintains professionalism</strong> while being approachable</li>
630
+ </ul>
631
+ <hr>
632
+ <h2><i style="font-size: 1.2em" class="ph ph-image" aria-label="picture"></i> SVG Implementation Best Practices</h2>
633
+ <h3><i style="font-size: 1.2em" class="ph ph-warning-circle" aria-label="warning"></i> Critical SVG Formatting Rules</h3>
634
+ <p><strong>LESSON LEARNED</strong>: SVG elements in markdown require specific formatting to prevent HTML generation issues:</p>
635
+ <pre><code class="language-markdown">❌ WRONG - Causes &lt;p&gt; tags inside SVG text elements:
636
+ &lt;svg width=&quot;800&quot; height=&quot;120&quot;&gt;
637
+ &lt;!-- Background --&gt;
638
+ &lt;rect width=&quot;800&quot; height=&quot;120&quot; fill=&quot;#f9fafb&quot;/&gt;
639
+
640
+ &lt;!-- Text elements --&gt;
641
+ &lt;text x=&quot;70&quot; y=&quot;30&quot;&gt;25&lt;/text&gt;
642
+ &lt;text x=&quot;70&quot; y=&quot;50&quot;&gt;Sequential Phases&lt;/text&gt;
643
+ &lt;/svg&gt;
644
+
645
+ ✅ CORRECT - Clean, consolidated formatting:
646
+ &lt;svg width=&quot;800&quot; height=&quot;120&quot; viewBox=&quot;0 0 800 120&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;
647
+ &lt;rect width=&quot;800&quot; height=&quot;120&quot; fill=&quot;#f9fafb&quot; rx=&quot;8&quot;/&gt;
648
+ &lt;text x=&quot;70&quot; y=&quot;30&quot; font-family=&quot;Arial, sans-serif&quot; font-size=&quot;24&quot; text-anchor=&quot;middle&quot; fill=&quot;#1976d2&quot;&gt;25&lt;/text&gt;
649
+ &lt;text x=&quot;70&quot; y=&quot;50&quot; font-family=&quot;Arial, sans-serif&quot; font-size=&quot;12&quot; text-anchor=&quot;middle&quot; fill=&quot;#333&quot;&gt;Sequential Phases&lt;/text&gt;
650
+ &lt;/svg&gt;
651
+ </code></pre>
652
+ <h3><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> SVG Formatting Requirements</h3>
653
+ <ol>
654
+ <li><strong>Remove All Comments</strong>: HTML comments inside SVG blocks cause paragraph insertion</li>
655
+ <li><strong>Consolidate Lines</strong>: Keep SVG elements on single lines where possible</li>
656
+ <li><strong>Move Definitions First</strong>: Place <code>&lt;defs&gt;</code> sections at the beginning of the SVG</li>
657
+ <li><strong>Escape Special Characters</strong>: Use <code>&amp;amp;</code> for <code>&amp;</code> in text elements</li>
658
+ <li><strong>No Extra Whitespace</strong>: Avoid blank lines within SVG blocks</li>
659
+ <li><strong>Complete Attributes</strong>: Always include <code>viewBox</code> and <code>xmlns</code> attributes</li>
660
+ </ol>
661
+ <h3><i style="font-size: 1.2em" class="ph ph-wrench" aria-label="settings"></i> SVG Structure Template</h3>
662
+ <pre><code class="language-xml">&lt;svg width=&quot;800&quot; height=&quot;300&quot; viewBox=&quot;0 0 800 300&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;
663
+ &lt;defs&gt;
664
+ &lt;marker id=&quot;arrowhead&quot; markerWidth=&quot;10&quot; markerHeight=&quot;7&quot; refX=&quot;9&quot; refY=&quot;3.5&quot; orient=&quot;auto&quot;&gt;
665
+ &lt;polygon points=&quot;0 0, 10 3.5, 0 7&quot; fill=&quot;#666&quot;/&gt;
666
+ &lt;/marker&gt;
667
+ &lt;/defs&gt;
668
+ &lt;rect width=&quot;800&quot; height=&quot;300&quot; fill=&quot;#f9fafb&quot;/&gt;
669
+ &lt;text x=&quot;400&quot; y=&quot;25&quot; font-family=&quot;Arial, sans-serif&quot; font-size=&quot;18&quot; font-weight=&quot;bold&quot; text-anchor=&quot;middle&quot; fill=&quot;#333&quot;&gt;Title Text&lt;/text&gt;
670
+ &lt;g transform=&quot;translate(50, 30)&quot;&gt;
671
+ &lt;rect x=&quot;0&quot; y=&quot;0&quot; width=&quot;120&quot; height=&quot;80&quot; rx=&quot;8&quot; fill=&quot;#e3f2fd&quot; stroke=&quot;#1976d2&quot; stroke-width=&quot;2&quot;/&gt;
672
+ &lt;text x=&quot;60&quot; y=&quot;25&quot; font-family=&quot;Arial, sans-serif&quot; font-size=&quot;16&quot; font-weight=&quot;bold&quot; text-anchor=&quot;middle&quot; fill=&quot;#1976d2&quot;&gt;Data&lt;/text&gt;
673
+ &lt;/g&gt;
674
+ &lt;/svg&gt;
675
+ </code></pre>
676
+ <h3><i style="font-size: 1.2em" class="ph ph-palette" aria-label="design"></i> Color Palette Standards</h3>
677
+ <p><strong>Use these consistent colors across all SVG elements:</strong></p>
678
+ <ul>
679
+ <li><strong>Blue</strong>: <code>#e3f2fd</code> (background), <code>#1976d2</code> (border/text)</li>
680
+ <li><strong>Purple</strong>: <code>#f3e5f5</code> (background), <code>#7b1fa2</code> (border/text) </li>
681
+ <li><strong>Green</strong>: <code>#e8f5e9</code> (background), <code>#388e3c</code> (border/text)</li>
682
+ <li><strong>Orange</strong>: <code>#fff3e0</code> (background), <code>#f57c00</code> (border/text)</li>
683
+ <li><strong>Pink</strong>: <code>#fce7f3</code> (background), <code>#ec4899</code> (border/text)</li>
684
+ </ul>
685
+ <h3><i style="font-size: 1.2em" class="ph ph-clipboard-text" aria-label="clipboard"></i> SVG Quality Checklist</h3>
686
+ <p>Before finalizing any SVG in documentation:</p>
687
+ <ul>
688
+ <li><input disabled="" type="checkbox"> No HTML comments within SVG blocks</li>
689
+ <li><input disabled="" type="checkbox"> All elements on single lines (no unnecessary breaks)</li>
690
+ <li><input disabled="" type="checkbox"> <code>&lt;defs&gt;</code> section placed at beginning if needed</li>
691
+ <li><input disabled="" type="checkbox"> Special characters properly escaped (<code>&amp;amp;</code> not <code>&amp;</code>)</li>
692
+ <li><input disabled="" type="checkbox"> Consistent color scheme applied</li>
693
+ <li><input disabled="" type="checkbox"> <code>viewBox</code> and <code>xmlns</code> attributes included</li>
694
+ <li><input disabled="" type="checkbox"> Test HTML output to ensure no <code>&lt;p&gt;</code> tags inside SVG</li>
695
+ <li><input disabled="" type="checkbox"> Mobile responsive with <code>max-width: 100%</code> if needed</li>
696
+ </ul>
697
+ <hr>
698
+ <p><em>Remember: Great documentation doesn&#39;t just inform—it engages, guides, and inspires action.</em></p>
699
+
700
+ </div>
701
+ </main>
702
+ </div>
703
+
704
+ <!-- Scripts -->
705
+ <script>
706
+ // Pass configuration to frontend
707
+ window.docBuilderConfig = {
708
+ features: {
709
+ showPdfDownload: true,
710
+ menuDefaultOpen: false,
711
+ mermaidEnhanced: true
712
+ }
713
+ };
714
+ </script>
715
+ <script src="/js/main.js"></script>
716
+
717
+ </body>
718
+ </html>