Caleb Porzio преди 5 години
родител
ревизия
713dbdcb0e
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 4 2
      README.md

+ 4 - 2
README.md

@@ -57,9 +57,11 @@ Here's how they each work:
 
 ### `x-data`
 ---
-Example: `<div x-data="{ foo: 'bar' }">...</div>`
 
-Structure: `<div x-data="[JSON data object]">...</div>`
+| | |
+--- | ---
+Example | `<div x-data="{ foo: 'bar' }">...</div>`
+Structure | `<div x-data="[JSON data object]">...</div>`
 
 `x-data` declares a new component scope. It tells the framework to initialize a new component with the following data object.