feat(web/html2markdown): add link to docs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-10-15 08:54:05 +08:00
parent 40817e212c
commit d5b6da80be
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A
3 changed files with 6 additions and 5 deletions

View File

@ -20,15 +20,16 @@
<div class="card-body"> <div class="card-body">
<div class="row row-cols-1 row-cols-md-2"> <div class="row row-cols-1 row-cols-md-2">
<div class="col"> <div class="col">
<h2 class="h4">HTML 源码</h2>
<textarea class="form-control" id="html" placeholder="input html here"></textarea> <textarea class="form-control" id="html" placeholder="input html here"></textarea>
</div> </div>
<div class="col"> <div class="col">
<h2 class="h4">Markdown 源码</h2> <textarea data-no-autosize readonly class="form-control" id="markdown" placeholder="output markdown here" style="height: 100%"></textarea>
<textarea readonly class="form-control" id="markdown" placeholder="output markdown here"></textarea>
</div> </div>
</div> </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> </div>
<?= HTML::js_src('/js/h2m.js') ?> <?= HTML::js_src('/js/h2m.js') ?>

View File

@ -217,7 +217,7 @@
<li>图片上传后会被自动转码为 PNG 格式;</li> <li>图片上传后会被自动转码为 PNG 格式;</li>
<li>在合适的地方插入图片即可引用。</li> <li>在合适的地方插入图片即可引用。</li>
</ul> </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>
<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"> <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> <h2 class="h4">使用统计</h2>

View File

@ -69,7 +69,7 @@
<?= HTML::js_src('/js/jquery.autosize.min.js') ?> <?= HTML::js_src('/js/jquery.autosize.min.js') ?>
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function() { $(document).ready(function() {
$('textarea').autosize(); $('textarea:not([data-no-autosize])').autosize();
}); });
</script> </script>