中間名單我希望下面的文字(在80個字符標記注換行符):CommonMark插入段
This worked for a few months. Unfortunately, occasionally a test would time
out and fail after 18 seconds - maybe 1 in 100 test runs would fail with a
timeout. Normally when the tests fail you get back some kind of error message
- a Postgres constraint failure will print a useful message, or a Javascript
exception will bubble up, or Javascript will complain about an unhandled
rejection.
時,通過降價編輯器中運行,生成以下HTML:
<p>
This worked for a few months. Unfortunately, occasionally a test would time
out and fail after 18 seconds - maybe 1 in 100 test runs would fail with a
timeout. Normally when the tests fail you get back some kind of error message
- a Postgres constraint failure will print a useful message, or a Javascript
exception will bubble up, or Javascript will complain about an unhandled
rejection.
</p>
當我運行它通過cmark
,我得到如下:
<p>This worked for a few months. Unfortunately, occasionally a test would time
out and fail after 18 seconds - maybe 1 in 100 test runs would fail with a
timeout. Normally when the tests fail you get back some kind of error message</p>
<ul>
<li>a Postgres constraint failure will print a useful message, or a Javascript
exception will bubble up, or Javascript will complain about an unhandled
rejection.</li>
</ul>
<p>With this error we didn't get any of those. We also observed it could happen
anywhere - it didn't seem to correlate with any individual test or test file.</p>
哪似乎不正確 - 我絕對不希望列表在段落中間開始。這是規範中的問題,還是有什麼我可以做不同的事情不觸發這種行爲?
有趣。這是Markdown的分歧。參見[Babelmark](http://johnmacfarlane.net/babelmark2/?normalize=1&text=This+worked+for+a+few+months.+Unwanted%2C+occasionally+a+test+would+time%0Aout+and +失敗+後+ 18 +秒+ - +也許+ 1 +在+ 100 +測試+ +中+測試+失敗時運行+會+失敗+與+一%0Atimeout +通常+ +你+拿到+背部+一些+種+ +錯誤消息%+ 0A- + A +的Postgres +約束+失敗+意願+打印+ A +有用+消息%2C +或+ A +的Javascript%0Aexception +將+氣泡+向上%2C +或+ Javascript +會+抱怨+關於+未處理的%0Arejection。) – Waylan