Add more information to Link nodes (for round-trip rendering)
還沒有人認領這個 Issue。
評估
研究方向
先閱讀 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
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
commonmark/commonmark-java 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 74/100
commonmark/commonmark-java#457 ·
-
難度 3/5 1-2 天 新手友好度 48/100
commonmark/commonmark-java#443 · 4 則留言 ·
-
enhancement
難度 4/5 3-5 天 新手友好度 45/100
commonmark/commonmark-java#428 · 4 則留言 ·
-
enhancement
難度 5/5 一週以上 新手友好度 25/100
commonmark/commonmark-java#414 · 1 則留言 · 1 個 reaction ·
-
enhancement
難度 5/5 一週以上 新手友好度 30/100
commonmark/commonmark-java#411 · 2 則留言 ·
查看 commonmark/commonmark-java 的全部 Issue
相似的 Issue
-
Bug Java Platform: Java
難度 2/5 1-3 小時 新手友好度 78/100
getsentry/sentry-java#6138 · 1 則留言 ·
-
bug needs triage p2
難度 2/5 1-3 小時 新手友好度 78/100
GoogleCloudPlatform/DataflowTemplates#4273 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
-
難度 2/5 1-3 小時 新手友好度 76/100
-
bug needs triage
難度 2/5 1-3 小時 新手友好度 76/100