Confluence wiki格式放新段落

问题描述 投票:0回答:1

我想在Confluence wiki结果中放置空行空间(<p></p>在HTML中),但无论我尝试什么都失败了。

根据the document,它说两个回车将把<p></p>\r\r\n\n\n\n\n\n等等工作根本不起作用。

POST http://wiki.mysite.com/rest/api/content

{"type":"page","title":"new page1","ancestors":[{"id":390668024}], "space":{"key":"EXAMPLE"},"body":{"storage":{"value":"[Some link|http://example.com/url] - Show page.\n\nbq. Query by [Some link info|http://example.com/reference?id=214]","representation":"wiki"}}}

有了上面的REST请求,我想显示如下格式;

Some link - 显示页面。

<blank line>

查询Some link info

一些试验(在Show page.bq. Query by之间)

  • \n\n => Show page.</p>\n\n<blockquote><p>Query by
  • \\\\ => Show page. <br class=\"atl-forced-newline\" /> bq. Query by
confluence confluence-rest-api
1个回答
0
投票

试验下方给出预期结果

Show page.\n\n \\\\ \nbq. Query by

=> Qazxswpoi

最新问题
© www.soinside.com 2019 - 2024. All rights reserved.