Scenario:
I want to have a watched word, say GET (no quotes) and I want to replace it with ## GET to make it an H2 header. I create that watched word and its replacement, but when I compose a message with GET, and hit save, my post returns this:
It seems that it should be rendering this as markdown.
1개의 좋아요
Canapin
(Coin-coin le Canapin)
7월 19, 2023, 9:08오전
2
I can repro. Markdown and HTML as well aren’t parsed in replacement strings.
1개의 좋아요
이제 HTML을 사용하여 이를 달성할 수 있을 것 같습니다:
main ← replace-watched-words-with-html
merged 08:41AM - 14 May 24 UTC
This adds support for Watched Words to allow replacement with HTML content rathe… r than always replacing with text.
Can be useful when automatically replacing with the `<abbr>` tag for example.
Discussion - https://meta.discourse.org/t/replace-text-with-more-than-just-links/305672
(Replace text with more than just links? - #23 by zogstrip )
이제 Replace and Link에서 각 Watched Word에 대해 ‘Outputs HTML in the replacement’를 옵션으로 선택할 수 있습니다.
Markdown은 여전히 지원되지 않지만, 이것도 Contribute > Feature 요청에 해당한다고 생각하므로 이 문제를 넘기겠습니다.
2개의 좋아요