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

read: paragraph text that looks like a Markdown block becomes structure on publish

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
74/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go, markdown
領域
cli

調査の方向性

Start in storage_to_md.go at renderBlock's block-level p case, then trace the read → publish path described in the issue. Cover the listed leading Markdown block markers, including HTML and table-like lines, and verify that escaped paragraph text remains unchanged after another read → publish cycle.

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

説明

bug

Problem

`read` and `export` write a paragraph's text as Markdown without escaping a leading block marker, so text that looks like a Markdown block turns into that block on the next publish. Found in the second review of #55.

Reproduced 2026-09-25 (read → publish):

storage read writes publish sends
`

1. not a list

`
`1. not a list` `
  1. not a list
`
`

# not heading

`
`# not heading` `

not heading

`
`

> 5 errors

`
`> 5 errors` `

5 errors

`

The page's content changes silently on a read → update cycle, and the Markdown is a fixed point after the first cycle, so no round-trip test notices. It affects every paragraph `read` writes: top level, layout cells, macro bodies, and (since #55) raw table cells. A GFM pipe-table cell is not affected, because its text is inline.

Notes

  • The fix belongs where `storage_to_md.go` renders a block-level `

    ` (`renderBlock`'s `p` case), escaping a leading marker with a backslash (`1\.`, `\#`, `\>`).

  • The markers to cover include `-`, `+`, `*`, `1.`/`1)`, `#`, `>`, a line that is only `---`/`===` (a thematic break or a setext underline), four leading spaces (indented code), and `|` if a line could read as a table row. Probably also a leading `<` that would start an HTML block.
  • The escape must survive the next read, so the Markdown stays a fixed point.
主要言語
Go
スター
2
フォーク
0
平均マージ
2時間 29分
マージ済み PR(30日)
60

環境構築

はじめの一歩

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

mozilla/markfluence のほかの issue

mozilla/markfluence の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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