Skip to content

Commit aff4391

Browse files
committed
Merge pull request #1333 from NativeScript/jasssonpet/docs
Fix header formatting of Plugins.md
2 parents 9e8bb6b + 3172955 commit aff4391

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
@@ -122,7 +122,7 @@ Every NativeScript plugin should contain a valid `package.json` file in its root
122122
* 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.
123123
* 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.
124124

125-
#### `package.json` Example
125+
#### Package.json Example
126126

127127
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.
128128

@@ -139,7 +139,7 @@ The following is an example of a `package.json` file for a NativeScript plugin w
139139
}
140140
```
141141

142-
### `include.gradle` Specification
142+
### Include.gradle Specification
143143

144144
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.
145145

@@ -149,7 +149,7 @@ Every NativeScript plugin, which contains native Android dependencies, should al
149149

150150
> **IMPORTANT:** If you don't have an `include.gradle` file, at build time, gradle will create a default one containing all default elements.
151151
152-
#### `include.gradle` Example
152+
#### Include.gradle Example
153153
```gradle
154154
//default elements
155155
android {
@@ -166,10 +166,10 @@ dependencies {
166166
}
167167
```
168168

169-
### `build.xcconfig` Specification
169+
### Build.xcconfig Specification
170170
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.
171171

172-
#### `build.xcconfig` Example
172+
#### Build.xcconfig Example
173173
```
174174
OTHER_LDFLAGS = $(inherited) -framework "QuartzCore" -l"sqlite3"
175175
```

0 commit comments

Comments
 (0)