Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add information about the new `props` object on the custom element
  • Loading branch information
thomaslindstrom committed Mar 24, 2016
1 parent 4eeb699 commit 8270481
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ If you either set `escapeHtml` or `skipHtml` to `true`, this component does not

* `source` - *string* The Markdown source to parse (**required**)
* `className` - *string* Class name of the container element (default: `''`).
* `props` - *object* An object containing custom element props to put on the container element such as `id` and `htmlFor`.
* `containerTagName` - *string* Tag name for the container element, since Markdown can have many root-level elements, the component need to wrap them in something (default: `div`).
* `escapeHtml` - *boolean* Setting to `true` will escape HTML blocks, rendering plain text instead of inserting the blocks as raw HTML (default: `false`).
* `skipHtml` - *boolean* Setting to `true` will skip inlined and blocks of HTML (default: `false`).
Expand Down

0 comments on commit 8270481

Please sign in to comment.