Slack, Block Kit

김와티·2022년 12월 10일
0

block-kit-builder Tester

출처 : Formatting text

Escaping text

  • Slack uses &, <, and > as control characters for special parsing in text objects, so they must be converted to HTML entities if they're not used for their parsing purpose

Visual basics

  • These basic visual styles are very simpe to use
    • _italic_ will produce italicized text
    • *bold* will produce bold text
    • ~strike~ will produce strikethrough text

Line breaks

  • You can use multi-line text in app-generated text. Insert a newlinw by including the string \n in your text.

Code block

  • Use : back-tick(`)


Emoji

  • It's Friday :smile:

Linking to public channels

  • Why not join <#C024BE7LR>?

Mentioning users

  • Hey <@U024BE7LH>, thanks for submitting your report.

Mentioning groups

  • Hey <!subteam^SAZ94GDB8>, there's a new task in your queue.

Special mentions

  • @here
  • @channel
  • @everyone
    • @Everyone#general 채널의 모든 사람에게 알립니다 (즉, 작업 공간의 모든 비게스트 구성원).

⭐️⭐️ Date formatting

  • <!date^timestamp^token_string^optional_link|fallback_text>

  • <!date^1392734382^Posted {date} {time}|fallback_text>

  • timestamp is a number in standard Unix time format

⭐️⭐️ .Net UnixTimeFormat

# C#, .NET > Unix String 바꾸기
DateTime.ToUniversalTime 메서드
DateTimeOffset.Now.ToUnixTimeSeconds()

Disabling formatting - 필요한 시점에 활용


Notes on retrieving formatted messages

메시지를 검색하는 경우, 서식 구문을 구문 분석하는 데 도움이 되도록 위의 섹션에 몇 가지 추가 세부 사항을 포함했습니다. 이렇게 하면 다른 서비스에 표시하거나 앱이 메시지의 의도를 완전히 이해할 수 있도록 적절하게 포맷할 수 있습니다. 다음은 고급 서식 구문을 감지하는 것과 관련된 일반적인 단계입니다.


Beyond formatting

이 가이드는 각 앱 표면에 포함된 텍스트를 단순히 포맷하고 수정함으로써 제공되는 가능성을 맛볼 수 있습니다.

하지만 그 앱 표면의 시각적 구성을 변경하기 위해 할 수 있는 일은 훨씬 더 많습니다.

블록 키트 가이드를 읽고 블록과 블록 요소를 사용하여 복잡한 레이아웃을 구성하는 방법을 배우세요.

profile
딸 바보, SYOON 사랑해, RPA 운영/개발 공유하고자 하는 사람. RPA와 연계 필요한 대상은 가리지 않고 습득한다는 마음으로

0개의 댓글