appwrite/sdk-for-web

Syntax highlighting missing from example docs

kumpmati opened this issue · 0 comments

I noticed that the example docs are Markdown files, but the contents are not inside code blocks. As a result the code is missing syntax highlighting, and indentation is broken.

How it looks currently:

let sdk = new Appwrite();
sdk .setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ;
// Go to OAuth provider login page sdk.account.createOAuth2Session('amazon');

With code block:

let sdk = new Appwrite();

sdk
    .setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
    .setProject('5df5acd0d48c2') // Your project ID
;

// Go to OAuth provider login page
sdk.account.createOAuth2Session('amazon');