Skip to content

Issue: frontMatter.taxonomy.indentArrays = false has no effect #629

Description

@steelcoder

Describe the bug
Setting the configuration "frontMatter.taxonomy.indentArrays": false in order to remove the indentation of arrays within the front matter does not seem to have the desired effect. When trying to maintain a list without indentation, the software keeps re-indenting the list upon changes to other fields.

To Reproduce
Steps to reproduce the behavior:

  1. Configure the software with "frontMatter.taxonomy.indentArrays": false.
  2. Create or modify a front matter section with a list, e.g.:
keywords:
  - word 1
  - word 2
  1. Change a different field within the same front matter, such as slug.
  2. Observe that the previously unindented list (keywords in this example) gets indented automatically.

Expected behavior
The list under keywords or any other taxonomy should remain unindented when frontMatter.taxonomy.indentArrays is set to false, regardless of changes to other fields.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: macOS
  • Version: 13.5 (Apple Silicon)

Additional context
v.8.4.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions