mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 08:31:19 +00:00
MAESTRO: Complete refactoring audit Tasks 63-70 (renderer utils)
- Task 63: templateVariables.ts - Clean re-export from shared - Task 64: gitDiffParser.ts - All exports actively used - Task 65: remarkFileLinks.ts - Modern remark plugin, well-tested - Task 66: remarkFrontmatterTable.ts - Clean YAML to table plugin - Task 67: markdownConfig.ts - Removed dead generateTerminalProseStyles - Task 68: textProcessing.ts - Core text utils all in use - Task 69: formatters.ts - Clean re-export, all 7 exports used - Task 70: logger.ts - Standard logging API for renderer
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
* This module provides:
|
||||
* - generateProseStyles: Creates theme-aware CSS for markdown prose content
|
||||
* - createMarkdownComponents: Factory for ReactMarkdown component overrides
|
||||
* - generateAutoRunProseStyles: Pre-configured styles for AutoRun panel
|
||||
*
|
||||
* Used by:
|
||||
* - AutoRun.tsx: Document editing/preview with image attachments and mermaid diagrams
|
||||
* - TerminalOutput.tsx: AI terminal output (uses its own variant with colored headings)
|
||||
*/
|
||||
|
||||
import type { Components } from 'react-markdown';
|
||||
@@ -399,16 +399,3 @@ export function generateAutoRunProseStyles(theme: Theme): string {
|
||||
scopeSelector: '.autorun-panel',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates prose styles for terminal/AI output.
|
||||
* Uses colored headings and compact spacing for log display.
|
||||
*/
|
||||
export function generateTerminalProseStyles(theme: Theme): string {
|
||||
return generateProseStyles({
|
||||
theme,
|
||||
coloredHeadings: true,
|
||||
compactSpacing: true,
|
||||
includeCheckboxStyles: false,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user