5 則留言 (5 則留言)0 個反應 (0 個反應)0 位負責人 (0 位負責人)Swift1,707 個分叉 (1,707 個分叉)batch import
enhancementgood first issueinterface
倉庫指標
- 星標
- 34,064 顆星 (34,064 顆星)
- PR 合併指標
- 平均合併 2分鐘 (平均合併 2分鐘)30 天內合併 1 個 PR (30 天內合併 1 個 PR)
描述
I would like to be able to write rich notes about my VMs using the Markdown syntax.
This could be implemented by using the AttributedString API introduced by Apple in 2021.
貢獻者指南
- 研究方向
- 該問題建議使用 Apple 的 AttributedString API 在虛擬機器備註欄位中渲染 Markdown。首先,定位當前顯示備註的 UIView 或 NSView(例如 NSTextView 或 UITextView)。然後,實作一個從 Markdown 到 NSAttributedString 的轉換器,可能使用 Swift Markdown 函式庫或自訂解析器。最後,將富文字字串設定到文字檢視上,並確保原始 Markdown 被單獨儲存。
- 技術棧
- swift
- 領域
- frontend
- 議題類型
- 功能
- 前置要求
- Swift