Comments (7)
Welcome @ZxBing0066! π
This is a duplicate of #917
To quote the answer from there
A left-flanking delimiter run is a delimiter run that is (1) not followed by Unicode whitespace, and either (2a) not followed by a Unicode punctuation character, or (2b) followed by a Unicode punctuation character and preceded by Unicode whitespace or a Unicode punctuation character. For purposes of this definition, the beginning and the end of the line count as Unicode whitespace.
And closing strong text
A right-flanking delimiter run is a delimiter run that is (1) not preceded by Unicode whitespace, and either (2a) not preceded by a Unicode punctuation character, or (2b) preceded by a Unicode punctuation character and followed by Unicode whitespace or a Unicode punctuation character. For purposes of this definition, the beginning and the end of the line count as Unicode whitespace.
(https://spec.commonmark.org/0.30/#emphasis-and-strong-emphasis)
Don't seem to be met.
I'm not sure the HTML
1<strong>(abc)</strong>2
can be represented precisely/exactly in markdown.A close equivalent may be adding zero width space characters between
1
and**
as well as**
and2
. π€
To answer your other comment
It should be a strong block, this is broken with version 9 or 10, but works fine with version 8.
remark
8 had a bug not implementing CommonMark correctly, that has been addressed in later versions and will remain fixed.
from remark.
In CommonMark **aaa\(**123
is not strong text either https://spec.commonmark.org/dingus/?text=**aaa%5C(**123
same in GitHub Flavored Markdown (GFM), **aaa\(**123
renders as **aaa(**123
from remark.
Hi! This was closed. Team: If this was fixed, please add phase/solved
. Otherwise, please add one of the no/*
labels.
from remark.
Hi! Thanks for taking the time to contribute!
Because we treat issues as our backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isnβt an exact duplicate but is closely related.
Thanks,
β bb
from remark.
Hi team! It seems this post is a duplicate, but hasnβt been marked as such. Please post a comment w/ Duplicate of #123
(no final .
) to do so. See GH docs for more info.
Thanks,
β bb
from remark.
Hi @ChristianMurphy,
Thanks for you response, that's very helpful. However the current behavior still makes me confusing. If that is by design, I think **aaa\(**123
should be working since the punctuation character has been escaped. Just my own option.
from remark.
OK, you are right. Thanks for your patient answer~π
from remark.
Related Issues (20)
- When I use 'remark-gfm 'to parse the table, it will get stuck HOT 2
- Option to use two spaces instead of backslash for hard line break HOT 15
- Request cutting out a new release HOT 2
- Error "document is not defined" when running in browser extension background HOT 2
- A stringifier option to control escaping HOT 8
- Please consider support for multi-row Headers for Tables HOT 2
- Multiple spaces in list items HOT 4
- Ampersand in link query strings unexpectedly escaped with backslash HOT 5
- Footnotes do not work within mermaid diagrams HOT 2
- How to display incomplete PHP code outside of a code block HOT 4
- Unified v11 has been released, can remark be updated to support it? HOT 4
- New release with updated dependencies HOT 8
- TypeError: this.getData is not a function HOT 4
- `Compile` not set when used as a unified plugin HOT 4
- [remark-parse] Ordered lists are not recognized if they both use leading zeroes and interrupt a block HOT 11
- Remark plugin is un-escaping content HOT 4
- HTML entity is mangled HOT 4
- Thematic break after image is parsed as an heading level 2 HOT 3
- remark-cli no longer allows using multiple plugins via the `--use` parameter HOT 2
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.