fix markdown again

This commit is contained in:
2023-06-12 10:47:45 +02:00
parent 04fbf5314a
commit b5d5892975

View File

@@ -38,13 +38,13 @@
</head> </head>
<body> <body>
<div class="container"> <div class="container">
<script> <div class="markdown-content">
const md = window.markdownit({linkify: true, html: true}); <script>
const result = md.render(` const md = window.markdownit({linkify: true, html: true});
# Testing In-Browser Markdown Rendering And YouTube Embed const result = md.render('# Testing In-Browser Markdown Rendering And YouTube Embed');
`); document.querySelector('.markdown-content').insertAdjacentHTML("beforeend", result);
document.body.insertAdjacentHTML("beforeend", result); </script>
</script> </div>
<div class="video-wrapper"> <div class="video-wrapper">
<iframe src="https://www.youtube.com/embed/QJ38en58Onk" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> <iframe src="https://www.youtube.com/embed/QJ38en58Onk" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div> </div>