Git Product home page Git Product logo

Comments (6)

lazee avatar lazee commented on September 26, 2024 1

Back to the issue :)

The initial reason for rendering inside Premonition instead of a fall-through strategy, was that I needed to insert variables into the render. But I will see if I can come up with another approach.

from premonition.

lazee avatar lazee commented on September 26, 2024

Thanks for reporting this. Haven't actually crossed my mind that this could be a problem. I will look into this and see if I can come up with a fix.

from premonition.

MaximeKjaer avatar MaximeKjaer commented on September 26, 2024

Some of these features (reference links, footnotes, etc) were important to me, so I went ahead and wrote my own plugin for content blocks to solve this problem. It's quite rudimentary right now, and not very configurable for the moment, so be warned!

@lazee, the section called "How does it work?" in the README of my plugin explains the approach, and may be a source of inspiration for a fix. The key idea is that the Markdown content of a block shouldn't be parsed separately from the rest of the document.

If premonition fixes this issue, I would be happy to archive/deprecate my plugin and recommend premonition instead.

from premonition.

lazee avatar lazee commented on September 26, 2024

@MaximeKjaer Cool, I will definitely look into this!

If you are interested, I'll be happy to let you in on the project itself. Probably a lot of cool stuff that are yet to be added :)

from premonition.

MaximeKjaer avatar MaximeKjaer commented on September 26, 2024

Sure, I can help out on the project! Can't promise a ton of time in the coming weeks, but when I do have time, I'm up for it.

from premonition.

lazee avatar lazee commented on September 26, 2024

Removing the rendering within premonition is actually not that simple. Instead I have introduced support for reference links, like this: #19

from premonition.

Related Issues (19)

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.