Skip to content

Instantly share code, notes, and snippets.

@randName
Created March 17, 2020 06:57
Show Gist options
  • Save randName/9b2675aa92487228b18c81ff8bb14e1a to your computer and use it in GitHub Desktop.
Save randName/9b2675aa92487228b18c81ff8bb14e1a to your computer and use it in GitHub Desktop.
test-embed-bug

test-embed-bug

Testing embedded content

embed

embed

source

source

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Some Demo</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<h1>hi</h1>
<script type="module">
/// [demo]
function square (n) {
return n * n
}
/// [demo]
</script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>test-embed-bug</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
</head>
<body>
<div id="app"></div>
<script>window.$docsify = {}</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment