diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-05-17 19:45:48 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-05-17 19:45:48 +0200 |
commit | 3e4241fc8810db9a789fa04acf0c0a61b8b46419 (patch) | |
tree | 1b89af035cf6a72a57acac08ac9b3a485d490aac /docs | |
parent | a5ae79604ccc068d627ab21a5f66d23279654ea1 (diff) | |
download | gitbook-3e4241fc8810db9a789fa04acf0c0a61b8b46419.zip gitbook-3e4241fc8810db9a789fa04acf0c0a61b8b46419.tar.gz gitbook-3e4241fc8810db9a789fa04acf0c0a61b8b46419.tar.bz2 |
Implement renderInline method and missing output methods for API
Diffstat (limited to 'docs')
-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 |