We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd85409 commit 6277694Copy full SHA for 6277694
2 files changed
index.js
@@ -21,7 +21,7 @@ const regex = /<!-- props-table-start -->[\s\S]*<!-- props-table-end -->/m;
21
const propsTable = buildPropsTable(filename);
22
23
if (toConsole) {
24
- console.log(propsTable);
+ console.log('<!-- props-table-start -->\n' + propsTable + '<!-- props-table-end -->');
25
process.exit(1);
26
}
27
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@rianbotha/react-props-md-table",
3
- "version": "3.0.2",
+ "version": "3.0.3",
4
"description": "A markdown table generator for React component props.",
5
"main": "index.js",
6
"bin": {
0 commit comments