Skip to content

Commit

Permalink
Fix code formatting issue with included file
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich Loveland committed Jan 22, 2018
1 parent 635016e commit a921d39
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions _includes/dev-docs/native-image-asset-sizes.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
There are two methods for defining sizes for image-like assets (`image` and `icon`). Both are shown below, but the first example (using `sizes`) is more widely supported by demand partners.

1. Using `mediaTypes.native.image.sizes` (or `mediaTypes.native.icon.sizes` for icons):
Using `mediaTypes.native.image.sizes` (or `mediaTypes.native.icon.sizes` for icons):

{% highlight js %}

```javascript
mediaTypes: {
native: {
image: {
Expand All @@ -11,11 +12,13 @@ There are two methods for defining sizes for image-like assets (`image` and `ico
}
}
}
```

2. Using `mediaTypes.native.image.aspect_ratios` (or `mediaTypes.native.icon.aspect_ratios` for icons):
{% endhighlight %}

Using `mediaTypes.native.image.aspect_ratios` (or `mediaTypes.native.icon.aspect_ratios` for icons):

{% highlight js %}

```javascript
mediaTypes: {
native: {
image: {
Expand All @@ -28,4 +31,5 @@ There are two methods for defining sizes for image-like assets (`image` and `ico
}
}
}
```

{% endhighlight %}

0 comments on commit a921d39

Please sign in to comment.