Markdown 通过SLACK API发布的消息将以不需要的换行显示

Markdown 通过SLACK API发布的消息将以不需要的换行显示,markdown,slack,slack-api,Markdown,Slack,Slack Api,在Slack中插入普通文本时,不会自动换行超过某个长度的行。 因此,我可以决定以3行代码发布此标记: 消息的开头(其他一些文本): 无论如何,如果我将相同的内容放入文件.json: {"channel":"ch1", "blocks":[ {"type": "section", "block_id":"1",

在Slack中插入普通文本时,不会自动换行超过某个长度的行。 因此,我可以决定以3行代码发布此标记:

消息的开头
(其他一些文本):

无论如何,如果我将相同的内容放入
文件.json

{"channel":"ch1",
    "blocks":[
          {"type": "section",
           "block_id":"1",
           "text":{"type":"mrkdwn",
                   "text":" `START OF MSG` (some other text):\n```1-------91--------92--------93--------94--------95--------96--------97--------98ABC--FG\n2aaa bbbb cccc dddd eeee ffff gggg hhhh 1111 2222 3333 4444 5555 6666 7777 8888 9999 1010 1111 1212\n3aaa bbbb cccc dddd eeee ffff gggg hhhh 1111 2222 3333 4444 5555 { 'createdAt' : '2020-10-23T01:30:21.953Z' }```"
                  }
            }
      ]
  } 
我将其发布到API:

curl -X POST -H 'Content-type: application/json' -d @file.json  https://hooks.s
我得到了一个不需要的包装文本,因此6行而不是3行,每行包装的长度不同(第一行77,第二行80,第三行81):

消息的开头
(其他一些文本):

我怎样才能说服Slack表现得像我手工输入同一文本一样

curl -X POST -H 'Content-type: application/json' -d @file.json  https://hooks.s
1-------91--------92--------93--------94--------95--------96--------97-------
-98ABC--FG
2aaa bbbb cccc dddd eeee ffff gggg hhhh 1111 2222 3333 4444 5555 6666 7777 8888
9999 1010 1111 1212
3aaa bbbb cccc dddd eeee ffff gggg hhhh 1111 2222 3333 4444 5555 { 'createdAt' :
'2020-10-23T01:30:21.953Z' }