Rename of MD files misses h2 and h3 #44

Closed
opened 2026-04-21 14:33:32 +00:00 by SaschaFuksa · 0 comments
Owner

Currently I got: 170629-Praxiseinstieg Machine Learning.md
Date is correct, but there is only h1.

Content of this MD:

Praxiseinstieg Machine Learning

Kapitel 3: Klassifikation

Grundlagen der Mehrfach-Klassifikation

So in this case, I would expect: 70629-Praxiseinstieg Machine Learning-Kapitel 3 Klassifikation-Grundlagen der Mehrfach-Klassifikation.md

Follow this rule:
If there is only h1 in the first lines, only use h1.
If there is also a h2 in the first lines AFTER h1, also add h2 in file name.
If there is also a h3 in the first lies AFTER h2, also add h3 in file name.

If there is no h1, but h2, add h2 in name
If there is no h1 and no h2, but h3, add h3 to name

If there is no h1, h2 or h3, keep name as structured.md

Currently I got: 170629-Praxiseinstieg Machine Learning.md Date is correct, but there is only h1. Content of this MD: # Praxiseinstieg Machine Learning ## Kapitel 3: Klassifikation ### Grundlagen der Mehrfach-Klassifikation So in this case, I would expect: 70629-Praxiseinstieg Machine Learning-Kapitel 3 Klassifikation-Grundlagen der Mehrfach-Klassifikation.md Follow this rule: If there is only h1 in the first lines, only use h1. If there is also a h2 in the first lines AFTER h1, also add h2 in file name. If there is also a h3 in the first lies AFTER h2, also add h3 in file name. If there is no h1, but h2, add h2 in name If there is no h1 and no h2, but h3, add h3 to name If there is no h1, h2 or h3, keep name as structured.md
Tasch self-assigned this 2026-04-21 16:39:40 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Tasch/whisper-transcribe#44
No description provided.