20 lines
444 B
HTML
20 lines
444 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<script src="./cryptee-to-markdown.js"></script>
|
||
|
<script>
|
||
|
function convert()
|
||
|
{
|
||
|
var json = document.getElementById("input").value;
|
||
|
var md =getMarkDown(json);
|
||
|
console.log(md);
|
||
|
document.getElementById("result").innerHTML = "<pre>" + md + "</pre>";
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<textarea id="input"></textarea>
|
||
|
<button onclick="convert();">Convertir</button>
|
||
|
<div id="result"></div>
|
||
|
</body>
|
||
|
</html>
|