question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

imcompatibility with minify plugin

See original GitHub issue

Dear @fralau,

I detected an incompatibility between mkdocs-mermaid2-plugin and minify

This does not work:

site_name: Ma doc

theme:
  name: material
  font: false
  language: 'fr'
  feature:
    tabs: true
  palette:
    scheme: default
    primary: 'blue grey'
    accent: 'orange'

plugins:
  - search
  - mermaid2:
      arguments:
        theme: 'dark'
  - minify:
      minify_html: true

markdown_extensions:
  - pymdownx.superfences:
      custom_fences:
        - name: mermaid
          class: mermaid
          format: !!python/name:mermaid2.fence_mermaid

extra_javascript:
  - https://unpkg.com/mermaid@8.5.0/dist/mermaid.min.js

use_directory_urls: false
nav:
  - Accueil: index.md

but work without the lines

  - minify:
      minify_html: true

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
fralaucommented, Jun 16, 2020

Documentation added in 2a825e3.

0reactions
kevungcommented, Jun 15, 2020

I can certainly avoid to use minify. Maybe it would be nice to put a note in the plugin readme to indicate the conflict with minify plugin? Thank you again for your help! I let you choose if you want to close the issue or let it open if you want to find a fix. Bye

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to Activate WP Optimize: Minify Incompatible Plugins
1. Unzip the WP-Optmize ZIP on your local machine, using a zip utility such as 7-zip. · 2. Access your WordPress installation via...
Read more >
When enabling minify, some functionality is broken. How can I ...
This usually means one or more of your JavaScript files are incompatible with the minification or merging process. It can also be caused...
Read more >
Incompatible or Unrecommended WordPress Plugins on Shifter
General Information on plugin compatibility​​ We strongly recommend that you disable or uninstall some plugins while using Shifter for the following reasons.
Read more >
We Tested 3 WordPress Minify Plugins: Our Results - ThemeIsle
WordPress minify plugins offer a great way to optimize your site's performance, but how to pick the best one? What are the differences ......
Read more >
Incompatible Plugins – WordPress.com Support
This page contains a list of unsupported plugins and accompanying reasons why. ... WordPress Cache Plugin; Comet Cache; Cache Enabler; Fast Velocity Minify...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found