Change the value of "pre" button in Markdown toolbar from "~~~" to "```" (#22843).

Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17295 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2018-04-11 21:58:59 +00:00
parent 8b0bfbbc8b
commit 3e97bc6d94
99 changed files with 149 additions and 149 deletions

View File

@@ -286,9 +286,9 @@ It can be expanded by clicking a link.
<p>You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):</p>
<pre>
~~~ ruby
``` ruby
Place your code here.
~~~
```
</pre>
<p>Example:</p>

View File

@@ -15,7 +15,7 @@
<tr><th><img src="../../images/jstoolbar/bt_em.png" style="border: 1px solid #bbb;" alt="Italic" /></th><td>*Italic*</td><td><em>Italic</em></td></tr>
<tr><th><img src="../../images/jstoolbar/bt_del.png" style="border: 1px solid #bbb;" alt="Deleted" /></th><td>~~Deleted~~</td><td><del>Deleted</del></td></tr>
<tr><th><img src="../../images/jstoolbar/bt_code.png" style="border: 1px solid #bbb;" alt="Inline Code" /></th><td>`Inline Code`</td><td><code>Inline Code</code></td></tr>
<tr><th><img src="../../images/jstoolbar/bt_pre.png" style="border: 1px solid #bbb;" alt="Preformatted text" /></th><td>~~~<br />&nbsp;lines<br />&nbsp;of code<br />~~~</td><td>
<tr><th><img src="../../images/jstoolbar/bt_pre.png" style="border: 1px solid #bbb;" alt="Preformatted text" /></th><td>```<br />&nbsp;lines<br />&nbsp;of code<br />```</td><td>
<pre>
lines
of code