WardrikSlack. Blocks
(wardrik_slack v0.1.0-rc.1)
Copy Markdown
Builds the Block Kit blocks of Wardrik's Slack messages.
Summary
Functions
Returns an actions block of elements, such as buttons.
Returns a button that sends value under action_id. style is "primary", "danger" or nil.
Returns text cut to max characters. Cut text ends in ….
Returns a line of small mrkdwn text.
Returns a reply to a button press that only the person who pressed sees.
Returns a markdown block, clipped to Slack's limit. Models write this kind of Markdown.
Returns a plain_text object, as buttons and options take.
Returns a section of mrkdwn text.
Functions
Returns an actions block of elements, such as buttons.
Returns a button that sends value under action_id. style is "primary", "danger" or nil.
@spec clip(String.t(), pos_integer()) :: String.t()
Returns text cut to max characters. Cut text ends in ….
Returns a line of small mrkdwn text.
Returns a reply to a button press that only the person who pressed sees.
Returns a markdown block, clipped to Slack's limit. Models write this kind of Markdown.
Returns a plain_text object, as buttons and options take.
Returns a section of mrkdwn text.