markdown preview

This commit is contained in:
masnn committed 2020-06-12 23:14:19 +08:00
1 parent 86f67a0ec3
commit 5ca424da0b
15 files changed
+123 -104

No files matched your search

+3 -3
View File
@@ -1,6 +1,6 @@
{% macro nav_item(target_page_url, target_page_name, target_page_prefix) %}
{% macro nav_item(target_page_name, target_page_args, target_page_prefix) %}
<li class="nav__list-item">
<a href="{{ target_page_url }}" class="nav__item{% if page_name.startsWith(target_page_prefix) %} nav--active{% endif %}">
<a href="{{ url(target_page_name, target_page_args) }}" class="nav__item{% if page_name.startsWith(target_page_prefix) %} nav--active{% endif %}">
{{ _(target_page_name) }}
</a>
</li>
@@ -12,7 +12,7 @@
<li class="nav__list-item"><a href="/" class="nav__logo">&nbsp;</a></li>
{% for item in Context.nav %}
{% if item.checker(handler) %}
{{ nav_item(item.path, item.name, item.prefix) }}
{{ nav_item(item.name, item.args, item.prefix) }}
{% endif %}
{% endfor %}
</ol>
+3 -3
View File
@@ -7,7 +7,7 @@ Given two integers x and y, print the sum.
# Format
## Input
Two integers x and y, satisfying 0 <= x, y <= 32767.
Two integers x and y, satisfying $0\leq x,y\leq 32767$ .
## Output
One integer, the sum of x and y.
@@ -15,16 +15,16 @@ One integer, the sum of x and y.
# Sample 1
## Input
```
123 500
```
## Output
```
623
```
# Limitation
1s, 1024KiB for each test case.
```
+3 -3
View File
@@ -25,19 +25,19 @@
<div class="medium-4 columns">
<label class="filter-user">
{{ _('By Username / UID') }}
<input name="uidOrName" type="text" class="textbox" value="{{ filter_uidOrName }}" autocomplete="off" data-autofocus>
<input name="uidOrName" type="text" class="textbox" value="{{ filterUidOrName }}" autocomplete="off" data-autofocus>
</label>
</div>
<div class="medium-4 columns">
<label>
{{ _('By Problem') }}
<input name="pid" type="text" class="textbox" value="{{ filter_pid }}">
<input name="pid" type="text" class="textbox" value="{{ filterPid }}">
</label>
</div>
<div class="medium-4 columns">
<label>
{{ _('By Contest') }}
<input name="tid" type="text" class="textbox" value="{{ filter_tid }}">
<input name="tid" type="text" class="textbox" value="{{ filterTid }}">
</label>
</div>
</div>