瀏覽代碼

fix code blocks

Artur Paikin 6 年之前
父節點
當前提交
54f919e8d1
共有 1 個文件被更改,包括 4 次插入10 次删除
  1. 4 10
      website/src/_posts/2019-03-0.30.md

+ 4 - 10
website/src/_posts/2019-03-0.30.md

@@ -23,14 +23,11 @@ Uppy is developed by [Transloadit](https://transloadit.com). Transloadit is the
 2. [Form](https://uppy.io/docs/robodog/form/): integration with your existing HTML forms. Files will be uploaded to Transloadit, and the form will submit JSON information about the files and encoding results.
 3. [Upload](https://uppy.io/docs/robodog/upload/): one-line programmatic uploads — call `transloadit.upload(files, opts)` and get an array of results back.
 
-<center>
-  <img src="https://media.giphy.com/media/Eq7T3GwDAlggE/giphy.gif">
-</center>
+<center><img src="https://media.giphy.com/media/Eq7T3GwDAlggE/giphy.gif"></center>
 
 Here’s a demo:
-
 <figure class="wide">
-  <p class="codepen" data-height="600" data-theme-id="light" data-default-tab="js,result" data-user="uppy" data-slug-hash="gEgPav" style="height: 600px; width: 100%; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid black; margin: 1em 0; padding: 1em;" data-pen-title="Robodog: resizing and optimizng your avatar">
+  <p class="codepen" data-height="600" data-theme-id="light"  data-border-color="#EB2177" data-default-tab="js,result" data-user="uppy" data-slug-hash="gEgPav" style="height: 600px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid black; margin: 1em 0; padding: 1em;" data-pen-title="Robodog: resizing and optimizng your avatar">
     <span>See the Pen <a href="https://codepen.io/uppy/pen/gEgPav/">
     Robodog: resizing and optimizng your avatar</a> by Uppy File Uploader (<a href="https://codepen.io/uppy">@uppy</a>)
     on <a href="https://codepen.io">CodePen</a>.</span>
@@ -38,10 +35,9 @@ Here’s a demo:
   <script async src="https://static.codepen.io/assets/embed/ei.js"></script>
 </figure>
 
-
 You can install Robodog from NPM:
 
-```shell
+```sh
 npm install --save @uppy/robodog
 ```
 
@@ -52,9 +48,7 @@ Or import it using an HTML script tag:
 <script src="https://transloadit.edgly.net/releases/uppy/v0.30.3/robodog.min.js"></script>
 ```
 
-<center>
-  <img src="https://media.giphy.com/media/MqGA1Za9ar6lG/giphy.gif">
-</center>
+<center><img src="https://media.giphy.com/media/MqGA1Za9ar6lG/giphy.gif"></center>
 
 ## Dashboard Improvements