Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

GH editor-like (un)ordered list bullet auto insertion

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
markdown, typescript
領域
frontend

調査の方向性

ファイルもテストも指定されていません。まず Markdown モードの入力とリスト処理ロジックを特定し、次に Enter が現在、番号付きリストと箇条書きリストの行をどのように処理しているかを追跡してください。完了条件は、説明されている継続、リスト終了、通常の改行の動作に一致し、それぞれのケースをカバーすることです。

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

説明

enhancement mode - markdown

Is your feature request related to a problem? Please describe.
On the Markdown mode, I expect:

  1. Hitting enter seems like it would give me another number when I already am on a numbered line.
  2. Hitting enter again I'd assume it would delete the number if no other text was present.
  3. Hitting again (without the number on a line) I'd assume it would create a new line, as expected, normal enter behavior.

THIS Github EDITOR I'M IN RIGHT NOW DOES EXACTLY WHAT I'M ASKING FOR :)

We can do one better though, if we're on a line below a numbered line, say we're editing an existing list:
I expect that we would interpret the previous line and make the next number if there are no newlines or lines of text in between.
I don't think that would delay things too much since you only have to look at the beginning of the line and the next couple of characters with a compiled regex or w/e.

主要言語
TypeScript
スター
440
フォーク
61
平均マージ
19時間 52分
マージ済み PR(30日)
23

環境構築

はじめの一歩

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

StackExchange/Stacks-Editor のほかの issue

StackExchange/Stacks-Editor の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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