Skip to content

Commit

Permalink
fix(docs): use objectivec for syntax highlighting objc
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Jun 5, 2019
1 parent 8c6b9f4 commit d467c9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/docs-md/ios/custom-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Next, you'll need to create a new Objective-C file (with a `.m` extension, _not_

Finally, register the plugin by adding the required Capacitor plugin macros into your new `.m` file:

```objc
```objectivec
#import <Capacitor/Capacitor.h>

CAP_PLUGIN(MyPlugin, "MyPlugin",
Expand Down
2 changes: 1 addition & 1 deletion site/docs-md/plugins/ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ To register your plugin with Capacitor, you'll need to create a new Objective-C

Finally, register the plugin by adding the required Capacitor plugin macros into your new `.m` file:

```objc
```objectivec
#import <Capacitor/Capacitor.h>

CAP_PLUGIN(MyPlugin, "MyPlugin",
Expand Down

0 comments on commit d467c9f

Please sign in to comment.