From ce534b85c140e11662a5839188471d5daf9bc278 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 27 Dec 2022 14:58:16 +0100 Subject: [PATCH] Fix indentation of toBlob()/toImage() docs It isn't considered a code block if it isn't indented properly. --- docs/API.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/API.md b/docs/API.md index d55f8d8a..ddf392f4 100644 --- a/docs/API.md +++ b/docs/API.md @@ -384,7 +384,7 @@ the screen encoded as [`ImageData`][mdn-imagedata]. ##### Syntax - RFB.getImageData(); + RFB.getImageData( ); #### RFB.machineReboot() @@ -476,9 +476,9 @@ screen encoded as [`Blob`][mdn-blob]. ##### Syntax - RFB.toDataURL(callback); - RFB.toDataURL(callback, type); - RFB.toDataURL(callback, type, quality); + RFB.toDataURL( callback ); + RFB.toDataURL( callback, type ); + RFB.toDataURL( callback, type, quality ); ###### Parameters @@ -500,9 +500,9 @@ of an `img` tag. ##### Syntax - RFB.toDataURL(); - RFB.toDataURL(type); - RFB.toDataURL(type, encoderOptions); + RFB.toDataURL( ); + RFB.toDataURL( type ); + RFB.toDataURL( type, encoderOptions ); ###### Parameters