Title: doesn&#8217;t work with Learndash posts. Why?
Last modified: January 4, 2023

---

# doesn’t work with Learndash posts. Why?

 *  [arjunarjun](https://wordpress.org/support/users/arjunarjun/)
 * (@arjunarjun)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/doesnt-work-with-learndash-posts-why/)
 * Hi, this plugin doesnot display the diagrams in the frontend of learndash posts,
   although you can preview the diagram in the backend editor. Please resolve this
   issue. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [neffff](https://wordpress.org/support/users/neffff/)
 * (@neffff)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/doesnt-work-with-learndash-posts-why/#post-16340197)
 * I’m not familiar with learndash — and it appears to be a paid plugin and unfortunately
   there is no way to test it. Is there any more information you can provide about
   testing/errors that you’re seeing? (I would try looking in the developer tools
   console ([firefox](https://developer.mozilla.org/docs/Tools/Web_Console?utm_source=devtools&utm_medium=onboarding)/
   [chrome](https://developer.chrome.com/docs/devtools/open/))).
    -  This reply was modified 3 years, 5 months ago by [neffff](https://wordpress.org/support/users/neffff/).
      Reason: Added additional information about debugging
 *  Plugin Author [neffff](https://wordpress.org/support/users/neffff/)
 * (@neffff)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/doesnt-work-with-learndash-posts-why/#post-16379499)
 * The kind people at Learndash granted me a license, but I don’t seem to be able
   to reproduce the error. Can you give me a set of steps to reproduce?
 * FYI, I created a course and looked at the course in both the backend (gutenberg)
   and front-end(via currently enabled theme) and didn’t see the problem.
 *  Thread Starter [arjunarjun](https://wordpress.org/support/users/arjunarjun/)
 * (@arjunarjun)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/doesnt-work-with-learndash-posts-why/#post-16379838)
 * Hi, in my case with the learndash lesson posts, the diagram appears in the frontend
   only after using this code in the backend alongside your plugin use:
 *     ```wp-block-code
       <!-- wp:html -->
       <script type="module">
             import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@9/dist/mermaid.esm.min.mjs';
             mermaid.initialize({ startOnLoad: true });
           </script>
       <!-- /wp:html -->
       ```
   
 * But, in the backend, the diagram appears without using this code .

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘doesn’t work with Learndash posts. Why?’ is closed to new replies.

 * ![](https://ps.w.org/merpress/assets/icon.svg?rev=2545910)
 * [MerPress](https://wordpress.org/plugins/merpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/merpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/merpress/)
 * [Active Topics](https://wordpress.org/support/plugin/merpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/merpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/merpress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [arjunarjun](https://wordpress.org/support/users/arjunarjun/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/doesnt-work-with-learndash-posts-why/#post-16379838)
 * Status: not resolved