Tags are not displayed by "Front Matter: Insert tags" if a null tag is included in "frontMatter.taxonomy.tags" #6

Closed
opened 2026-10-05 02:21:42 +02:00 by adam · 1 comment
Owner

My blog includes some blog posts with null tags in the front matter:

---
title: test
date: 2017-10-30
tags:
- 
- testtag

categories:
- home

---

vscode-front-matter generates a list of tags with a null entry in settings.json:

{
    "frontMatter.taxonomy.tags": [
        "nodered",
        null,
        "testtag"
    ],
    "frontMatter.taxonomy.categories": [
        "home"
    ]
}

Null tags should not be included "Front Matter: Export all tags & categories to your settings" or should be ignored if included in settings.json.

My blog includes some blog posts with null tags in the front matter: ```yaml --- title: test date: 2017-10-30 tags: - - testtag categories: - home --- ``` vscode-front-matter generates a list of tags with a null entry in settings.json: ```json { "frontMatter.taxonomy.tags": [ "nodered", null, "testtag" ], "frontMatter.taxonomy.categories": [ "home" ] } ``` Null tags should not be included "Front Matter: Export all tags & categories to your settings" or should be ignored if included in settings.json. <!-- github-sync-id:544172700 -->
adam closed this issue 2026-10-05 02:21:42 +02:00
Author
Owner

Fix for this has been included an will be available in the latest version.

Fix for this has been included an will be available in the latest version. <!-- github-comment-id:603956507 -->
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#6