Git Product home page Git Product logo

Comments (3)

nex3 avatar nex3 commented on May 3, 2024

GitHub actually has subtly different Markdown parsing that it uses for rendering Markdown files and for release notes. In files, newlines within paragraphs are ignored, but in release notes (as well as issues, comments, and a number of other places) newlines within paragraphs are converted to user-visible line breaks. To ensure that the CHANGELOG file's formatting is preserved, we convert newlines to spaces before passing it as release notes.

That said, we shouldn't strip newlines if they're before lists. Do you want to take a crack at fixing the issue?

from dart_cli_pkg.

leoafarias avatar leoafarias commented on May 3, 2024

@nex3 just before jumping in on this, I was looking through the sass release notes, and seems the problem does not happen there. My markdown linter seems to replace * for - do you think the issue has to do with the list character?

from dart_cli_pkg.

nex3 avatar nex3 commented on May 3, 2024

No, I think the difference is that we include full blank lines between each bullet point.

from dart_cli_pkg.

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.