Created
August 14, 2020 13:46
-
-
Save sivaprabug/20135332d2f639f1a109e2c79893ff87 to your computer and use it in GitHub Desktop.
We embeded a markdown file in html with web components loader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<!-- Lightweight client-side loader that feature-detects and load polyfills only when necessary --> | |
<script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs@2/webcomponents-loader.min.js"></script> | |
<!-- Load the element definition --> | |
<script type="module" src="https://cdn.jsdelivr.net/gh/zerodevx/zero-md@1/src/zero-md.min.js"></script> | |
<!-- Simply set the `src` attribute to your MD file and win --> | |
<zero-md src="help.md"></zero-md> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment