Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Where `docs/README.md` looks like this:

[view code](/demo-project/src/index.js)

[codesanbox](/demo-project)
[codesandbox](/demo-project)

```

Expand Down Expand Up @@ -76,7 +76,7 @@ The above command renders links. Add `--iframe` option to generate iframes inste

### Magic links

`[codesanbox](/demo-project)` - turns into either link or an iframe, depending on `--iframe` option
`[codesandbox](/demo-project)` - turns into either link or an iframe, depending on `--iframe` option

`[view code](/path/to/file.js)` - turns into a code snippet containing file.js

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ module.exports = (input, {iframe} = {}) => {

if (!module.parent) {
const argv = require('yargs')
.command('$0 [files..]', 'Generate codesanbox links/iframes and code snippets for documentation markdown', yargs => {
.command('$0 [files..]', 'Generate CodeSandbox links/iframes and code snippets for documentation Markdown', yargs => {
yargs
.options({
'iframe': {
Expand Down