JSFiddle - React, Tailwind, and code Playground

by heyeshuang

HTML

<script src="//cdnjs.cloudflare.com/ajax/libs/speakingurl/14.0.1/speakingurl.min.js"></script>
<pre id="output"></pre>

JavaScript

title="更琐碎的编辑器细节 / Some more trival details about Steemit"
out(getSlug(title));

function out()
{
    var args = Array.prototype.slice.call(arguments, 0);
    document.getElementById('output').innerHTML += args.join(" ") + "\n";
}