Giter Site home page Giter Site logo

Ignore Shields about mkdocs-glightbox HOT 5 CLOSED

TRaSH- avatar TRaSH- commented on August 23, 2024
Ignore Shields

from mkdocs-glightbox.

Comments (5)

TRaSH- avatar TRaSH- commented on August 23, 2024 1

Thnx it works, i was trying to add it outside the brackets and that didn't work for the shields.

from mkdocs-glightbox.

blueswen avatar blueswen commented on August 23, 2024

Adding an off-glb class to the image attribute or adding an existing image class as skip_classes to plugin options could disable glightbox effect by the image. Check more details on Disable by image.

from mkdocs-glightbox.

TRaSH- avatar TRaSH- commented on August 23, 2024

I tried that, but it breaks the shield, or I'm doing something wrong.
[![Discord chat](https://img.shields.io/discord/492590071455940612?style=for-the-badge&color=4051B5&logo=discord)](https://trash-guides.info/discord){:target="_blank" rel="noopener noreferrer"}

Added as test at the end and after the URL

from mkdocs-glightbox.

blueswen avatar blueswen commented on August 23, 2024

Try to add off-glb class to the image as follows:

[![Discord chat](https://img.shields.io/discord/492590071455940612?style=for-the-badge&color=4051B5&logo=discord){.off-glb}](https://trash-guides.info/discord){:target="_blank" rel="noopener noreferrer"}

It's working on my machine with your doc Guides.

from mkdocs-glightbox.

TRaSH- avatar TRaSH- commented on August 23, 2024

Hmm
Back to the drawing board when I get home and retest it.
Thnx
I'll report back

from mkdocs-glightbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.