From b46a46b112608ea20b4df5843f2600ec4789f085 Mon Sep 17 00:00:00 2001 From: Ika Date: Thu, 26 Apr 2018 11:37:29 +0800 Subject: [PATCH] fix(playground): add missing `input` code sample for `copy markdown` (#4382) --- website/playground/Playground.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/playground/Playground.js b/website/playground/Playground.js index 0f8fd2642..155a040b2 100644 --- a/website/playground/Playground.js +++ b/website/playground/Playground.js @@ -90,7 +90,7 @@ class Playground extends React.Component { const { availableOptions, version } = this.props; return formatMarkdown( - content, + content || getCodeSample(options.parser), formatted, reformatted || "", version,