Skip to content

[Feature] when using git sync, leave YAML header unchanged #62

Description

@zeigerpuppy

Currenlty, when RefMD updates a document using git sync, it overwrites the YAML header.

For instance:

---
id: d6f4a5d6-3e14-4b6c-b338-3a0350b4b825
title: Tests
---

As this header is sometimes used externally for other purposes, it would be good not to alter the header.

If an ID is required, then would be good to leave the other elements of the YAML header unchanged and use a refmd-specific key, perhaps refmd-id instead of id.

Proposal

  • If possible, don't change the YAML header of a document when syncing back to repository

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions