notetools/cryptee-to-markdown-deprecated/web-ui.html

20 lines
444 B
HTML
Raw Normal View History

2024-04-10 15:17:04 +02:00
<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>