Compare commits

...

4 Commits

3 changed files with 20 additions and 12 deletions

View File

@@ -3,7 +3,6 @@ import hljs from "highlight.js"
import MarkdownIt from 'markdown-it' import MarkdownIt from 'markdown-it'
import copy from 'copy-to-clipboard' import copy from 'copy-to-clipboard'
import mathjax3 from 'markdown-it-mathjax3' import mathjax3 from 'markdown-it-mathjax3'
import mk from 'markdown-it-katex'
const md = new MarkdownIt({ const md = new MarkdownIt({
@@ -14,7 +13,6 @@ const md = new MarkdownIt({
}, },
}) })
md.use(mathjax3) md.use(mathjax3)
// md.use(mk)
const props = defineProps({ const props = defineProps({
message: { message: {
@@ -92,6 +90,16 @@ onMounted(() => {
.chat-msg-content h6 { .chat-msg-content h6 {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
.chat-msg-content table {
width: 100%;
border-collapse: collapse;
border-radius: .5rem;
}
.chat-msg-content table th,
.chat-msg-content table td {
padding: .5rem 1rem;
border: 1px solid gray;
}
.chat-msg-content ol, .chat-msg-content ul { .chat-msg-content ol, .chat-msg-content ul {
padding-left: 2em; padding-left: 2em;
} }

View File

@@ -47,9 +47,9 @@ onNuxtReady(() => {
> >
<div class="text-center"> <div class="text-center">
<div v-if="route.query.email_verification_required && route.query.email_verification_required === 'none'"> <div v-if="route.query.email_verification_required && route.query.email_verification_required === 'none'">
<h2 class="text-h4">{{$('Your registration is successful')}}</h2> <h2 class="text-h4">{{$t('Your registration is successful')}}</h2>
<p class="mt-5"> <p class="mt-5">
{{$('You can now')}} <NuxtLink to="/account/signin">{{$('signIn')}}</NuxtLink> {{$t('to your account.')}} {{$t('You can now')}} <NuxtLink to="/account/signin">{{$t('signIn')}}</NuxtLink> {{$t('to your account.')}}
</p> </p>
</div> </div>
<div v-else> <div v-else>

View File

@@ -150,14 +150,14 @@ const handleFieldUpdate = (field) => {
clearable clearable
></v-text-field> ></v-text-field>
<v-text-field <!-- <v-text-field-->
v-model="formData.code" <!-- v-model="formData.code"-->
:rules="formRules.code" <!-- :rules="formRules.code"-->
:label="$t('invitation code')" <!-- :label="$t('invitation code')"-->
variant="underlined" <!-- variant="underlined"-->
@keyup.enter="submit" <!-- @keyup.enter="submit"-->
clearable <!-- clearable-->
></v-text-field> <!-- ></v-text-field>-->
</v-form> </v-form>