navinpai / kotlin-vs-java

Kotlin vs Java

Home Page:https://www.kotlinvsjava.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kotlin vs Java

License

Web page: https://www.kotlinvsjava.com

Based on fabiomsr/from-java-to-kotlin

Develop

  1. Install npm
  2. Install coffeescript
  3. Install dependencies (npm i)
  4. Build html (./make.coffee dev)

First, the cirru templates (in ./cirru) are combined with the header and footer (./cirru/header.cirru + ./cirru/{FILE}.cirru + ./cirru/footer.cirru). Next, the generated cirru templates from the first step (in ./cirru/generated) are converted into HTML (in ./).

Adding new code snippets

The code snippets reside in the code/java and code/kotlin folders. They are referenced in cirru (./cirru) templates this way:

.lang Java
pre.code $ code (@insert ../../code/java/dsl/04.java) $ :class java

How to contribute

Fork repository, make changes, send a pull request. I will review your changes and apply them to the master branch shortly, provided they don't violate the quality standards. Before sending your pull request please check that the HTML is generated correctly:

./make.coffee dev

Got questions?

If you have questions or general suggestions, don't hesitate to submit a new Github issue.

About

Kotlin vs Java

https://www.kotlinvsjava.com

License:MIT License


Languages

Language:Cirru 51.1%Language:Java 23.1%Language:Kotlin 15.9%Language:CSS 7.5%Language:CoffeeScript 2.4%Language:HTML 0.1%