Bold/italic flanking issue #427
studyingegret
started this conversation in
General
Replies: 1 comment 3 replies
|
Hi @studyingegret, thank you for the cool insights! I feel an ad-hoc escape would be too overkill for such a niche use case. Luckily, you can get rid of ambiguity thanks to Quarkdown's .text {人类的本质:} weight:{bold}鸽子和复读机。I hope this is enough for your case! |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Yesterday I tried out Quarkdown for the first time and I specifically tested this code kinda well-known to have problem in Markdown
This renders to "**人类的本质:**鸽子和复读机。" instead of making bold. This is a known problem in CommonMark (see e.g. this thread), and as far as I know CommonMark has not made a solution for it, and people have made their own solutions like this and this(?).
I'm interested what Quarkdown feels about this issue.
My personal feel about it is an escape sequence like
\!or\that acts as punctuation character for the purpose of left/right-flanking computation (see section 6.2 of the spec) but expands to nothing:The big advantage is KISS:
\!and the only change needed is what it expands to:**人类的本质:**\!鸽子和复读机。: 人类的本质:!鸽子和复读机。\!<span></span>Expected results
注意:不要向任何人发送你的秘钥。如果别人知道了你的秘钥,将能解密用公钥加密的信息,公钥会失去意义。
Luckily, equation 6 can be written in the form of a function of K+L (observe 16J+3K+3L=26J-4K-4L-18A), so we can express K+L with J and A and call it a day.
std::box::Box<i32>
No, it un-locks the door instead of locking it.
Of course,
\!is already taken in CommonMark and I'll expect it to be used to escape images\, and it may look a bit cluttery, so they're tradeoffs to consider.(
\seems not taken:a\ b: a\ b, but I dislike it because it looks spacey in document contexts not wanting a space, and expands to\and a real space in Markdown.)This might be a better thing to discuss at the CommonMark forum, but I am uncomfortable with posting there due to an unpleasant moderator unresponsiveness I have experienced.
All reactions