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

Markdown Importer #51

Open
adamziel opened this issue Apr 17, 2024 · 4 comments
Open

Markdown Importer #51

adamziel opened this issue Apr 17, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@adamziel
Copy link
Owner

adamziel commented Apr 17, 2024

WordPress for Docs require a markdown importing pipeline. Let's integrate one with Playground, see also https://github.com/adamziel/site-transfer-protocol

Furthermore, migrating existing projects into Playground/based workflow would be much easier if there was a markdown importer — upload a zipped directory structure with markdown files inside (optionally including frontmatter), and get a hierarchy of WordPress pages with valid blocks.

Cc @jordesign as This sounds like a data liberation project.

Let's also do this while we are working on git imports WordPress/playground-tools#314

@adamziel adamziel added the enhancement New feature or request label Apr 17, 2024
@jordesign
Copy link

This kind of thing would be brilliant!

What kind of structure would/could something like this look like within the ZIP file?

  • directories for pages/sub-pages?
  • Inclusion of linked media somehow?

@adamziel
Copy link
Owner Author

Yes and yes :) also markdown hrefs would be preserved as WordPress links

@jordesign
Copy link

I like this a lot !

@carstingaxion
Copy link

directories for pages/sub-pages?

I'd like to add another level, the root level should be post_type followed by pages/subpages.

That would allow to import any kind of content, may it be deeply nested hierarchical pages or posts with no hierarchy at all. Or whatever custom post type someone's (documentation) website would need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants