Skip to content

Commit b848195

Browse files
author
Ben Taylor
authored
update readme table formatting
1 parent 642494c commit b848195

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -97,22 +97,22 @@ will add the following to your markup (will be minified):
9797

9898
#### Generic Component PropTypes
9999

100-
| PropType | Value | Description |
101-
| ------------- |:-------------:|:------|
102-
| type | String | The @type description in the json-ld body: ```"@type": "Product"``` |
103-
| jsonldtype | String | The value of the @type description in the json-ld body: ```"@type": "Product"``` |
104-
| schema | Object (json) | This should be the schema that you want for your structured data node: ```{name: "It is awesome", reviewBody: "This is great!"}```|
100+
| PropType | Value | Description |
101+
| ------------- | ------------- | ------ |
102+
| type | String | The @type description in the json-ld body: `"@type": "Product"` |
103+
| jsonldtype | String | The value of the @type description in the json-ld body: `"@type": "Product"` |
104+
| schema | Object (json) | This should be the schema that you want for your structured data node: `{name: "It is awesome", reviewBody: "This is great!"}` |
105105

106106
#### JSONLD node propTypes
107-
| PropType | Value | Description |
108-
| ------------- |:-------------:|:------|
109-
| dangerouslyExposeHtml | Boolean | Set this to render the json within script tag using ```dangerouslySetInnerHTML``` |
107+
| PropType | Value | Description |
108+
| ------------- | ----------- | ------ |
109+
| dangerouslyExposeHtml | Boolean | Set this to render the json within script tag using `dangerouslySetInnerHTML` |
110110

111111
#### Schema node PropTypes
112-
| PropType | Value | Description |
113-
| ------------- |:-------------:|:------|
114-
| parentID | String | This sets the id of the schema that becomes a reference that the children point to ```"@id": "product-x"``` |
115-
| id | String | similar to parentID but uses the ID on itself |
112+
| PropType | Value | Description |
113+
| ------------- | ------------- | ------ |
114+
| parentID | String | Sets the id of the schema that becomes a reference that the children point to `"@id": "product-x"` |
115+
| id | String | similar to parentID but uses the ID on itself |
116116

117117
### Preset Components
118118
There are several preset schema components that can be used

0 commit comments

Comments
 (0)