プロジェクト

全般

プロフィール

Vote #79495

完了

Triple backtick does not work properly

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Text formatting_26
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
26
version_id:
0
issue_org_id:
29478
author_id:
8238
assigned_to_id:
0
comments:
6
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
141
ステータス-->[Closed]

説明

When I have my Text formatting set to Markdown, I can use backticks like this

this will be displayed
just fine

But this syntax is also correct, despite it does not work in Redmine:
this is
also fine


journals

According to which documentation are you saying that the below syntax is correct?
<pre>
``` this is
also fine```
</pre>

--------------------------------------------------------------------------------
In markdown editor: https://spec.commonmark.org/dingus/?text=%60%60%60%0Athis%20will%20be%20displayed%0Ajust%20fine%0A%60%60%60%0A%0A%60%60%60%20this%20is%0Aalso%20fine%60%60%60

--------------------------------------------------------------------------------
I found the following sentence in https://spec.commonmark.org/0.28/#fenced-code-blocks.

> If the end of the containing block (or document) is reached and no closing code fence has been found, the code block contains all of the lines after the opening code fence until the end of the containing block (or document).

In Redmine, the following expression works as described in the spec,

<pre>
``` ruby
puts "Hello, world."
</pre>

but it does not work if a space character is contained in the "info string".

<pre>
``` ruby ruby
puts "Hello, world."
</pre>

--------------------------------------------------------------------------------
I'm not sure how correct is to follow the documentation of Common mark because is not quite the same thing with Markdown.
--------------------------------------------------------------------------------
Marius BALTEANU wrote:
> I'm not sure how correct is to follow the documentation of Common mark because is not quite the same thing with Markdown.

I agree. I don't think the reported problem is not a big problem which should be fixed.

--------------------------------------------------------------------------------
I'm closing this as invalid.
--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリText formatting_26 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0