WordPress plugin intelligence profile

Markdown Renderer for GitHub

Render GitHub Flavored Markdown in WordPress: Shiki code highlighting, Mermaid diagrams, and Chart.js charts. For documentation and dev blogs.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version2.11.22
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.8 · PHP 8.2
Directory statusactive
Last directory update16 Sept 20261mo ago
Active installations50Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Markdown Renderer for GitHub version 2.11.22 as active, updated 1mo ago and tested up to WordPress 7.1.

Overview

About this plugin

Markdown Renderer for GitHub brings GitHub Flavored Markdown (GFM) rendering to WordPress for technical blogs, documentation sites, tutorials, code portfolios, and developer resources. Add Markdown in the block editor or with the [gfmr_markdown] shortcode, then render code, tables, task lists, diagrams, and charts on the front end.

The free plugin includes:

  • GitHub Flavored Markdown rendering with tables, task lists, strikethrough, autolinks, footnotes, and emoji shortcodes such as:rocket:
  • GitHub-style alerts: > [!NOTE], [!TIP], [!IMPORTANT], [!WARNING], and [!CAUTION] callouts
  • Native grammars for 30+ programming languages, plus fallback handling for many more
  • GitHub Light, GitHub Dark, and system-aware code themes
  • Mermaid diagrams with interactive controls and an auto/light/dark theme setting (auto follows the code theme and visitor OS)
  • 8 chart types through Chart.js charts from chart fenced code blocks
  • KaTeX math from GitHub-compatible math fenced code blocks, $$...$$, $...$, and [latex] shortcodes
  • Optional PlantUML rendering through a configured external PlantUML/Kroki server
  • Table of Contents, structured data, multilingual URL options, and server-side rendering controls
  • A built-in admin manual with Getting Started, Usage, FAQ, Troubleshooting, Support, and System Info tabs
  • WordPress Abilities API support on WordPress 6.9+ for AI agents such as Claude Code and Codex

Pro is a separate, standalone plugin (it bundles all Free features) that may provide advanced workflow features such as enhanced code-block options, custom themes, higher-level AI orchestration, and priority support. js, PlantUML, and the basic settings are included in the free plugin.

Detailed user guidance is available inside the plugin settings screen after activation. This keeps the manual, FAQ, troubleshooting, support guidance, and non-secret system information close to the WordPress admin workflow without requiring a separate documentation website.

AI Agent Integration

9 and later, this plugin registers Abilities API abilities so AI coding agents such as Claude Code and Codex can work with it conversationally instead of through manual settings screens. An agent can read the current configuration, look up what each setting does and which values it accepts, and apply changes on request; the standalone Pro plugin extends this with previewing rendered Markdown and drafting posts directly, always saved as a draft.

Every ability requires the same manage_options capability as the settings screen, and turning on a destructive setting needs an explicit confirmation from the request, so an agent cannot silently change security-sensitive behavior. Abilities are exposed through the standard WordPress REST API and, when a compatible MCP bridge is active, through the Model Context Protocol as well. 8, this plugin’s core Markdown rendering works the same as always and the agent abilities are simply not registered.

Technical Requirements

  • WordPress 6.8 or higher
  • PHP 8.2 or higher
  • Modern browser with JavaScript enabled
  • Recommended: 128MB+ PHP memory limit
  • Recommended: gzip or Brotli compression enabled for static JavaScript on your web server

Why server compression matters:

2 MB) but shrink dramatically when delivered with gzip or Brotli (Shiki ~302 KB, Mermaid ~908 KB). For the best front-end performance, ensure your web server compresses static JavaScript (for example mod_deflate/mod_brotli on Apache, or the gzip/brotli directives on nginx). Most managed hosts and CDNs enable this by default.

The plugin adds a Tools → Site Health check that reports whether these bundles are actually being served compressed.

Support

org support forum for this plugin. Our team actively monitors and responds to support requests.

Before posting a support request:

* Check the FAQ section above for common questions

* Ensure you’re using the latest version of the plugin

* Include your WordPress and PHP versions in your support request

Feature Requests:

We welcome feature suggestions! Please post them in the support forum with detailed descriptions of your use case.

Source Code

This plugin uses build tools for development efficiency.

Compressed File Source Code:

js: WordPress Block Editor integration code

* Source: blocks/markdown/src/ folder

* Build: npm run build

js: Shiki syntax highlighter (self-contained bundle, no CDN)

mjs

* Build: npm run vendor:shiki

Source Code Access:

com/my-biz-dev/markdown-renderer-for-github

* License: GPL v2 or later

* Development Branch: main

Build Instructions:

1. nvmrc)

2. Install dependencies with npm install

3. Build with npm run build

4. Run tests with npm run test

Developer Resources:

md

md

md

Third Party Services

By default this plugin runs entirely on your own server. The core rendering libraries are bundled locally and make no external requests:

  • Shiki syntax highlighter – served from your WordPress installation (no CDN)
  • Mermaid diagram renderer – served from your WordPress installation (no CDN)
  • Chart.js chart renderer – served from your WordPress installation (no CDN)
  • markdown-it parser – bundled locally

Optional features that contact an external server (opt-in, off by default):

Two features can send diagram source to an external rendering server. Both are inactive until you explicitly enable, configure a server URL, and accept the in-plugin privacy notice:

  • PlantUML diagrams – PlantUML has no in-browser renderer, so the source of each “`plantuml block is sent to a PlantUML/Kroki server to produce the image.
  • Default server (configurable, or self-hostable): https://www.plantuml.com/plantuml
  • Service: PlantUML – https://plantuml.com/
  • Server-side Mermaid rendering (Kroki) – an optional mode that pre-renders Mermaid diagrams on a Kroki server for faster first paint. When enabled, the Mermaid source is sent to the configured server.
  • Default server (configurable, or self-hostable): https://kroki.io
  • Service: Kroki – https://kroki.io/

To keep diagram source private you can point either feature at a server you self-host. When both options are left in their default (disabled) state, no diagram data or any other content leaves your site.

Pro license validation (only if you activate a Pro license key):

This Free plugin ships the shared license-gating code used by the separate Pro plugin. If you install the Pro plugin and enter a license key, activating, deactivating, or periodically re-validating that key sends the license key (no diagram or post content) to the license server:

  • Service: Lemon Squeezy – https://www.lemonsqueezy.com/
  • Endpoint: https://api.lemonsqueezy.com/v1/licenses/

Without the Pro plugin and an activated license key, no request is made to this endpoint.

Privacy & Security Benefits (default configuration):

* No tracking, analytics, or data collection

* No data is transmitted to external servers unless you opt in to PlantUML or server-side Mermaid rendering, or activate a Pro license key

* Works offline and in closed networks with the default settings

Privacy

This plugin does not collect any personal data, and with the default settings all processing happens locally on your server. If you opt in to PlantUML or server-side (Kroki) Mermaid rendering, the source text of those diagrams is sent to the rendering server you configure – choose a server you trust, or self-host one, for sensitive content. If you activate a Pro license key, the key is sent to the Lemon Squeezy license server to validate it.

Credits

  • Syntax highlighting: Shiki
  • Diagram rendering: Mermaid
  • Chart rendering: Chart.js
  • Markdown parsing: markdown-it

Developer Information

This section provides essential information for developers who want to extend or customize the plugin.

For complete API documentation, architecture diagrams, and customization examples, see:

Developer Documentation on GitHub

Available Hooks and Filters

Actions:

  • gfmr_metadata_saved – Fired when code block metadata is saved
  • Parameters: $post_id (int), $metadata (array)
  • Use case: Sync metadata with external services, logging

Filters:

-

gfmr_metadata_get_metadata – Filter retrieved metadata before use

  • Parameters: $metadata (array), $post_id (int)
  • Use case: Custom language detection, metadata modification

-

org JSON-LD data before output

  • Parameters: $schema (array), $post (WP_Post)
  • Use case: Add custom schema properties, author profiles

PHP Constants

  • GFMR_PLUGIN_FILE – Plugin main file path
  • GFMR_SLUG – Plugin slug (‘markdown-renderer-for-github’)
  • GFMR_URI – Plugin URL
  • GFMR_PATH – Plugin directory path
  • GFMR_PLUGIN_PATH – Plugin directory name (relative)
  • GFMR_PLUGIN_BASENAME – Plugin basename
  • GFMR_ASSETS_PATH – Assets directory URL

JavaScript Global Objects

  • wpGfmConfig – Plugin configuration localized from PHP (theme, translations, feature flags)
  • wpGfmThemeResolver – Resolves the active Shiki theme (light/dark/system) for syntax highlighting
  • wpGfmCopyButton – Adds the “copy code” button to rendered code blocks
  • wpGfmMath – Loads KaTeX and renders LaTeX math expressions
  • wpGfmMermaidRenderer – Renders Mermaid diagram blocks
  • wpGfmShikiHighlighter – The active Shiki highlighter instance

Settings Option

Option name: gfmr_theme_settings

Available keys:

  • theme – Theme setting (‘light’, ‘dark’, ‘system’)
  • schema_enabled – Enable Schema.org JSON-LD output (bool)
  • schema_auto_detect_type – Auto-detect article type (bool)
  • schema_include_author – Include author in schema (bool)
  • schema_include_publisher – Include publisher in schema (bool)
  • uninstall_remove_data – Remove plugin data on uninstall (bool, default false)

Plugin Development

This plugin follows WordPress coding standards and provides clean, semantic HTML output.

Detailed Documentation:

For complete documentation including full API reference with code examples, architecture diagrams (Mermaid), step-by-step customization guides, and CSS class reference, visit:

GitHub Developer Documentation

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • syntax highlighting
  • documentation
  • github
  • markdown
  • mermaid
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.8 · PHP 8.2
Update activity16 Sept 20261mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version2.11.212.11.22
Version2.11.202.11.21
Version2.11.182.11.20
Version2.11.172.11.18
Version2.11.162.11.17
Version2.11.142.11.16
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.