By pixelbuddha [CC BY 3.0 (http://creativecommons.org/licenses/by/3.0)], via Wikimedia Commons
21 Dec 2017

code snippet test

This is a raw snippet:

hello world
123
This is a text snippet

This is a JavaScript snippet:

const add = (a, b) => a + b
const minus = (a, b) => a - b

console.log(add(100,200))  // 300
console.log(minus(100,200))  // -100

This is a Python snippet:

def say_hello():
    print("hello world!")

say_hello()   // "hello world!"

Side note comment: applied a bug fix similar to this commit to ensure code snippet does not collapse unexpectly upon clicking on it. This issue is tracked here.


Tags:
0 comments



Shabbir Hasan

Machine Learnig Enthusiast

© 2018 Shabbir Hasan