Skip to content

Commit 72ffb69

Browse files
committed
Goof: Make Slack wrapper use double tildes ~~ to encode a strikethrough
See also "Markdown, Strikethrough, and Slack" [1]. [1] https://daringfireball.net/linked/2015/11/05/markdown-strikethrough-slack
1 parent 00cad26 commit 72ffb69

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

33
## In progress
4+
- Goof: Made Slack wrapper use double tildes `~~` to encode a ~~strikethrough~~,
5+
see also [Markdown, Strikethrough, and Slack].
46

57
## v0.6.1, 2025-04-01
68
- Shell/Notify: Added reference about caveats page to weekly report's preamble
@@ -106,3 +108,6 @@
106108
```shell
107109
rapporto github activity --organization=python --author=AA-Turner --when="2025-01-01..2025-01-31"
108110
```
111+
112+
113+
[Markdown, Strikethrough, and Slack]: https://daringfireball.net/linked/2015/11/05/markdown-strikethrough-slack

src/rapporto/source/github/attention.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def markdown(self):
101101
)
102102
link = f"[{title}]({item.html_url})"
103103
if is_closed:
104-
line = f"- ~{link}~"
104+
line = f"- ~~{link}~~"
105105
else:
106106
line = f"- {link}"
107107
# line = f"- {link} {', '.join(labels)}"

0 commit comments

Comments
 (0)