from pathlib import Path from pyomd import Notes from pyomd.metadata import MetadataType path_dir = Path('/Users/oscarplaisant/devoirs/cours/') notes = Notes(path_dir) notes.metadata.move(fr=MetadataType.INLINE, to=MetadataType.FRONTMATTER) notes.update_content(inline_position="top") print(notes)