# 使用 URL 撰写新消息，并在 \`body\` 中添加新行

**URL:** https://meta.discourse.org/t/use-url-to-compose-a-new-message-with-body-adding-new-lines/197342
**Category:** Support
**Created:** [2021 年7 月 16 日 11:17 UTC](https://meta.discourse.org/t/use-url-to-compose-a-new-message-with-body-adding-new-lines/197342 "2021-07-16T11:17:08Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![osioke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osioke/32/238946_2.png) [@osioke](https://meta.discourse.org/u/osioke)
#### Post date: [2021 年7 月 16 日 12:15 UTC](https://meta.discourse.org/t/use-url-to-compose-a-new-message-with-body-adding-new-lines/197342/2 "2021-07-16T12:15:57Z")

</div>

你好，Ilia :waving_hand:t5:

欢迎！

我认为换行符不会以那种方式工作，而且凭我目前的记忆，在使用你提供的 URL 方式时，我没有其他替代方案。

不过，从你编写 URL 的方式来看，你似乎是想设置一个模板，供用户在点击你设定的“新建话题”链接时使用。我认为你可以这样做：使用 [话题模板功能](https://meta.discourse.org/t/what-are-topic-templates/38295)，在你希望创建新话题的首选分类中设置该模板，然后在预填链接中指定这个分类。

你觉得这个方案如何？

---

_[View the full topic](https://meta.discourse.org/t/use-url-to-compose-a-new-message-with-body-adding-new-lines/197342)._
