<?php
/**
 * Plugin Name:       MarkBlocks – Markdown for Elementor
 * Plugin URI:        https://farhan.ch/markblocks
 * Description:       Write, render, and convert Markdown into editable Elementor content.
 * Version:           1.0.2
 * Requires at least: 6.5
 * Requires PHP:      7.4
 * Requires Plugins:  elementor
 * Author:            Farhan Ahmed
 * Author URI:        https://farhan.ch/about/
 * License:           GPLv2 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:       markblocks
 * Domain Path:       /languages
 * Elementor requires at least: 3.20.0
 * Elementor tested up to: 4.2.1
 *
 * @package MarkBlocks
 */

/*
 * Copyright (C) 2026 Farhan Ahmed
 * SPDX-License-Identifier: GPL-2.0-or-later
 *
 * MarkBlocks is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * any later version.
 *
 * MarkBlocks is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with MarkBlocks. If not, see <https://www.gnu.org/licenses/>.
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

define( 'MARKBLOCKS_VERSION', '1.0.2' );
define( 'MARKBLOCKS_FILE', __FILE__ );
define( 'MARKBLOCKS_PATH', plugin_dir_path( __FILE__ ) );
define( 'MARKBLOCKS_URL', plugin_dir_url( __FILE__ ) );

require_once MARKBLOCKS_PATH . 'includes/class-markblocks-plugin.php';

MarkBlocks_Plugin::instance();
