Giter VIP home page Giter VIP logo

Comments (3)

loreanvictor avatar loreanvictor commented on May 22, 2024 1

This is an issue with markedjs. I have opened an issue on that project, and will keep this open to monitor the status of that issue.

More information: the issue seems to happen when you have styled text (emphasize, strong), followed by a colon (:), followed by two (or more) spaces, does not result in a hard-line-break using markedjs. For a work-around, you can for example add   after the colon or between the styled text and the colon.

from codedoc.

mnn avatar mnn commented on May 22, 2024

I found \ at the end of a line also works. It's not a critical issue for me, I have access to the markdown generator, so I'll later try modifying it. But in the long run I would prefer having two spaces instead of \ or  , because in my opinion those spaces followed by a new line are more readable in raw text form.

from codedoc.

loreanvictor avatar loreanvictor commented on May 22, 2024

Yes and regardless of readability compliance with common mark is essential. But I suspect it actually wouldn't be long until it is fixed on Marked.

from codedoc.

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.