Add HTML export - browser-based PDF, no LaTeX deps

This commit is contained in:
Solaria
2026-03-14 15:04:50 +00:00
parent 8693d2ffa9
commit b809713a52
2 changed files with 431 additions and 0 deletions
+13
View File
@@ -174,3 +174,16 @@ def __getattr__(name):
from opus_orchestrator.latex_compile import compile_pdf
return compile_pdf
raise AttributeError(f"module has no attribute {name!r}")
# HTML Export
def __getattr__(name):
if name == "export_to_html":
from opus_orchestrator.html_export import export_to_html
return export_to_html
if name == "export_to_pdf":
from opus_orchestrator.html_export import export_to_pdf
return export_to_pdf
if name == "HTMLExporter":
from opus_orchestrator.html_export import HTMLExporter
return HTMLExporter
raise AttributeError(f"module has no attribute {name!r}")