From 4bd3517af5fa5a10ea1ed6af7fdd1e3fc3dedb3f Mon Sep 17 00:00:00 2001 From: Slava Abakumov <282234+slaFFik@users.noreply.github.com> Date: Fri, 19 Sep 2025 13:02:43 +0200 Subject: [PATCH] Fix code block formatting in readme.md --- readme.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index b7f6917..10b74db 100644 --- a/readme.md +++ b/readme.md @@ -38,7 +38,7 @@ The SDK handles all the complex licensing logic behind the scenes: You can run the SDK as a standalone plugin on your site, or install it as a Composer package in your theme or plugin: -``` +```json { "name": "edd/edd-sample-plugin", "license": "GPL-2.0-or-later", @@ -52,6 +52,7 @@ You can run the SDK as a standalone plugin on your site, or install it as a Comp "easy-digital-downloads/edd-sl-sdk": "1.0.0" } } +``` ### Example Usage @@ -78,7 +79,7 @@ if ( file_exists( __DIR__ . '/vendor/easy-digital-downloads/edd-sl-sdk/edd-sl-sd ``` Theme: -``` +```php add_action( 'edd_sl_sdk_registry', function ( $init ) {