Giter VIP home page Giter VIP logo

Comments (4)

textbook avatar textbook commented on July 19, 2024

I'm sorry you're having trouble, thanks for letting me know. There's not a lot to go on there, though; could you give a concrete example of something that causes the problem?

from bulrush.

ayushkumarshah avatar ayushkumarshah commented on July 19, 2024

Sure. Here are a few examples:

  • Example 1: Embedding Python trinkets into the markdown articles by adding
<iframe src="https://trinket.io/embed/python/ae8b78e83a" width="100%" height="100%" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen></iframe>

results into most of the code cut as shown here.
image

While in other themes, it works as required as seen below.
image

  • Example 2: Embedding jupyter notebook using pelican-jupyter plugin
    When I try to embed jupyter notebooks as content, it has similar problems as seen below:
    image

While the desired output is something like this:
image

from bulrush.

ayushkumarshah avatar ayushkumarshah commented on July 19, 2024

image

You can see even youtube videos cannot be embedded properly using pelican plugins liquid_tags.youtube. Anything I try to embed is cut into a fixed small height.

from bulrush.

textbook avatar textbook commented on July 19, 2024

It seems like this is an issue with embedding iframes in flexbox - given that Bulrush is based on Bulma, which uses flexbox for the layout, it's out of scope to deal with this at the theme level. You can look at e.g. https://stackoverflow.com/q/33270525/3001761 for fixes.

from bulrush.

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.