added nested folder with markdown experiment
This commit is contained in:
17
1/baby-makes-an-ugly-website-in-100-seconds.html
Normal file
17
1/baby-makes-an-ugly-website-in-100-seconds.html
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/markdown-it/13.0.1/markdown-it.min.js" integrity="sha512-SYfDUYPg5xspsG6OOpXU366G8SZsdHOhqk/icdrYJ2E/WKZxPxze7d2HD3AyXpT7U22PZ5y74xRpqZ6A2bJ+kQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<script>
|
||||||
|
const md = window.markdownit();
|
||||||
|
const result = md.render(`
|
||||||
|
# Testing In-Browser Markdown Rendering And YouTube Embed
|
||||||
|
|
||||||
|
<iframe width="560" height="315" 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>
|
||||||
|
`);
|
||||||
|
document.body.insertAdjacentHTML("beforeend", result);
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user