Giter Club home page Giter Club logo

Comments (3)

zbeekman avatar zbeekman commented on May 27, 2024

I determined the issue: Adding parenthesis inside markdown image urls (and possibly link urls) causes the markdown output to be different than github’s rendering. Whether this is legal markdown (having parens in urls) or not, I have no idea. I’m going to go ahead and close this issue unless you, @cmacmackin, think that this is worth trying to address.

from ford.

cmacmackin avatar cmacmackin commented on May 27, 2024

Thanks for drawing this to my attention. I have no idea if this is legal markdown. To be honest, I don't think Markdown really has an official standard, other than what was published here. Having looked at that, it doesn't say anything one way or the other about how Markdown should treat parentheses within links and images. Clearly Python-Markdown and GitHub-Flavoured-Markdown treat it differently. I don't really think there is anything I'd want to do about this. However, you (and @szhagi ) might be able to get around the problem by using "reference links" (see the documentation linked to above).

from ford.

zbeekman avatar zbeekman commented on May 27, 2024

oh, cool, I wasn’t aware of reference links. I actually just ended up removing the parentheses from the link text so that it can be consistent across the GFM and FORD markdown, and I think it looks cleaner.

from ford.

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.