How derhermann/beyondmarkdown works
Main Components Identification
a) Browser Components:
• Chrome Browser Environment
• D&D Beyond Website (external system)
• Extension Interface Components (popup)
• Content Script (main functionality)
Component Relationships
Use these specific connection types:
• Double lines: Data transformations
Detailed Component Descriptions
Popup Interface (popup.html, popup.js):
• Settings configuration
• Tag customization options
• Format selection (all content vs. tagged content)
Content Script (contentScript.js):
• DOM manipulation
• Markdown processing
• HTML conversion
• Event listeners
Key Interactions to Highlight
a) User Workflow:
• Writing markdown in D&D Beyond
• Configuring extension settings
• Viewing converted HTML
b) Technical Workflow:
• Content script injection
• DOM monitoring
• Markdown processing
• HTML rendering
Additional Elements
Supplementary components:
• Version information
• Supported markdown syntax reference
• Configuration options
Notes for Implementation Details
Annotations for:
• Markdown syntax support
• Tag-based processing options
• DOM manipulation points
• Storage mechanisms for settings
• Nested containers
• Text annotations
• Export to high-resolution formats
Remember to maintain a balance between technical detail and clarity, focusing on the extension's core functionality of converting markdown to HTML within the D&D Beyond environment while showing the configuration options available through the popup interface.