This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
burgernotes-web/markdown/index.html

24 lines
603 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<script>
let iframe = document.Get
window.addEventListener('message', function(event) {
var message = event.data;
if (message && message.header && message.body) {
if (message.header === 'head') {
console.log("head" + message.body);
} else if (message.header === 'body') {
console.log("body" + message.body);
}
}
});
</script>
</head>
<body>
<iframe src="about:blank" id="markdown-frame" style="width: 100%; height: 100%; border: none;"></iframe>
</body>