cleanup: remove temporary test file
Browse files- Remove test_markdown.html as it was only needed for development testing
- Keep Python test files for potential future automated testing
- local_run.sh +2 -0
- note.txt +3 -0
- test_markdown.html +0 -77
local_run.sh
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#! /usr/bin/env bash
|
| 2 |
+
python -m uvicorn src.server.main:app --host 0.0.0.0 --port 7860 --reload
|
note.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1. add tw chinese interface
|
| 2 |
+
2. notification quand transcription / résumé rest prêt
|
| 3 |
+
3. indicateur de status flottant
|
test_markdown.html
DELETED
|
@@ -1,77 +0,0 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html>
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="UTF-8">
|
| 5 |
-
<title>Test Markdown Rendering with Marked.js</title>
|
| 6 |
-
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
| 7 |
-
<style>
|
| 8 |
-
.summary {
|
| 9 |
-
min-height: 120px;
|
| 10 |
-
background: rgba(15, 23, 42, 0.5);
|
| 11 |
-
border-radius: 12px;
|
| 12 |
-
padding: 1rem;
|
| 13 |
-
border: 1px solid rgba(148, 163, 184, 0.15);
|
| 14 |
-
line-height: 1.6;
|
| 15 |
-
color: white;
|
| 16 |
-
}
|
| 17 |
-
|
| 18 |
-
.summary h1, .summary h2, .summary h3 {
|
| 19 |
-
margin-top: 1.5rem;
|
| 20 |
-
margin-bottom: 0.5rem;
|
| 21 |
-
color: #e2e8f0;
|
| 22 |
-
}
|
| 23 |
-
|
| 24 |
-
.summary strong { font-weight: 600; color: #f1f5f9; }
|
| 25 |
-
.summary em { font-style: italic; color: #cbd5e1; }
|
| 26 |
-
.summary code {
|
| 27 |
-
background: rgba(100, 116, 139, 0.3);
|
| 28 |
-
padding: 0.125rem 0.25rem;
|
| 29 |
-
border-radius: 4px;
|
| 30 |
-
}
|
| 31 |
-
.summary pre {
|
| 32 |
-
background: rgba(15, 23, 42, 0.8);
|
| 33 |
-
padding: 1rem;
|
| 34 |
-
border-radius: 8px;
|
| 35 |
-
overflow-x: auto;
|
| 36 |
-
}
|
| 37 |
-
.summary ul, .summary ol { margin: 1rem 0; padding-left: 1.5rem; }
|
| 38 |
-
.summary a { color: #60a5fa; text-decoration: underline; }
|
| 39 |
-
</style>
|
| 40 |
-
</head>
|
| 41 |
-
<body style="background: #0f172a; padding: 20px;">
|
| 42 |
-
<h1 style="color: white;">Test du rendu Markdown avec Marked.js</h1>
|
| 43 |
-
<div id="summary-output" class="summary"></div>
|
| 44 |
-
|
| 45 |
-
<script>
|
| 46 |
-
// Configuration de Marked
|
| 47 |
-
marked.setOptions({
|
| 48 |
-
breaks: true,
|
| 49 |
-
gfm: true,
|
| 50 |
-
headerIds: false,
|
| 51 |
-
mangle: false,
|
| 52 |
-
});
|
| 53 |
-
|
| 54 |
-
// Test avec du contenu Markdown
|
| 55 |
-
const testMarkdown = `# Résumé du Podcast
|
| 56 |
-
|
| 57 |
-
Voici un **résumé important** avec du *texte en italique*.
|
| 58 |
-
|
| 59 |
-
## Points clés
|
| 60 |
-
|
| 61 |
-
- Premier point important
|
| 62 |
-
- **Deuxième point** en gras
|
| 63 |
-
- \`Code inline\` et blocs de code:
|
| 64 |
-
|
| 65 |
-
\`\`\`python
|
| 66 |
-
def hello():
|
| 67 |
-
print("Hello World!")
|
| 68 |
-
\`\`\`
|
| 69 |
-
|
| 70 |
-
## Conclusion
|
| 71 |
-
|
| 72 |
-
Le podcast traite de sujets intéressants. [Lien vers plus d'infos](https://example.com)`;
|
| 73 |
-
|
| 74 |
-
document.getElementById('summary-output').innerHTML = marked.parse(testMarkdown);
|
| 75 |
-
</script>
|
| 76 |
-
</body>
|
| 77 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|