Comments (6)
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.
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.
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.
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.
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.
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)
- Flag for not collapsing new lines / blank lines / newlines / blanklines HOT 4
- unist-util-visit missing in dependencies HOT 1
- Doesn't cover headings. HOT 5
- Breaks are not applied inside a table cell HOT 1
- Heading line breaks only render using alternative syntax HOT 3
- Move transformer into `mdast-util-breaks` HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remark-breaks.