diff --git a/website/playground/Playground.js b/website/playground/Playground.js index 9ec84dac7..0892dff1c 100644 --- a/website/playground/Playground.js +++ b/website/playground/Playground.js @@ -137,6 +137,12 @@ class Playground extends React.Component { getMarkdown({ formatted, reformatted, full, doc }) { const { content, options } = this.state; const { availableOptions, version } = this.props; + const orderedOptions = orderOptions(availableOptions, [ + ...ENABLED_OPTIONS, + "rangeStart", + "rangeEnd", + ]); + const cliOptions = util.buildCliArgs(orderedOptions, options); return formatMarkdown({ input: content, @@ -146,7 +152,7 @@ class Playground extends React.Component { version, url: window.location.href, options, - cliOptions: util.buildCliArgs(availableOptions, options), + cliOptions, full, }); }