feat: enhance game description with collapsible hint section and update hint text format

This commit is contained in:
Justin Lin committed 2025-04-23 17:44:23 +08:00
1 parent ab63595fba
commit 9b5da4e818
2 files changed
+8 -6

No files matched your search

+7 -5
View File
@@ -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>
+1 -1
View File
@@ -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?`