Giter Club home page Giter Club logo

Comments (6)

wooorm avatar wooorm commented on May 29, 2024 1

Ah okay. So you want to generally have breaks, except in certain nodes.
I recommend using mdast-util-find-and-replace then, it supports an ignore option!

from remark-breaks.

wooorm avatar wooorm commented on May 29, 2024

A definition list should provide lazy continuation in markdown.

Okay, but why are you asking this here? I don‘t understand what you are asking.

from remark-breaks.

talatkuyuk avatar talatkuyuk commented on May 29, 2024

The definition list plugin already provides lazy continuation, but the plugin remark-breaks prevents this and puts break even into definitions lists; and my request is how remark-breaks to omit/skip to put breaks into the text nodes related with definition lists.

from remark-breaks.

wooorm avatar wooorm commented on May 29, 2024

So, the definition list plugin adds support for definition lists. And this plugin adds support for breaks.

Why use this plugin if you don’t want breaks?

I also don’t understand why you are talking about lazy continuation? Whether the continuation is lazy or not shouldn’t matter?

Would you want normal lists, with (lazy or not) continuation to use breaks?

- asd
qwe

^-- should there be a break or not?

If you only want breaks in certain cases, could you use escapes instead?

asd\
qwe

^-- hard break! more info in the readme: https://github.com/remarkjs/remark-breaks#when-should-i-use-this

from remark-breaks.

talatkuyuk avatar talatkuyuk commented on May 29, 2024

Why use this plugin if you don’t want breaks?

Is it not clear? I want breaks. I want the plugin remark-breaks makes the breaks except the text nodes under definition lists.

Got it, I am going to write a custom break plugin. Thank you for giving information.

from remark-breaks.

github-actions avatar github-actions commented on May 29, 2024

Hi! This was closed. Team: If this was fixed, please add phase/solved. Otherwise, please add one of the no/* labels.

from remark-breaks.

Related Issues (7)

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.