Emphasis clarification

オープン
#849 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
50/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
markdown
領域
documentation

調査の方向性

The rules live in the emphasis section of the spec source; start with the rules numbered 1, 5 and 13 quoted here plus the left-flanking delimiter run definition they cite, and check how **foo** is described. The edit is editorial: state explicitly that the same delimiter character cannot open both emphasis and strong emphasis, or note that rule 13 already excludes that reading. Done means the wording around **foo** is unambiguous and the neighbouring rules still agree.

索引モデルが issue の本文から書いたものです。

説明

The specification of emphasis says (among other things):

  1. A single * character can open emphasis iff (if and only if) it is part of a left-flanking delimiter run.

and

\5. A double ** can open strong emphasis iff it is part of a left-flanking delimiter run.

The text doesn't say that the same character cannot both open emphasis and strong emphasis, so **foo** can be read as being both emphasized (twice) and strongly emphasized.

Unless this item is intended to avoid that reading:

\13. The number of nestings should be minimized. Thus, for example, an interpretation <strong>...</strong> is always preferred to <em><em>...</em></em>.

If that's the intention, then it may still be worth saying that explicitly.

主要言語
Python
スター
5.2k
フォーク
361
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

commonmark/commonmark-spec のほかの issue

commonmark/commonmark-spec の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。