You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ra...@apache.org on 2019/11/06 18:33:51 UTC
[cordova-create] branch master updated: Add syntax highlighting to
code samples in README (#51)
This is an automated email from the ASF dual-hosted git repository.
raphinesse pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-create.git
The following commit(s) were added to refs/heads/master by this push:
new ef7f8cb Add syntax highlighting to code samples in README (#51)
ef7f8cb is described below
commit ef7f8cb522e6231ae98fa49bc910e1334d02083a
Author: Raphael von der GrĂ¼n <ra...@gmail.com>
AuthorDate: Wed Nov 6 19:33:42 2019 +0100
Add syntax highlighting to code samples in README (#51)
---
README.md | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 160eceb..212f619 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@
#
-->
-[![Build status](https://ci.appveyor.com/api/projects/status/a00hk739gm700dk4?svg=true)](https://ci.appveyor.com/project/Humbedooh/cordova-create)
+[![Build status](https://ci.appveyor.com/api/projects/status/a00hk739gm700dk4?svg=true)](https://ci.appveyor.com/project/Humbedooh/cordova-create)
[![Build Status](https://travis-ci.org/apache/cordova-create.svg?branch=master)](https://travis-ci.org/apache/cordova-create)
# cordova-create
@@ -28,9 +28,8 @@ This module is used for creating cordova style projects. It also incudes support
## Usage:
-```
+```js
const create = require('cordova-create');
-
await create(dest, opts);
```
@@ -42,7 +41,7 @@ _Required_. Path to the destination where the project will be created. Must be a
#### `opts`
_Optional_. Supports following properties.
-```
+```js
{
// Attributes to be set in package.json & config.xml
id: String,
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org