developit / developit/snarkdown
Unexpected parsing with single characters such as *
- 主要言語
- JavaScript
- スター
- 2.4k
- フォーク
- 116
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I'm trying to use an asterisk in my string but it makes everything after is _Italic_. I believe this behaviour is unexpectes.
Input:
```
This string has something *important, so I use an asterisk.
```
Expected:
This string has something *important, so I use an asterisk.
Actual:
This string has something *_important, so I use an asterisk._
If this behaviour is expected I then one should resort to escaping the said character, however this also produces an undesirable result.
Input:
```
This string has something \*important, so I use an asterisk.
```
Expected:
This string has something *important, so I use an asterisk.
Actual:
This string has something \\*important, so I use an asterisk.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、issue に示されている 2 つの入力を再現し、parser による対応するもののないアスタリスクの扱いと、バックスラッシュでエスケープした形式を比較します。単独のアスタリスクがリテラルのまま残り、それをエスケープすると 1 つのリテラルなアスタリスクが生成され、記載された期待出力と一致すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100