Hi everyone,

has anyone had success with activating the markup plugin with annotator 1.2?
My minimal setup is:
<html>
    <head>
        <link rel="stylesheet" href="" style="color:#008000;font-weight:bold;">"http://assets.annotateit.org/annotator/v1.2.10/annotator.min.css">
        <script src="" style="color:#008000;font-weight:bold;">"https://code.jquery.com/jquery-1.11.3.js"></script>
        <script src="" style="color:#008000;font-weight:bold;">"https://cdn.rawgit.com/showdownjs/showdown/1.3.0/dist/showdown.min.js"></script>
        <script src="" style="color:#008000;font-weight:bold;">"http://assets.annotateit.org/annotator/v1.2.10/annotator.min.js"></script>
        <script src="" style="color:#008000;font-weight:bold;">"http://assets.annotateit.org/annotator/v1.2.10/annotator.markdown.min.js"></script>
    </head>
    <body>
        <div id="content">
            <h1>Titel</h1>
        </div>
        <script type="text/_javascript_">
        jQuery(function ($) {
            $('#content').annotator().annotator('addPlugin', 'Markdown');
        });
        </script>
    </body>
</html>
However the activation fails, and firebug report the following error:

    To use the Markdown plugin, you must include Showdown into the page first.

Obviously the showdown js module is loaded before annotator in the HTML above, what else can be wrong? Any help is very much appreciated.

Thanks,

Ralph

_______________________________________________
annotator-dev mailing list
[email protected]
https://lists.okfn.org/mailman/listinfo/annotator-dev
Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev

Reply via email to