commonmark-react-renderer
Advanced tools
+6
-0
@@ -5,2 +5,8 @@ # Change Log | ||
| ## [4.2.2] - 2016-07-09 | ||
| ### Changes | ||
| - Give `Code` renderers an `inline` property that is always true, allowing reuse of renderer for `CodeBlock` and `Code` (Espen Hovlandsdal) | ||
| ## [4.2.1] - 2016-07-09 | ||
@@ -7,0 +13,0 @@ |
+1
-1
| { | ||
| "name": "commonmark-react-renderer", | ||
| "description": "React renderer for CommonMark (rationalized Markdown)", | ||
| "version": "4.2.1", | ||
| "version": "4.2.2", | ||
| "keywords": [ | ||
@@ -6,0 +6,0 @@ "commonmark", |
+1
-0
@@ -70,2 +70,3 @@ # commonmark-react-renderer | ||
| * `literal` - *string* The string value of the inline code | ||
| * `inline` - *boolean* Always true. Present to allow reuse of the same renderer for both `CodeBlock` and `Code`. | ||
@@ -72,0 +73,0 @@ ### Heading |
@@ -125,2 +125,3 @@ 'use strict'; | ||
| props.children = node.literal; | ||
| props.inline = true; | ||
| break; | ||
@@ -127,0 +128,0 @@ case 'Heading': |
24979
1.32%298
0.34%118
0.85%