• Hello,

    I am testing LearnPress to build development courses. I would like to use Markdown to create textual lessons with a lot of code examples. Is there any markdown support in LearnPress?
    I already use the WP Githuber MD and it works beautifully with Pages and Articles.
    I enabled it also for the Courses and Lessons post types that comes with LearnPress but it won’t work. If I open the Developer Console I got the following errors
    (or please look at the screenshot here):

    
    [Error] SyntaxError: Can't create duplicate variable: '$'
    [Error] TypeError: undefined is not an object (evaluating 'exports.title')
    	factory (en.js:44)
    	(funzione anonima) (en.js:124)
    	Codice globale (en.js:127)
    [Warning] jQuery.Deferred exception: Can't find variable: editormd (2) (load-scripts.php, line 2)
    "@https://localhost:8888/wp-content/plugins/wp-githuber-md/assets/js/githuber-md.js?ver=1.16.1:98:42
    e@https://localhost:8888/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,underscore&ver=5.8.3:2:30043
    @https://localhost:8888/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,underscore&ver=5.8.3:2:30341"
    undefined
    [Error] ReferenceError: Can't find variable: editormd
    	(funzione anonima) (load-scripts.php:2:31711)
    
    • This topic was modified 3 years, 1 month ago by acaland.
    • This topic was modified 3 years, 1 month ago by acaland.
    • This topic was modified 3 years, 1 month ago by acaland.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support brianvu-tp

    (@briantp)

    Hi,

    We don’t use that plugin before so not sure it can compatible with the our plugin.
    The error come to WP Githuber MD plugin, not of LearnPress.

    Thanks

    Thread Starter acaland

    (@acaland)

    ok. It works perfectly with regular WP pages and posts.
    Btw, is there any option to use markdown with your plugin?

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Markdown support for lessons and problems with WP Githuber MD’ is closed to new replies.