generated from coulomb/repo-seed
Added complete documentation for all TestDrive-JSUI controls and features, plus flexible HTML generation system supporting standalone and external modes. Documentation (8 files, 3,533 lines): - docs/features/README.md: Central hub with overview, config, examples - docs/features/section-editing.md: Section editing guide - docs/features/edit-control.md: Document actions and editing tools - docs/features/status-control.md: Real-time statistics and tracking - docs/features/contents-control.md: Table of contents navigation - docs/features/debug-control.md: Development and debugging tools - docs/features/keyboard-shortcuts.md: Complete shortcuts reference - docs/features/themes.md: Visual theming and customization HTML Generation System (3 files, 1,104 lines): - js/utils/html-generator.js: Dual-mode HTML generator class * Standalone mode: All CSS/JS embedded inline * External mode: References _jsui/ directory * Configurable options for title, content, controls, theme * Download and save functionality - _jsui/ directory: External resources structure * README.md: Comprehensive usage guide * css/: Symlinked CSS files (base, editor, controls, themes) * js/: Symlinked JavaScript files (core, components, controls) * Enables smaller HTML files with browser caching - examples/html-generator-demo.html: Interactive demo * Web-based configuration form * Side-by-side mode comparison * Live generation and preview * Download and copy functionality Key Features: - 4,637 total lines of documentation and code - All controls documented with examples and troubleshooting - Flexible deployment options (standalone vs external) - Developer-friendly structure with clear guides - Production-ready system 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
138 lines
6.8 KiB
HTML
Executable File
138 lines
6.8 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="generator" content="TestDrive JSUI Markitect 1.0.0">
|
|
<title>TestDrive JSUI Document</title>
|
|
|
|
<style>
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 2rem;
|
|
line-height: 1.6;
|
|
color: #333333;
|
|
background-color: #ffffff;
|
|
}
|
|
#markdown-content {
|
|
min-height: 200px;
|
|
}
|
|
h1, h2, h3, h4, h5, h6 {
|
|
color: #333333;
|
|
}
|
|
pre {
|
|
background-color: #f6f8fa;
|
|
color: #333333;
|
|
padding: 1rem;
|
|
border-radius: 6px;
|
|
overflow-x: auto;
|
|
border: 1px solid #d0d7de;
|
|
}
|
|
code {
|
|
background-color: #f6f8fa;
|
|
color: #333333;
|
|
padding: 0.2em 0.4em;
|
|
border-radius: 3px;
|
|
font-size: 0.9em;
|
|
}
|
|
pre code {
|
|
background: none;
|
|
padding: 0;
|
|
}
|
|
blockquote {
|
|
border-left: 4px solid #dfe2e5;
|
|
margin: 0;
|
|
padding-left: 1rem;
|
|
color: #6a737d;
|
|
}
|
|
table {
|
|
font-size: 0.85em;
|
|
border-collapse: collapse;
|
|
margin: 1rem 0;
|
|
width: 100%;
|
|
border: 1px solid #d0d7de;
|
|
}
|
|
th, td {
|
|
font-size: inherit;
|
|
border: 1px solid #d0d7de;
|
|
padding: 0.5rem;
|
|
text-align: left;
|
|
}
|
|
th {
|
|
background-color: #f6f8fa;
|
|
font-weight: 600;
|
|
}
|
|
img {
|
|
max-width: 12cm;
|
|
max-height: 20cm;
|
|
height: auto;
|
|
display: block;
|
|
margin: 1rem auto;
|
|
}
|
|
</style>
|
|
|
|
<!-- Plugin-specific CSS -->
|
|
<link rel="stylesheet" href="_markitect/plugins/testdrive-jsui/static/css/editor.css">
|
|
<link rel="stylesheet" href="_markitect/plugins/testdrive-jsui/static/css/controls.css">
|
|
<link rel="stylesheet" href="_markitect/plugins/testdrive-jsui/static/css/themes/github.css">
|
|
|
|
<!-- External dependencies -->
|
|
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"
|
|
onload="window.markitectMarkedLoaded = true"
|
|
onerror="console.error('CDN library failed to load - network or firewall blocking marked.js'); window.markitectMarkedError = true;"></script>
|
|
</head>
|
|
<body class="markitect-edit-mode">
|
|
|
|
<!-- Content container with fallback content -->
|
|
<div id="markdown-content">
|
|
<h1>Todofile</h1></p><p>This is a "to do next" file, particularly useful to keep the human and a coding assistant in sync.</p><p>The format is based on [Keep a Todofile V0.0.1](https://coulomb.social/open/KeepaTodofile).</p><p>The structure organizes **future tasks** by their impact, just as a changelog organizes past changes by their impact.</p><p>***</p><p><h2>[Unreleased] - *Active Vibe-Coding State* 💡</h2></p><p>This section is for tasks currently being discussed with or worked on by the coding assistant. These are the ephemeral, flow-of-thought tasks.</p><p>*No active tasks at this time.*</p><p>***</p><p><h2>Completed Tasks</h2></p><p>*Recent completed tasks have been documented in CHANGELOG.md following Keep a Changelog format.*
|
|
</div>
|
|
|
|
<!-- Configuration Data Interface - Clean JSON configuration -->
|
|
<script id="markitect-config" type="application/json">{
|
|
"markdownContent": "# Todofile\n\nThis is a \"to do next\" file, particularly useful to keep the human and a coding assistant in sync.\n\nThe format is based on [Keep a Todofile V0.0.1](https://coulomb.social/open/KeepaTodofile).\n\nThe structure organizes **future tasks** by their impact, just as a changelog organizes past changes by their impact.\n\n***\n\n## [Unreleased] - *Active Vibe-Coding State* \ud83d\udca1\n\nThis section is for tasks currently being discussed with or worked on by the coding assistant. These are the ephemeral, flow-of-thought tasks.\n\n*No active tasks at this time.*\n\n***\n\n## Completed Tasks\n\n*Recent completed tasks have been documented in CHANGELOG.md following Keep a Changelog format.*",
|
|
"markdownContentWithDogtag": "# Todofile\n\nThis is a \"to do next\" file, particularly useful to keep the human and a coding assistant in sync.\n\nThe format is based on [Keep a Todofile V0.0.1](https://coulomb.social/open/KeepaTodofile).\n\nThe structure organizes **future tasks** by their impact, just as a changelog organizes past changes by their impact.\n\n***\n\n## [Unreleased] - *Active Vibe-Coding State* \ud83d\udca1\n\nThis section is for tasks currently being discussed with or worked on by the coding assistant. These are the ephemeral, flow-of-thought tasks.\n\n*No active tasks at this time.*\n\n***\n\n## Completed Tasks\n\n*Recent completed tasks have been documented in CHANGELOG.md following Keep a Changelog format.*",
|
|
"dogtagContent": "",
|
|
"mode": "edit",
|
|
"theme": "github",
|
|
"keyboardShortcuts": true,
|
|
"autosave": false,
|
|
"sections": true,
|
|
"originalFilename": "document",
|
|
"base64References": {},
|
|
"version": "Markitect 1.0.0",
|
|
"repoName": "Markitect"
|
|
}</script>
|
|
|
|
<!-- Plugin JavaScript Assets -->
|
|
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
|
<script src="_markitect/plugins/testdrive-jsui/js/core/debug-system.js"></script>
|
|
<script src="_markitect/plugins/testdrive-jsui/js/core/section-manager.js"></script>
|
|
<script src="_markitect/plugins/testdrive-jsui/js/components/debug-panel.js"></script>
|
|
<script src="_markitect/plugins/testdrive-jsui/js/components/dom-renderer.js"></script>
|
|
<script src="_markitect/plugins/testdrive-jsui/js/controls/control-base.js"></script>
|
|
<script src="_markitect/plugins/testdrive-jsui/js/controls/contents-control.js"></script>
|
|
<script src="_markitect/plugins/testdrive-jsui/js/controls/status-control.js"></script>
|
|
<script src="_markitect/plugins/testdrive-jsui/js/controls/debug-control.js"></script>
|
|
<script src="_markitect/plugins/testdrive-jsui/js/controls/edit-control.js"></script>
|
|
<script src="_markitect/plugins/testdrive-jsui/js/config-loader.js"></script>
|
|
<script src="_markitect/plugins/testdrive-jsui/js/main-updated.js"></script>
|
|
|
|
<!-- Initialization Script -->
|
|
<script>
|
|
window.addEventListener('load', function() {
|
|
console.log('🎯 TestDrive JSUI loading complete');
|
|
|
|
// Handle CDN loading errors
|
|
if (window.markitectMarkedError) {
|
|
console.error("CDN library failed to load - network or firewall blocking marked.js");
|
|
}
|
|
|
|
// Note: MarkitectMain auto-initializes via main-updated.js
|
|
// No manual initialization needed here
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |