Coder Social home page Coder Social logo

kotlin-by-example's Introduction

Kotlin by Example

This is sources of Kotlin Examples.

How to make example

Create markdown file in examples folder.

# Header

Lorem ipsum dolor sit `amet`, consectetur adipisicing elit. Aspernatur, molestias, velit?

``​`run-kotlin
fun main(args: Array<String>) {
    println("Hello from template")
}
``​`

1. Epsum `factorial` non deposit quid pro quo hic escorol.
2. Souvlaki ignitus carborundum e pluribus unum.
3. Lorem ipsum dolor `sit` amet, consectetur adipisicing elit. Dicta ipsa ipsam odio officiis repellat suscipit unde vel voluptatibus. Dolorum esse eum fugit nihil provident quae quaerat quidem reiciendis, repudiandae ullam.
4. Quote meon an `estimate` et non interruptus stadium.
5. Quote meon an `estimate`


| Tables        | Are           | Cool  |
| ------------- |:-------------:| -----:|
| col 3 is      | right-aligned | 10000 |
| col 2 is      | centered      |   100 |
| zebra stripes | are neat      |    11 |

### Links

See more information in our [website](https://kotlinlang.org/)

Render as:

screen shot 2018-08-17 at 2 48 04 pm

How to use different attributes on runnable examples see Kotlin Playground documentation.

Guidelines

  1. Try and keep text to a minimum. Remember, this site is not trying to replace documentation nor necessarily describe all edge cases or dive into details. Rule of thumb should be a single paragraph introducing the example. Rest should be line annotations.
  2. Use 4 spaces for tabs.
  3. Make sure examples compile and also have some output when they run.

How to contribute

  1. Fork & clone our repository.
  2. Create new chapter with examples or add new example to existing chapter.
    1. Create chapter folder in examples folder.
    2. Create description.md file in your chapter and set a header — it's a chapter name!
    3. Create examples files.

Path to your example will be https://host/byExample/chapter/myExample1

Have a nice Kotlin!

kotlin-by-example's People

Contributors

hhariri avatar alexanderprendota avatar p7nov avatar petersommerhoff avatar jhult avatar tatsuyafujisaki avatar jaredsburrows avatar mariomac avatar pauleveritt avatar chapeupreto avatar b1ggdave avatar martin-schulte avatar satamas avatar arseniyx avatar dinomite avatar hakimrie avatar wrherbert avatar kisenka avatar thomaskalmar avatar abhilashmandaliya avatar abelkov avatar chrismontone avatar developerdavo avatar hamzalee avatar jaapp- avatar jeremystucki avatar jmeys avatar jlents avatar mlb- avatar mrinehart-r7 avatar

Watchers

James Cloos 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.