swiftlang/swift-docc

Highlight deleted code

Aperta

#515 aperta il 13 mar 2023

 (9 commenti) (0 reazioni) (0 assegnatari)Swift (181 fork)auto 404
good first issuenew feature

Metriche repository

Star
 (1356 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Feature Name

Highlight deleted code

Description

Highlight deleted lines (potentially using red background colour).

Motivation

Sometimes (especially when starting out from a template), you need to tell the reader to delete one of more lines of code. It seems like the renderer is not capable of highlighting deleted lines.

Here is an example;

https://github.com/peterfriese/MakeItSo/pull/94#discussion_r1134366287

Importance

No response

Alternatives Considered

No response

Guida contributor