Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/jpjuliao/md2elementor/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Markdown to Elementor Layouts
A WordPress plugin that converts Markdown files with custom layout syntax into Elementor-compatible JSON layouts. Ideal for developers or content creators who prefer writing in Markdown but want visually structured Elementor pages.
✨ Features
-
Write page layouts in Markdown using simple custom syntax
-
Supports:
- Sections
- Columns (multi-column layout)
- Headings
- Images
-
Converts Markdown to Elementor-compatible JSON
-
Easily import layouts into Elementor
-
Unit-tested with sample markdown files
✍️ Markdown Syntax
Use custom ::: blocks to define layout:
::: section
::: row
::: column
# Welcome to My Page
:::
::: column

:::
:::
:::
🚀 Installation
- Upload
md2elementor/to your/wp-content/plugins/directory. - Activate the plugin via the WordPress admin.
- Use the admin page (if implemented) to upload/paste Markdown and generate Elementor JSON.
🔪 Testing
To run unit tests:
- Install the WordPress Unit Test environment.
- Run:
phpunit tests/test-converter.php
📜 License
MIT License. Free to use and modify.
🙋♀️ Future Features (Planned)
- Support for additional widgets (buttons, text editors, videos)
- Visual preview in admin panel
- JSON file export
- Integration with Elementor's importer