Skip to content

Instantly share code, notes, and snippets.

@sivaprabug
Created August 14, 2020 13:46
Show Gist options
  • Select an option

  • Save sivaprabug/20135332d2f639f1a109e2c79893ff87 to your computer and use it in GitHub Desktop.

Select an option

Save sivaprabug/20135332d2f639f1a109e2c79893ff87 to your computer and use it in GitHub Desktop.

Revisions

  1. Sivaprabu Ganesan renamed this gist Aug 14, 2020. 1 changed file with 0 additions and 0 deletions.
  2. Sivaprabu Ganesan created this gist Aug 14, 2020.
    19 changes: 19 additions & 0 deletions embeded_mardown_in_html.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    <!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>