Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math
/* | |
You would call this when receiving a plain text | |
value back from an API, and before inserting the | |
text into the `contenteditable` area on a page. | |
*/ | |
define(function(require) { | |
'use strict'; | |
/* | |
Used to convert text with line breaks |
Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math
Questions and comments welcome anytime – thanks for reading!