gpt4 book ai didi

restructuredtext - 如何在 RestructuredText 中的 block 引用中添加换行符?

转载 作者:行者123 更新时间:2023-12-04 08:30:57 24 4
gpt4 key购买 nike

这个报价:

    "there are worse things
than being alone
but it often takes
decades to realize this
and most often when you do
it's too late
and there's nothing worse
than too late"

-- Charles Bukowski

呈现如下:
“there are worse things than being alone but it often takes decades to realize this and most often when you do it’s too late and there’s nothing worse than too late”
—Charles Bukowski

我发现 a raw HTML replacement can be used to force a blockquote但它在块引用中不起作用。

有没有办法在块引用中使用换行符?

最佳答案

我相信你会想要使用 line blocks .

要创建一个,只需在每一行前面加上一个竖线(“|”),如下所示:

| "there are worse things  
| than being alone
| but it often takes
| decades to realize this
| and most often when you do
| it's too late
| and there's nothing worse
| than too late"

-- Charles Bukowski

它应该像这样呈现:
"there are worse things
than being alone
but it often takes
decades to realize this
and most often when you do
it's too late
and there's nothing worse
than too late"

-- Charles Bukowsk

关于restructuredtext - 如何在 RestructuredText 中的 block 引用中添加换行符?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24850652/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com