<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>Load with Require.js (AMD)</title>
    </head>
    <body style="padding: 50px">
        <div id="root"></div>

        <!-- Require.js -->
        <script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.2/require.min.js"></script>

        <script>
            requirejs.config({
                paths: {
                    'html-react-parser': 'https://unpkg.com/html-react-parser@latest/dist/html-react-parser.min',
                    'react': 'https://unpkg.com/react@latest/dist/react.min',
                    'react-dom': 'https://unpkg.com/react-dom@latest/dist/react-dom.min'
                }
            });

            requirejs([
                'react-dom', 'html-react-parser'
            ], function(ReactDOM, HTMLReactParser) {
                ReactDOM.render(
                    HTMLReactParser(
                        '<h2 style="font-family:\'Lucida Grande\';">' +
                            'HTMLReactParser loaded with Require.js' +
                        '<\/h2>'
                    ),
                    document.getElementById('root')
                );
            });
        </script>
    </body>
</html>

Add example of loading the parser with Require.js (AMD)
Add example of loading the parser with Require.js (AMD)

Create an HTML file in `./examples/ that loads the parser and
React with Require.js
