Giter VIP home page Giter VIP logo

Comments (4)

agoose77 avatar agoose77 commented on May 31, 2024

@bollwyvl thanks for the heads up about Binder. I'd noticed the CI was failing but left it on the backburner until I had more time. Fixed in 420e9eb. This is an interesting idea, and one that I'd be interested in!

from jupyterlab-markup.

bollwyvl avatar bollwyvl commented on May 31, 2024

cool. working it right now.

so there's a bit of bookkeeping between the viewers and editors... it's already smelling manager-like, but the first pass will be a void-providing plugin, until it works... I'm sure somebody would want to listen in on it, though...

from jupyterlab-markup.

bollwyvl avatar bollwyvl commented on May 31, 2024

Still nothing to show for it.

One thing: i did have to hoist the allowedAttributes up to the sanitize options in IPlugin, as it was stripping out data-source-line.

I had forgotten how much i dislike syncing to referent frames... the codemirror stuff sounds tantalizingly close in a number of places with things like getViewport, but it's not really fit for this purpose as it (rightly) is more interested in it's rendering window rather than what's visible.

Meanwhile, scrolling the RenderedMarkdown has some pitfalls. One doesn't really read from scrollTop, and when editing, it's really quite often the scrollTop + offsetHeight. So there's probably gotta be some scaling factor where there percent of total scroll impacts where the other scroll ends up.

The last thing, and something i didn't realize about markdownit, is that, for example, fence is taken by the diagram plugin, and needs some nasty tricks to get data-source-line added to it.

Will update if i make more progress!

from jupyterlab-markup.

agoose77 avatar agoose77 commented on May 31, 2024

Thanks for keeping me in the loop! It sounds a little gnarly work to be honest, glad someone is tackling it ;)

from jupyterlab-markup.

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.