Skip to content

Commit

Permalink
deprecated UICommon::markdownHelp; renamed markdown-help template
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketMan committed Sep 28, 2024
1 parent a839cc9 commit 0426200
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
17 changes: 0 additions & 17 deletions ui/UICommon.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,23 +176,6 @@ public static function markdown($text) {
})->toHtml($text);
}

public static function markdownHelp() { ?>

<div id='markdown-help' class='markdown-help'>
<table>
<tr><th>type this:</th><th>to get this:</th></tr>
<tr><td>*italics*</td><td><I>italics</I></td></tr>
<tr><td>**bold**</td><td><b>bold</b></td></tr>
<tr><td>* item 1<br>* item 2<br>* item 3</td><td><ul><li>item 1</li><li>item 2</li><li>item 3</li></ul></td></tr>
<tr><td>1. item 1<br>2. item 2<br>3. item 3</td><td><ol><li>item 1</li><li>item 2</li><li>item 3</li></ol></td></tr>
<tr><td>## heading</td><td><H2>heading</H2></td></tr>
<tr><td style="font-size: small;">[RocketMan](https://github.com/RocketMan)</td><td><A HREF="https://github.com/RocketMan">RocketMan</A></td></tr>
</table>
</div>

<?php
}

/**
* return the URL of the current request, less leaf filename, if any
* @deprecated use Engine::getBaseUrl()
Expand Down
2 changes: 1 addition & 1 deletion ui/templates/default/list/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<input id='comment-max' type='hidden' value='{{ MAX_COMMENT_LENGTH }}'>

</div>
{%~ include 'block-markdown-help.html' %}
{%~ include 'markdown-help.html' %}
</div>
<div id='nme-entry' class='zk-hidden' >
<div>
Expand Down
File renamed without changes.

0 comments on commit 0426200

Please sign in to comment.