Coder Social home page Coder Social logo

Comments (4)

sopwerdna avatar sopwerdna commented on April 28, 2024

Update: I was able to test with firefox on android, there it appears in plaintext, disappears, and then reappears a second or so later with full syntax highlighting in a Runkit widget. It seems like the problem on all desktop browsers is that the Runkit widget hides the original text but then fails to run and replace the plain text.

from koa.

iwanofski avatar iwanofski commented on April 28, 2024

I've tested this on Safari, Chrome and Firefox on a Macbook and I've had no issues seeing the examples. Could this have been a temporary bug? Are you still missing the examples? Anyone else who can confirm the bug?

from koa.

sopwerdna avatar sopwerdna commented on April 28, 2024

Thanks - I think I've managed to confirm the problem is actually network related, with a corporate network firewall blocking websockets used by the Runkit widget (hence why it worked on my phone). Not sure why it needs a websocket connection to display code with syntax highlighting, or why the widget is hiding the plain text example code before successfully loading the enhanced code highlighting. Regardless, I think this is more a Runkit bug so I'll try to bring this to their attention.
Apologies for the spurious bug report!

from koa.

iwanofski avatar iwanofski commented on April 28, 2024

Not sure why it needs a websocket connection to display code with syntax highlighting, or why the widget is hiding the plain text example code before successfully loading the enhanced code highlighting

I wouldn't want to speculate on the "why" of how Runkit operates but to your question regarding replacing the example: I would imagine it's practical in case Runkit is down, the intended example still shows/exists on the page.

from koa.

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.