Skip to content

Commit 3172955

Browse files
committed
Fix header formatting of Plugins.md
1 parent 626fcc2 commit 3172955

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

PLUGINS.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Every NativeScript plugin should contain a valid `package.json` file in its root
117117
* It must contain a `nativescript` section which describes the supported NativeScript runtimes and their versions. This section can be empty. If you want to define supported platforms and runtimes, you can nest a `platforms` section. In this `platforms` section, you can nest `ios` and `android` key-value pairs. The values in these pairs must be valid runtime versions or ranges of values specified by a valid semver(7) syntax.
118118
* If the plugin depends on other npm modules, it must contain a `dependencies` section as described [here](https://docs.npmjs.com/files/package.json#dependencies).<br/>The NativeScript CLI will resolve the dependencies during the plugin installation.
119119

120-
#### `package.json` Example
120+
#### Package.json Example
121121

122122
The following is an example of a `package.json` file for a NativeScript plugin which supports the 1.0.0 version of the iOS runtime and the 1.1.0 version of the Android runtime.
123123

@@ -134,7 +134,7 @@ The following is an example of a `package.json` file for a NativeScript plugin w
134134
}
135135
```
136136

137-
### `include.gradle` Specification
137+
### Include.gradle Specification
138138

139139
Every NativeScript plugin, which contains native Android dependencies, should also contain a valid `include.gradle` file in the root of its `platforms\android` directory. This `include.gradle` file must meet the following requirements.
140140

@@ -144,7 +144,7 @@ Every NativeScript plugin, which contains native Android dependencies, should al
144144

145145
> **IMPORTANT:** If you don't have an `include.gradle` file, at build time, gradle will create a default one containing all default elements.
146146
147-
#### `include.gradle` Example
147+
#### Include.gradle Example
148148
```gradle
149149
//default elements
150150
android {
@@ -161,10 +161,10 @@ dependencies {
161161
}
162162
```
163163

164-
### `build.xcconfig` Specification
164+
### Build.xcconfig Specification
165165
Every NativeScript plugin, which contains native iOS dependencies, can also contain a [valid](https://pewpewthespells.com/blog/xcconfig_guide.html) `build.xcconfig` file in the root of its `platforms\ios` directory. This `build.xcconfig` file might contain native dependencies required to build the plugin properly.
166166

167-
#### `build.xcconfig` Example
167+
#### Build.xcconfig Example
168168
```
169169
OTHER_LDFLAGS = $(inherited) -framework "QuartzCore" -l"sqlite3"
170170
```

0 commit comments

Comments
 (0)