Add more information to Link nodes (for round-trip rendering)
評估
研究方向
先閱讀 issue #12 和 pull request #20 中的舊 PR 討論,尤其是 issue 中連結的留言。釐清最終的 Node 模型,以及應如何區分 inline links、autolinks 和 reference links。完成的標準是:為 round-trip rendering 保留 link reference definitions 和 source link types。
由索引模型根據 Issue 內容生成。
描述
For #12, we need to preserve link reference definitions. We also need to be able to distinguish between the different link types (inline links, autolinks, reference links).
There is an old PR which might serve as a starting point: https://github.com/atlassian/commonmark-java/pull/20#issuecomment-142782665
I'm not sure yet what the final Node types should look like. Ideally we'd have an interface that all the links can implement for code that doesn't care about what the source representation was.
If someone is interested in working on this, please comment here first so we can figure out what the end result should look like.
- 主要語言
- Java
- 星號
- 2.7k
- 分支
- 336
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
commonmark/commonmark-java 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 70/100
commonmark/commonmark-java#460 ·
-
Second code span not recognised after an unclosed backtick string and another code span可能已有人在做 @TanbirRamim 於 12 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 68/100
commonmark/commonmark-java#458 ·
-
難度 4/5 3-5 天 新手友好度 74/100
commonmark/commonmark-java#457 ·
-
難度 3/5 1-2 天 新手友好度 48/100
commonmark/commonmark-java#443 · 4 則留言 ·
-
Option to define custom flanking/canOpen/canClose rules for delimiters可能重新可做 @abhiramaab 於 56 天前認領,目前沒有進行中的 PR。 未關閉enhancement
難度 4/5 3-5 天 新手友好度 45/100
commonmark/commonmark-java#428 · 4 則留言 ·
查看 commonmark/commonmark-java 的全部 Issue
相似的 Issue
-
GeminiUtil placeholder user turn ("Continue output. DO NOT look at this line ...") is flagged by prompt injection filters可能已有人在做 @innoprej 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 78/100
salesforce/multicloudj#667 ·
維護者通常 1 天內回覆
-
Add Zammad可能已有人在做 @Arslan-TR 今天認領。 未關閉request
難度 2/5 1-3 小時 新手友好度 66/100
endoflife-date/endoflife.date#11298 · 1 則留言 ·
維護者通常 1 天內回覆
-
bug documentation
難度 2/5 1-3 小時 新手友好度 67/100
維護者通常 1 天內回覆
-
electron tech debt
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆