https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292016-06-05T02:00:56ZRedmineRedmine - Feature #22843: Change the value of "pre" button in Markdown toolbar from "~~~" to "```"https://www.redmine.org/issues/22843?journal_id=712672016-06-05T02:00:56ZGo MAEDA
<ul></ul><p>'~~~' is also correct Markdown and works as expected on my environment.</p>
<p><a class="external" href="http://spec.commonmark.org/0.25/#code-fence">http://spec.commonmark.org/0.25/#code-fence</a></p> Redmine - Feature #22843: Change the value of "pre" button in Markdown toolbar from "~~~" to "```"https://www.redmine.org/issues/22843?journal_id=827682017-12-24T15:03:24ZAnonymous
<ul></ul><p>I made a long name plugin.</p>
<p><a class="external" href="https://www.redmine.org/plugins/redmine_github_style_fenced_code_block">https://www.redmine.org/plugins/redmine_github_style_fenced_code_block</a></p>
<p>Certainly triple tildes are not wrong syntax, but most people are using triple back quotes.<br />So, it is one of the features of markdown that the readability is high even for raw data. However, the triple tildea is similar to the strike (double tilde) syntax, and it is less readable. If it is a triple backquote, it can be distinguished from a strike. In addition, since it is similar in syntax to inline code (single backquote), the format of the document is consistent.</p>
<p>I think that the input of the markdown toolbar should be changed to triple backquote.</p> Redmine - Feature #22843: Change the value of "pre" button in Markdown toolbar from "~~~" to "```"https://www.redmine.org/issues/22843?journal_id=829552018-01-08T04:47:04ZGo MAEDA
<ul><li><strong>Blocked by</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/25299">Defect #25299</a>: Markdown pre-block could derive incorrect wiki sections</i> added</li></ul> Redmine - Feature #22843: Change the value of "pre" button in Markdown toolbar from "~~~" to "```"https://www.redmine.org/issues/22843?journal_id=829562018-01-08T05:13:01ZGo MAEDA
<ul><li><strong>File</strong> <a href="/attachments/19840">22843-use-triple-back-quotes-for-fenced-code-block.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/19840/22843-use-triple-back-quotes-for-fenced-code-block.diff">22843-use-triple-back-quotes-for-fenced-code-block.diff</a> added</li><li><strong>Tracker</strong> changed from <i>Defect</i> to <i>Feature</i></li><li><strong>Subject</strong> changed from <i>Markdown code blocks not inserted properly</i> to <i>Use "```" instead of "~~~" for fenced code blocks in Markdown</i></li><li><strong>Target version</strong> set to <i>4.1.0</i></li></ul><p>Taiki IKEGAME wrote:</p>
<blockquote>
<p>Certainly triple tildes are not wrong syntax, but most people are using triple back quotes.</p>
</blockquote>
<p>I agree with you, I feel "```" is much more popular than "~~~". To be honest, I have not seen "~~~" other than Redmine.</p>
<p>I wrote a patch to use "```" instead of "~~~". I suggest including this change in the future release. Setting target version to 4.1.0.</p> Redmine - Feature #22843: Change the value of "pre" button in Markdown toolbar from "~~~" to "```"https://www.redmine.org/issues/22843?journal_id=830502018-01-11T12:59:34ZAnonymous
<ul></ul><p>@Maeda-san Thank you so much!</p> Redmine - Feature #22843: Change the value of "pre" button in Markdown toolbar from "~~~" to "```"https://www.redmine.org/issues/22843?journal_id=844802018-04-10T10:08:57ZGo MAEDA
<ul></ul><p>I will commit this change within a few days. Feedback welcome.</p> Redmine - Feature #22843: Change the value of "pre" button in Markdown toolbar from "~~~" to "```"https://www.redmine.org/issues/22843?journal_id=844812018-04-10T10:31:40ZMarius BÄ‚LTEANU
<ul></ul><p>Go MAEDA wrote:</p>
<blockquote>
<p>I will commit this change within a few days. Feedback welcome.</p>
</blockquote>
<p>I'm in favour of making this change.</p> Redmine - Feature #22843: Change the value of "pre" button in Markdown toolbar from "~~~" to "```"https://www.redmine.org/issues/22843?journal_id=845062018-04-11T22:01:55ZGo MAEDA
<ul><li><strong>Subject</strong> changed from <i>Use "```" instead of "~~~" for fenced code blocks in Markdown</i> to <i>Change the value of "pre" button in Markdown toolbar from "~~~" to "```"</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Go MAEDA</i></li><li><strong>Target version</strong> changed from <i>4.1.0</i> to <i>4.0.0</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Committed.</p>