Skip to content

Commit

Permalink
Fix fenced code blocks in lists
Browse files Browse the repository at this point in the history
  • Loading branch information
YahnisElsts committed Feb 10, 2015
1 parent d8a3d26 commit 323e80f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Getting Started
### Self-hosted Plugins

1. Make a JSON file that describes your plugin. Here's a minimal example:
```json

```json
{
"name" : "My Cool Plugin",
"version" : "2.0",
Expand All @@ -23,11 +24,12 @@ Getting Started
"description" : "Plugin description here. You can use HTML."
}
}
```
```
See [this table](https://spreadsheets.google.com/pub?key=0AqP80E74YcUWdEdETXZLcXhjd2w0cHMwX2U1eDlWTHc&authkey=CK7h9toK&hl=en&single=true&gid=0&output=html) for a full list of supported fields.
2. Upload this file to a publicly accessible location.
3. Download [the update checker](https://github.com/YahnisElsts/plugin-update-checker/releases/latest), unzip the archive and copy the `plugin-update-checker` directory to your plugin.
4. Add the following code to the main plugin file:

```php
require 'plugin-update-checker/plugin-update-checker.php';
$myUpdateChecker = PucFactory::buildUpdateChecker(
Expand All @@ -47,6 +49,7 @@ Getting Started

1. Download [the latest release](https://github.com/YahnisElsts/plugin-update-checker/releases/latest), unzip it and copy the `plugin-update-checker` directory to your plugin.
2. Add the following code to the main file of your plugin:

```php
require 'plugin-update-checker/plugin-update-checker.php';
$className = PucFactory::getLatestClassVersion('PucGitHubChecker');
Expand Down Expand Up @@ -91,4 +94,4 @@ The GitHub version of the library will pull update details from the following pa
- Remote plugin headers (i.e. the latest version on GitHub).
- Local plugin headers (i.e. the currently installed version).
- Ratings, banners, screenshots
- Not supported.
- Not supported.

0 comments on commit 323e80f

Please sign in to comment.