static S slackSnippet(O contents) { if (contents instanceof L) contents = join("\n", (L) contents); S s = str(contents); //ret "```" + (empty(s) ? "\n" : s) + "```"; ret "```\n" + s + "```"; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lnbujpyubztb, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002446 |
Snippet name: | slackSnippet - format text as Slack snippet |
Eternal ID of this version: | #1002446/1 |
Text MD5: | f4b60a510176b4080be120e07c271b33 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-02-16 01:02:25 |
Source code size: | 205 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 662 / 1094 |
Referenced in: | [show references] |