Giter Site home page Giter Site logo

Comments (3)

tstehr avatar tstehr commented on June 9, 2024

Hi 👋

Thank you for reporting this issue! I've tested locally and can confirm that this is a bug in the recipemd implementation.

Looks like it might be easy to fix. I'll give it a try on the weekend.

from recipemd.

tstehr avatar tstehr commented on June 9, 2024

Just a quick head up that I haven't forgotten about this issue.

It turns out to be a somewhat bigger problem that is probably impossible to fix with our underlying CommonMark parser commonmark.py, since we don't get enough access to the source positions from the parse result (see also #37).

Additionally, commonmark.py has been deprecated in the meantime so this seemingly innocuous issue as spun out into researching alternative CommonMark implementations and migrating recipemd, which is still ongoing.

from recipemd.

tstehr avatar tstehr commented on June 9, 2024

I've just released recipemd 4.1.0, which is now based on markdown-it-py instead of commonmark.py.

With the new underlying CommonMark parser I'm able to very flexibly configure parsing, allowing recipemd to essentially treat reference links and images as regular paragraphs.

This ensures that they now appear as authored in the parsed recipe 🎉

from recipemd.

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.