Link syntax help to the official documentation
This commit is contained in:
@@ -566,6 +566,23 @@ article .task-score {
|
|||||||
line-height: 1.4em;
|
line-height: 1.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.markdown h1 {
|
||||||
|
margin-top: 5px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
font-size: 2em;
|
||||||
|
padding-bottom: 3px;
|
||||||
|
border-bottom: 1px dotted #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h2 {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h3 {
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
.markdown ol,
|
.markdown ol,
|
||||||
.markdown ul {
|
.markdown ul {
|
||||||
margin-left: 25px;
|
margin-left: 25px;
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
<?= Helper\form_label(t('Description'), 'description') ?>
|
<?= Helper\form_label(t('Description'), 'description') ?>
|
||||||
<?= Helper\form_textarea('description', $values, $errors) ?><br/>
|
<?= Helper\form_textarea('description', $values, $errors) ?><br/>
|
||||||
<div class="form-help"><a href="http://en.wikipedia.org/wiki/Markdown#Example" target="_blank"><?= t('Write your text in Markdown') ?></a></div>
|
<div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?= t('Write your text in Markdown') ?></a></div>
|
||||||
|
|
||||||
<?= Helper\form_checkbox('another_task', t('Create another task'), 1) ?>
|
<?= Helper\form_checkbox('another_task', t('Create another task'), 1) ?>
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
|
|
||||||
<?= Helper\form_label(t('Description'), 'description') ?>
|
<?= Helper\form_label(t('Description'), 'description') ?>
|
||||||
<?= Helper\form_textarea('description', $values, $errors) ?><br/>
|
<?= Helper\form_textarea('description', $values, $errors) ?><br/>
|
||||||
|
<div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?= t('Write your text in Markdown') ?></a></div>
|
||||||
|
|
||||||
<?= Helper\form_checkbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1) ?>
|
<?= Helper\form_checkbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1) ?>
|
||||||
|
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
|
|
||||||
<?= Helper\form_hidden('id', $description_form['values']) ?>
|
<?= Helper\form_hidden('id', $description_form['values']) ?>
|
||||||
<?= Helper\form_textarea('description', $description_form['values'], $description_form['errors'], array('required', 'placeholder="'.t('Leave a description').'"')) ?><br/>
|
<?= Helper\form_textarea('description', $description_form['values'], $description_form['errors'], array('required', 'placeholder="'.t('Leave a description').'"')) ?><br/>
|
||||||
<div class="form-help"><a href="http://en.wikipedia.org/wiki/Markdown#Example" target="_blank"><?= t('Write your text in Markdown') ?></a></div>
|
<div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?= t('Write your text in Markdown') ?></a></div>
|
||||||
|
|
||||||
<div class="form-actions">
|
<div class="form-actions">
|
||||||
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
|
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
<?= Helper\form_hidden('task_id', $comment_form['values']) ?>
|
<?= Helper\form_hidden('task_id', $comment_form['values']) ?>
|
||||||
<?= Helper\form_hidden('user_id', $comment_form['values']) ?>
|
<?= Helper\form_hidden('user_id', $comment_form['values']) ?>
|
||||||
<?= Helper\form_textarea('comment', $comment_form['values'], $comment_form['errors'], array('required', 'placeholder="'.t('Leave a comment').'"'), 'comment-textarea') ?><br/>
|
<?= Helper\form_textarea('comment', $comment_form['values'], $comment_form['errors'], array('required', 'placeholder="'.t('Leave a comment').'"'), 'comment-textarea') ?><br/>
|
||||||
<div class="form-help"><a href="http://en.wikipedia.org/wiki/Markdown#Example" target="_blank"><?= t('Write your text in Markdown') ?></a></div>
|
<div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?= t('Write your text in Markdown') ?></a></div>
|
||||||
|
|
||||||
<div class="form-actions">
|
<div class="form-actions">
|
||||||
<input type="submit" value="<?= t('Post comment') ?>" class="btn btn-blue"/>
|
<input type="submit" value="<?= t('Post comment') ?>" class="btn btn-blue"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user