Reference links do not translate
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
調査の方向性
参照リンクの定義([reference link]: url のような行)が収集され、インラインの [text][ref] リンクが置換される markdown2.py から着手してください。イシュー内の再現スニペットは、そのまま失敗するケースになっています。tests/ ディレクトリに既存のリンク/参照リンクのテストケースがないか確認し、この例をそのひとつとして追加してください。スニペットが定義された URL を持つ a タグとしてレンダリングされ、テストスイート全体が通れば完了です.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Reference links are not properly translated to links in the generated HTML.
To Reproduce
This is a [reference link] and should be translated to an `a` tag in the generated HTML.
[reference link]: https://gist.github.com/emedinaa/28ed71b450243aba48accd634679f805
(The link is actually a gist that shows different ways to do links in Markdown, including this style.)
Expected behavior
The following HTML should be produced:
<p>This is a <a href="https://gist.github.com/emedinaa/28ed71b450243aba48accd634679f805">reference link</a> and should be translated to an <code>a</code> tag in the generated HTML.
Debug info
Version of library being used: 2.5.4 and 2.5.5
Any extras being used: None
Additional context
Add any other context about the problem here.
- 主要言語
- Python
- スター
- 2.8k
- フォーク
- 463
- 平均マージ
- 2日 9時間
- マージ済み PR(30日)
- 8
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
trentm/python-markdown2 のほかの issue
-
Add py.typed marker対応中かも @mac-agent が 196 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
trentm/python-markdown2#696 ·
-
難易度 3/5 半日 初心者へのやさしさ 74/100
trentm/python-markdown2#731 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
trentm/python-markdown2#726 ·
-
markdown2 malformed HTML tokenizer CPU denial of service対応中かも @wolfgang-aura が 5 日前に担当しました。 オープンBug
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
trentm/python-markdown2#707 ·
-
Bug
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
trentm/python-markdown2#688 · コメント 4 件 ·
trentm/python-markdown2 の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
esphome/esphome.io#7657 ·
メンテナーはふだん 1 日以内に返信
-
comp/gateway comp/plugins duplicate P3 type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
NousResearch/hermes-agent#137019 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Kumo-Tabular weights unreachable behind restrictive egress proxies (Xet + plain HTTP both fail)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
NVIDIA/structured-data-models#1091 ·
メンテナーはふだん 1 日以内に返信
-
[work-item] adam-adae-worsening-emergence: conform spec.yaml to the specification style contract (REQ-1280)対応中かも @muse-yamaa-bot が今日担当しました。 オープンwork-item
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信