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 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
commonmark/commonmark-spec#844 · コメント 5 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
commonmark/commonmark-spec#842 ·
commonmark/commonmark-spec の issue をすべて見る
似ている issue
-
[Bug]: Revit selector reads process ids 2000-2099 as years (flaky AgentClientTests.AYearOrAProcessIdSelectsTheHost)対応中かも @Wurschdhaud が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
pyrevitlabs/pyRevit#3817 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
521xueweihan/HelloGitHub#4074 ·
-
follow-up
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
Helm chart: allow setting ingressClassName on the Ingress対応中かも @commarla が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
pgadmin-org/pgadmin4#10658 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100