mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-23 07:11:52 +00:00
feat(web/html2markdown): add link to docs
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
40817e212c
commit
d5b6da80be
@ -20,15 +20,16 @@
|
||||
<div class="card-body">
|
||||
<div class="row row-cols-1 row-cols-md-2">
|
||||
<div class="col">
|
||||
<h2 class="h4">HTML 源码</h2>
|
||||
<textarea class="form-control" id="html" placeholder="input html here"></textarea>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h2 class="h4">Markdown 源码</h2>
|
||||
<textarea readonly class="form-control" id="markdown" placeholder="output markdown here"></textarea>
|
||||
<textarea data-no-autosize readonly class="form-control" id="markdown" placeholder="output markdown here" style="height: 100%"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer bg-transparent text-end">
|
||||
<a href="https://s2oj.github.io/#/user/apps/html2markdown" target="_blank">使用教程</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?= HTML::js_src('/js/h2m.js') ?>
|
||||
|
@ -217,7 +217,7 @@
|
||||
<li>图片上传后会被自动转码为 PNG 格式;</li>
|
||||
<li>在合适的地方插入图片即可引用。</li>
|
||||
</ul>
|
||||
<p class="small">更多信息可以查看 <a href="https://s2oj.github.io/#/user/image_hosting" target="_blank">使用文档</a>。</p>
|
||||
<p class="small">更多信息可以查看 <a href="https://s2oj.github.io/#/user/apps/image_hosting" target="_blank">使用文档</a>。</p>
|
||||
</div>
|
||||
<div class="col-12 col-md-5 col-lg-3 order-4 order-md-3 order-lg-4 mt-3 mt-md-0 ms-md-2">
|
||||
<h2 class="h4">使用统计</h2>
|
||||
|
@ -69,7 +69,7 @@
|
||||
<?= HTML::js_src('/js/jquery.autosize.min.js') ?>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('textarea').autosize();
|
||||
$('textarea:not([data-no-autosize])').autosize();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user