Multi-line custom element support
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- html, markdown
- 領域
- documentation, web-dev
調査の方向性
Read related issue #239 and the linked CommonMark discussion first, focusing on the unresolved block-level parsing options for custom elements. Define the desired behavior using the multiline example, including that it must render without an unintended
wrapper, then determine the spec and implementation changes needed.
索引モデルが issue の本文から書いたものです。
説明
related: #239
I have a custom element that has a few very long attribute values, but needs to render without a wrapping <p>. It’s entirely unfeasible to write it all in one line (not to mention doing so would require me to update the component to handle escaped newlines, because it expects newlines in the string).
I get that the parsing question around this is complicated, but there needs to be a way to handle something like:
<my-element
attr1="very long content
that might even line wrap"
attr2="more very long content"
>
</my-element>
This is doubly so now that custom elements are gaining further traction.
There was discussion in #239 and https://talk.commonmark.org/t/raw-html-blocks-proposals-comments-wanted/983/69 includes discussion around the idea of whitelisting vs blacklisting block level elements, but never seemed to resolve that issue. I think, at a bare minimum, there needs to be a way to configure known block level elements, or a flag to treat custom elements as block level (I'm not entirely sure whether that's a spec issue vs. implementation though)
- 主要言語
- Python
- スター
- 5.2k
- フォーク
- 360
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
commonmark/commonmark-spec のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
commonmark/commonmark-spec#843 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
commonmark/commonmark-spec#838 · コメント 2 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
commonmark/commonmark-spec#728 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 38/100
commonmark/commonmark-spec#847 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
commonmark/commonmark-spec#844 · コメント 5 件 · リアクション 1 件 ·
commonmark/commonmark-spec の issue をすべて見る
似ている issue
-
Project submission:オープン
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
slavakurilyak/awesome-ai-agents#845 ·
メンテナーはふだん 1 日以内に返信
-
tests: pin that the atomic writers in utils/paths.py stage the temporary file in the target's directory対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンdifficulty:2 enhancement good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 92/100
MakazhanAlpamys/Soup#2178 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] dcg.waggr permutation p-values are folded twice, so near-zero scores get the smallest p-valuesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
scverse/rapids-singlecell#854 ·
メンテナーはふだん 1 日以内に返信
-
Slang input: int8_t4_packed and uint8_t4_packed are copied into CrossGL対応中かも @ninglinLiu が今日担当しました。 オープンarea:frontend backend:slang bug direction:input
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 13 日以内に返信