Skip to content

Commit

Permalink
Use javascript instead of json formatting for labels
Browse files Browse the repository at this point in the history
A hack so we can use illegal comments and still get syntax highlighting.

Signed-off-by: Emily Casey <ecasey@vmware.com>
  • Loading branch information
ekcasey committed Jul 7, 2020
1 parent ba086df commit c181659
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ Where:

#### `io.buildpacks.build.metadata` (JSON)

```json
```javascript
{
"processes": [
{
Expand All @@ -808,7 +808,7 @@ Where:
"name": "<bom-entry-name>",
"version": "<bom-entry-version>",
"metadata": {
# arbitrary buildpack provided metadata
// arbitrary buildpack provided metadata
},
"buildpack": {
"id": "<buildpack ID>",
Expand Down Expand Up @@ -837,7 +837,7 @@ Where:

#### `io.buildpacks.lifecycle.metadata` (JSON)

```json
```javascript
{
"app": [
{"sha": "<slice-layer-diffID>"}
Expand Down Expand Up @@ -895,15 +895,15 @@ Where:

#### `io.buildpacks.project.metadata` (JSON)

```json
```javascript
{
"source": {
"type": "<type",
"version": {
# arbitrary version data
// arbitrary version data
},
"metadata": {
# arbitrary data
// arbitrary data
}
}
}
Expand Down

0 comments on commit c181659

Please sign in to comment.