# jetpack/16.2/modules/markdown.php

Jetpack – WP Security, Backup, Speed, &amp; Growth, version 16.2. 36 lines.

- Page: https://pluginprobe.com/plugins/jetpack/16.2/code/modules/markdown.php
- Raw: https://pluginprobe.com/plugins/jetpack/16.2/raw/modules/markdown.php
- Modified: 2025-11-24T17:00:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jetpack/16.2/code/modules/markdown.php#L10-L20`.

```php
<?php
/**
 * Module Name: Markdown
 * Module Description: Write and format posts using clean, readable Markdown syntax.
 * Sort Order: 31
 * First Introduced: 2.8
 * Requires Connection: No
 * Auto Activate: No
 * Module Tags: Writing
 * Feature: Writing
 * Additional Search Queries: md, markdown
 *
 * @package automattic/jetpack
 */

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

// Require the markdown class file.
require __DIR__ . '/markdown/easy-markdown.php';

/**
 * Remove checkbox set in modules/markdown/easy-markdown.php.
 * We don't just remove the register_setting call there because the checkbox is
 * needed on WordPress.com, where the file is sync'ed verbatim.
 */
function jetpack_markdown_posting_always_on() {
	// why oh why isn't there a remove_settings_field?
	global $wp_settings_fields;
	if ( isset( $wp_settings_fields['writing']['default'][ WPCom_Markdown::POST_OPTION ] ) ) {
		unset( $wp_settings_fields['writing']['default'][ WPCom_Markdown::POST_OPTION ] );
	}
}
add_action( 'admin_init', 'jetpack_markdown_posting_always_on', 11 );

```
