py obsidianmd gặp lỗi khi chuyển từ ALL sang FRONTMATTER

Chuyển từ frontmatter sang dạng inline thì được:

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

Làm ngược lại từ inline sang frontmatter cũng được. Tuy nhiên, ALLFRONTMATTER thì không được. INLINEFRONTMATTER vẫn hoạt động.
notes.metadata.move(fr=MetadataType.ALL, to=MetadataType.FRONTMATTER)
notes.update_content(inline_inplace=False, inline_position="top", inline_tml="standard") #type: ignore
ghi chú.write()

https://selimrbd.github.io/py-obsidianmd/examples/
ALLINLINE works, ALLFRONTMATTER doesn’t. INLINEFRONTMATTER still works. · Issue #24 · selimrbd/py-obsidianmd


Cập nhật lần cuối : 3 tháng 11, 2023
Tạo : 19 tháng 10, 2023