Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
diegovelezg committed Aug 26, 2024
1 parent ef3d6ea commit 7a10842
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions DAT/README_ES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
**Tiempo:** ⏱️ 5min

<!-- El siguiente bloque de comentario se usa únicamente para mostrar un preview o resumen del program, skill o module en thumbnails de FE (por ejemplo) -->
<!-- preview:start -->
[//]: # (preview:start)
<p>Aprenderás sobre la importancia de esta disciplina para la toma de decisiones informadas y basadas en evidencia en cualquier ámbito del mundo laboral.</p><p>Desarrollarás las habilidades prácticas y aplicables para hacer análisis exploratorios, aplicar técnicas básicas de análisis y generar reportes y dashboards.</p><p>Dedicando al menos 5 horas por semana y, dependiendo de tu ritmo único de aprendizaje, podrías comppletar el programa en XX semanas.</p>
<!-- preview:end -->

[//]: # (preview:end)

---

Expand Down
2 changes: 1 addition & 1 deletion generate_markdown_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def process_config_files(root_dir):

def extract_preview(file_path):
with open(file_path, 'r', encoding='utf-8') as f:
match = re.search(r'<!--\s*preview:start\s*-->(.*?)<!--\s*preview:end\s*-->', f.read(), re.DOTALL)
match = re.search(r'\[//\]:\s+#\s+\(preview:start\)(.*?)\[//\]:\s+#\s+\(preview:end\)', f.read(), re.DOTALL)
return match.group(1).strip() if match else ""

def modify_activity_links(content, lang, track, skill, module):
Expand Down

0 comments on commit 7a10842

Please sign in to comment.