Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing YAML Front Matter as document custom attributes when importing Markdown files #10878

Closed
parasiteoflife opened this issue Apr 4, 2024 · 1 comment
Assignees
Milestone

Comments

@parasiteoflife
Copy link

parasiteoflife commented Apr 4, 2024

Please add support for importing MD files with Front Matter section

In what scenarios do you need this feature?

I've been trying SiYuan and so far works great but as you understand most of the people already uses other applications for notes because of this I need to import all my notes from Joplin to SiYuan, I can do this with the markdown import feature but it wont restore the creation and last modified dates for the notes (you know metadata is important), fortunately Joplin has an option to export notes with a Front Matter which adds a section like this:

---
title: Note 1
updated: 2023-08-27 14:34:08Z
created: 2020-01-24 08:17:18Z
latitude: some-lat
longitude: some-long
altitude: some-alt
---

To the top of each note, but SiYuan has no support for this. Can you please add it so we can migrate from other apps like Joplin to SiYuan?

Describe the optimal solution

Being able to import markdown files with front matter sections.

Describe the candidate solution

Add another import option that supports markdown + front matter.

Other information

No response

@88250 88250 self-assigned this Sep 11, 2024
@88250 88250 changed the title Please add support for importing MD files with Front Matter section Parsing YAML Front Matter as document custom attributes when importing Markdown files Sep 11, 2024
@88250 88250 added this to the 3.1.7 milestone Sep 11, 2024
@88250 88250 closed this as completed Sep 11, 2024
@88250
Copy link
Member

88250 commented Oct 29, 2024

Please follow #12962 for further improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants