feat: Add Markdown export service for DOCX and PDF formats
- Implemented MarkdownExportService to convert Markdown text into DOCX and PDF formats. - Supported Markdown elements include headings, bold, italic, blockquotes, tables, and specific emojis. - Added methods for generating DOCX and PDF documents with proper formatting and rendering. - Enhanced application properties to enable logging for production environment. - Introduced a test-run script to reset project state and trigger processing via API. Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -2,7 +2,36 @@
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(quarkus dev *)",
|
||||
"Bash(bash *)"
|
||||
"Bash(bash *)",
|
||||
"Bash(mvn compile *)",
|
||||
"Bash(quarkus version *)",
|
||||
"Bash(export KUBECONFIG=\"/mnt/c/source/Frigosped/Dokumenten-Check/env/frigo-dev.yaml\")",
|
||||
"Bash(kubectl get *)",
|
||||
"Bash(sql -V)",
|
||||
"Bash(sql *)",
|
||||
"Bash(kubectl port-forward *)",
|
||||
"Bash(curl -sf http://localhost:8090/check/health)",
|
||||
"Bash(curl -v \"http://localhost:8081/ords/ai_dev/api/dc/documents/2/file\" -o /tmp/test_doc.pdf)",
|
||||
"Bash(curl -s -w \"\\\\nHTTP_STATUS: %{http_code}\\\\n\" \"http://localhost:8081/ords/ai_dev/api/dc/documents/2/file\" -o /tmp/test_doc.pdf)",
|
||||
"Read(//tmp/**)",
|
||||
"Bash(curl -s \"http://localhost:8081/ords/ai_dev/api/dc/documents/2/file\")",
|
||||
"Bash(curl -s -w '\\\\nHTTP_STATUS: %{http_code}\\\\nContent-Type: %{content_type}\\\\n' http://localhost:8081/ords/ai_dev/api/dc/documents/2/file -o /tmp/test_doc2.pdf)",
|
||||
"Bash(curl *)",
|
||||
"Bash(python3 -m json.tool)",
|
||||
"Bash(python3 -c \"import sys,json; d=json.load\\(sys.stdin\\); print\\('original_text chars:', len\\(d.get\\('original_text',''\\) or ''\\)\\); print\\('has_original_text:', d.get\\('has_original_text'\\)\\)\")",
|
||||
"Bash(pkill -f \"kubectl port-forward.*8090\")",
|
||||
"Bash(pkill -f \"kubectl port-forward.*8081\")",
|
||||
"Bash(fuser -k 8090/tcp)",
|
||||
"Bash(KUBECONFIG=\"/mnt/c/source/Frigosped/Dokumenten-Check/env/frigo-dev.yaml\" kubectl logs -n ai-env -l app=dc-backend --since=10m --tail=100)",
|
||||
"Bash(KUBECONFIG=\"/mnt/c/source/Frigosped/Dokumenten-Check/env/frigo-dev.yaml\" kubectl logs *)",
|
||||
"Bash(mvn package *)",
|
||||
"Bash(KUBECONFIG=\"/mnt/c/source/Frigosped/Dokumenten-Check/env/frigo-dev.yaml\" kubectl port-forward -n ai-env svc/dc-backend 8090:8090)",
|
||||
"Bash(pkill -f \"kubectl port-forward\")",
|
||||
"Bash(pkill -f \"port-forward\")",
|
||||
"Bash(KUBECONFIG=\"/mnt/c/source/Frigosped/Dokumenten-Check/env/frigo-dev.yaml\" kubectl get pods *)",
|
||||
"Bash(./mvnw compile *)",
|
||||
"Bash(NLS_LANG=GERMAN_GERMANY.AL32UTF8 sql *)",
|
||||
"Bash(KUBECONFIG=/mnt/c/source/Frigosped/Dokumenten-Check/env/frigo-dev.yaml kubectl logs *)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user