Git Product home page Git Product logo

tutorial-1's Introduction

Tutorial

Build Status

Tutorials for CloudBoost is hosted at https://tutorials.cloudboost.io

Guide for writing tutorials

Apart from Markdown Guide for markdown, this guide will help you to make tutorials compatible with https://tutorials.cloudboost.io

Menu Headings

Menu headings should start with #(h1 tag), without full stop(.) at the end.

Info

Info quotes should enclosed in span tags with class="tut-info".
eg: <span class="tut-info">Info</span>

Important quotes

Important quotes should be enclosed in span tags with class="tut-imp".
eg: <span class="tut-imp">important </span>

Warning quotes

Warning quotes should be enclosed in span tags with class="tut-warning".
eg: <span class="tut-warning">Warning </span>

Images

For full length images, use image tag with class="full-length-img".
eg: <img class="full-length-img" alt="" src="path/image.png">
For center/mid length images, use image tag with class="center-img".
eg: <img class="center-img" alt="" src="path/image.png">

Small / One line code snippets

Small code or one line code snippets should be enclosed in span tags with class="tut-snippet".
eg: <span class="tut-snippet">var x=150; </span>

Multi line code snippets

Multi lines code snippet acts as code tabs of different programming languages. These multi line code should be written in span tags with class="(name of programming language)-lines" and with data attribute data-query="(functionality name of this code)". The main code should enclosed in ```(original markdown for code snippet) inside of span tags.

eg:

<span class="java-lines" data-query="addtable">
`` `
your code line 1
your code line 2
your code line 3
` ``
</span>

You can add more programming languages codes followed one after one of same functionality.
eg:

<span class="java-lines" data-query="addtable">
</span>
    
<span class="nodejs-lines" data-query="addtable">
</span>
    
<span class="dotnet-lines" data-query="addtable">;
</span>;

Important

  • There shoud not be any space between codes line, if it necessary to display space, use // quote marks eg:
<span class="js-lines" data-query="addtable">
` ``
var i=0;
//
var j=2
`` `
</span>
  • There should be one line space between different programming language span tags.
  • data-query="functionality name" should be same for different programming language of same functionality.
  • Functionality name should be unique and shoudn't conflict with other functionality names.
  • Following are the allowed strings to mention the programming language
    • Javascript->js-lines
    • .Net->dotnet-lines
    • Java->java-lines
    • Nodejs->nodejs-lines
    • IOS->ios-lines
    • IOT->iot-lines
    • Ruby->ruby-lines
    • cURL->curl-lines
    • XML->xml-lines

#Contribute If you want to contribute to this repo. Please make sure you spell check everything and make sure you have tested the code with the live CloudBoost API before sending us the pull request.

tutorial-1's People

Contributors

rtbathula avatar nawazdhandala avatar egimaben avatar randhir051 avatar kbuhiire avatar utkarshpramodgupta avatar ranjeet692 avatar shubhamqweasd avatar vipul25 avatar

Watchers

rosa maria palacios juncosa avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.