mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: enhance game description with collapsible hint section and update hint text format
This commit is contained in:
1 parent
ab63595fba
commit
9b5da4e818
2 files changed
+8
-6
No files matched your search
@@ -85,13 +85,15 @@ const response = computed(() => {
|
|||||||
>
|
>
|
||||||
<MarkdownText :content="response.content" />
|
<MarkdownText :content="response.content" />
|
||||||
</li>
|
</li>
|
||||||
<!-- <li
|
<li
|
||||||
v-for="hint in response?.hints"
|
v-if="response?.hint"
|
||||||
:key="hint"
|
|
||||||
class="text-text-primary font-xl whitespace-pre-wrap"
|
class="text-text-primary font-xl whitespace-pre-wrap"
|
||||||
>
|
>
|
||||||
<MarkdownText :content="hint" />
|
<details>
|
||||||
</li> -->
|
<summary class="cursor-pointer">提示</summary>
|
||||||
|
<MarkdownText :content="response.hint" />
|
||||||
|
</details>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ stages:
|
|||||||
你應該可以看到終端機上顯示了你在 `echo` 指令後面的文字。
|
你應該可以看到終端機上顯示了你在 `echo` 指令後面的文字。
|
||||||
接下來,請你試著在終端機上顯示 `How are you?`。
|
接下來,請你試著在終端機上顯示 `How are you?`。
|
||||||
hint: |
|
hint: |
|
||||||
利用 `echo` 指令來在終端機上顯示 `How are you?`
|
輸入 `echo How are you?`
|
||||||
|
|
||||||
- id: END
|
- id: END
|
||||||
name: 在終端機上顯示 `How are you?`
|
name: 在終端機上顯示 `How are you?`
|
||||||
|
|||||||
Reference in new issue
Block a user