makemd icon indicating copy to clipboard operation
makemd copied to clipboard

Tags & Frontmatter Issues

Open MattofLegend opened this issue 2 years ago • 3 comments

Maybe I am confused on how this should work

  1. I create a new folder.
  2. I create 3 blank notes in that folder.
  3. MBD file is created and I click table view.
  4. I create a tag field.
  5. I turn on "Save All Context Fields To Frontmatter"

Now what happens next seems to be unexpected and inconnsistent.

  1. I add #Test to Note 1 just in the document, but The tag does not show up in the tag field. Expected result is for the tag to populate in Tag Column.
  2. I add Test tag via the Tag Column in the table view to Note 2, but Test does not appear in the note, nor is any frontmatter created.
  3. I add frontmatter to note three with an empty tags: area, but when I select a tag in table view it inserts null after the tags, no matter what tag I put into it.

Shouldn't those fields be synced?

MattofLegend avatar Jan 11 '23 19:01 MattofLegend

Will investigate what’s going on, currently cleaning up all the fields and their syncing behavior.

  • #2 was fixed in the last release, but I will see if there’s any other issues.
  • #3 sounds like a bug, will investigate.
  • #1 is not current behaviour and will look into adding it

On Jan 11, 2023, at 2:52 PM, overkill864 @.***> wrote:

Maybe I am confused on how this should work

I create a new folder. I create 3 blank notes in that folder. MBD file is created and I click table view. I create a tag field. I turn on "Save All Context Fields To Frontmatter" Now what happens next seems to be unexpected and inconnsistent.

I add #Test to Note 1 just in the document, but The tag does not show up in the tag field. Expected result is for the tag to populate in Tag Column. I add Test tag via the Tag Column in the table view to Note 2, but Test does not appear in the note, nor is any frontmatter created. I add frontmatter to note three with an empty tags: area, but when I select a tag in table view it inserts null after the tags, no matter what tag I put into it. Shouldn't those fields be synced?

— Reply to this email directly, view it on GitHub https://github.com/Make-md/makemd/issues/37, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFHKNQUPWZO6XGCZI3PGYTWR4FQ5ANCNFSM6AAAAAATYNSVZM. You are receiving this because you are subscribed to this thread.

jp-cen avatar Jan 11 '23 20:01 jp-cen

2 and 3 fixed in latest update. Will keep open for 1

jp-cen avatar Jan 13 '23 03:01 jp-cen

I used tags in the body of the documents before native frontmatter support in Obsidian, so also interested in the solution to this

Sekanato avatar Mar 25 '25 18:03 Sekanato