Open ooker777 opened 1 year ago
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 ALL → INLINE, I can't do the ALL → FRONTMATTER. INLINE→FRONTMATTER still works.
ALL
INLINE
FRONTMATTER
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/
I successfully convert frontmatter metadata to inline :
And revert that likewise. However, while I can do the
ALL
→INLINE
, I can't do theALL
→FRONTMATTER
.INLINE
→FRONTMATTER
still works.https://selimrbd.github.io/py-obsidianmd/examples/