Skip to content

Tags do not get transferred well when converting from inline to frontmatter (obsidian 1.4 properties update) #30

@kiithy

Description

@kiithy

Description of problem

  • When using the code shown below, a new tags property is created but the tags are not transferred from inline to frontmatter(not seen in the new Obsidian properties feature)

Obsidian note before usage of code
image

Obsidian note after usage of code
image

Code used

from pathlib import Path
from pyomd import Notes, Note
from pyomd.metadata import MetadataType

path_dir = Path("/path/to/directory/file")
note = Note(path_dir)

note.metadata.move(fr=MetadataType.INLINE, to=MetadataType.FRONTMATTER)
note.update_content(inline_inplace=False , inline_position="top" , inline_tml="standard")  #type: ignore
note.write()

Extra Issue

  • Certain inline properties are not converted to text properties when the text properties include links

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions