diff options
Diffstat (limited to 'docs/plugins')
-rw-r--r-- | docs/plugins/api.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/plugins/api.md b/docs/plugins/api.md index 135f196..c482ec2 100644 --- a/docs/plugins/api.md +++ b/docs/plugins/api.md @@ -37,7 +37,7 @@ var filepath = output.resolve('myimage.png'); var fileurl = output.toURL('mychapter/README.md'); // Write a file in the output folder -output.write('hello.txt', 'Hello World') +output.writeFile('hello.txt', 'Hello World') .then(function() { ... }); // Copy a file to the output folder |