Enhancement: Use filename if the markdown file does not contain a title #362

Closed
opened 2026-10-05 02:42:56 +02:00 by adam · 3 comments
Owner

Each markdown file is required to have a front-matter section. It will exclude the file from the dashboard if it does not contain one.

To ensure all files are shown, it would be better to fall back on the filename when no title is defined in the file.

image

Each markdown file is required to have a front-matter section. It will exclude the file from the dashboard if it does not contain one. To ensure all files are shown, it would be better to fall back on the filename when no title is defined in the file. ![image](https://user-images.githubusercontent.com/2900833/199933054-2f5f8cd7-e070-4295-a7fc-1aaf9658e949.png) <!-- github-sync-id:1435753857 -->
adam closed this issue 2026-10-05 02:42:56 +02:00
Author
Owner

Xnapper-2022-11-04-09 59 48

![Xnapper-2022-11-04-09 59 48](https://user-images.githubusercontent.com/2900833/199933410-a9c884c0-cbb4-477e-81ad-1255b2b8f7f7.png) <!-- github-comment-id:1303140632 -->
Author
Owner

Would it be possible to mark those files as non-compliant so that we don't forget about fixing them?

Would it be possible to mark those files as non-compliant so that we don't forget about fixing them? <!-- github-comment-id:1335083520 -->
Author
Owner

@dennisl68-castra, in some cases or for some frameworks, they would be compliant, but I get your point. Think a validation based on the used content-type is in place, and if it contains required fields that are not provided, it should show up in the UI.

If you have an idea of how to make it appear in the UI, feel free to share.

Also best that we create a new issue with this enhancement.

@dennisl68-castra, in some cases or for some frameworks, they would be compliant, but I get your point. Think a validation based on the used content-type is in place, and if it contains required fields that are not provided, it should show up in the UI. If you have an idea of how to make it appear in the UI, feel free to share. Also best that we create a new issue with this enhancement. <!-- github-comment-id:1335251662 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#362