Skip to content

ALLINLINE works, ALLFRONTMATTER doesn't. INLINEFRONTMATTER still works. #24

@ooker777

Description

@ooker777

I successfully convert frontmatter metadata to inline :

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

And revert that likewise. However, while I can do the ALLINLINE, I can't do the ALLFRONTMATTER. INLINEFRONTMATTER still works.

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

https://selimrbd.github.io/py-obsidianmd/examples/

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