mirror of
https://github.com/redmine/redmine.git
synced 2025-12-15 21:10:27 +01:00
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:
@@ -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>
|
||||
|
||||
@@ -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 /> lines<br /> 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 /> lines<br /> of code<br />```</td><td>
|
||||
<pre>
|
||||
lines
|
||||
of code
|
||||
|
||||
Reference in New Issue
Block a user