Get started with custommarkup CDN

MIT licensed

The CustomMarkup library enables dynamic content injection into specific elements on a webpage.

Tags:
  • custommarkup
  • HTML framework

Stable version

Copied!

How to start using custommarkup CDN


<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="https://cdn.cdnhub.io/custommarkup/1.1.12/cm.min.css">
  <title>Get started with custommarkup CDN - cdnhub.io</title>
</head>
<body>
  <div id="content">
    <p>This is some <mark class="highlight">highlighted</mark> text.</p>
    <p>And here's some <sup class="footnote">1</sup> footnote text.</p>
  </div>

  <script src="https://cdn.cdnhub.io/custommarkup/1.1.12/cm.min.js"></script>
  <script>
    document.addEventListener('DOMContentLoaded', function() {
      CM.init({
        el: '#content',
        mode: 'inline'
      });
    });
  </script>
</body>
</html>
Copied!
Copied!

All versions