Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
yinquan committed Jun 29, 2024
1 parent 4751574 commit c1ddfe7
Show file tree
Hide file tree
Showing 113 changed files with 8,114 additions and 7,780 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/assets/Lang-BYSB3eUT.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

86 changes: 86 additions & 0 deletions docs/assets/Lang-CRRsfxYW.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
const o=`<template>
<smooth-markdown v-model="doc" v-model:mode="mode" :plugins="plugins" locale="hello">
<template v-slot:toolbar>
<vuetify-toolbar color="white"></vuetify-toolbar>
<v-divider></v-divider>
</template>
</smooth-markdown>
</template>
<script setup>
import { ref } from 'vue'
import { SmoothMarkdown } from '@smooth-markdown/core'
import { lang } from '@smooth-markdown/core/plugins'
import { classicSetup } from '@smooth-markdown/presets'
import VuetifyToolbar from '@smooth-markdown/vuetify-toolbar'
import { sample as cnt } from '@/docs'
const doc = ref(cnt)
const mode = ref('editor|viewer')
const plugins = [
...classicSetup,
lang({
hello: {
insertLinkDialog: {
title: 'world',
cancel: 'world',
ok: 'world',
urlField: 'world',
urlFieldPlaceHolder: 'world',
urlFieldIsEmptyErr: 'world',
urlFieldIsInvalidErr: 'world',
titleField: 'world',
titleFieldPlaceHolder: 'world'
},
insertNetworkImageDialog: {
title: 'world',
cancel: 'world',
ok: 'world',
urlField: 'world',
urlFieldPlaceHolder: 'world',
urlFieldIsEmptyErr: 'world',
urlFieldIsInvalidErr: 'world',
titleField: 'world',
titleFieldPlaceHolder: 'world'
},
insertTableBoard: {
title: 'world',
info: 'world',
},
toolbar: {
uploadLocalImage: 'world',
insertNetworkImage: 'world',
undo: 'world',
redo: 'world',
bold: 'world',
italic: 'world',
strikethrough: 'world',
underline: 'world',
subscript: 'world',
superscript: 'world',
mark: 'world',
heading1: 'world',
heading2: 'world',
heading3: 'world',
heading4: 'world',
heading5: 'world',
heading6: 'world',
bulletedList: 'world',
numberedList: 'world',
quote: 'world',
inlineCode: 'world',
codeBlock: 'world',
link: 'world',
table: 'world',
openPreview: 'world',
closePreview: 'world',
horizontalRule: 'world',
toc: 'world'
},
codeBlock: {
copied: 'world'
}
}
})
]
<\/script>`;export{o as default};
1 change: 1 addition & 0 deletions docs/assets/LangZhCN-DFFRdQcB.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions docs/assets/LangZhCN-Dk8zILwh.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
const o=`<template>
<smooth-markdown v-model="doc" v-model:mode="mode" :plugins="plugins" locale="zh_CN">
<template v-slot:toolbar>
<vuetify-toolbar color="white"></vuetify-toolbar>
<v-divider></v-divider>
</template>
</smooth-markdown>
</template>
<script setup>
import { ref } from 'vue'
import { SmoothMarkdown } from '@smooth-markdown/core'
import { langZhCN } from '@smooth-markdown/core/plugins'
import { classicSetup } from '@smooth-markdown/presets'
import VuetifyToolbar from '@smooth-markdown/vuetify-toolbar'
import { sample as cnt } from '@/docs'
const doc = ref(cnt)
const mode = ref('editor|viewer')
const plugins = [
...classicSetup,
langZhCN()
]
<\/script>`;export{o as default};
1 change: 0 additions & 1 deletion docs/assets/arc-BFUvDiVG.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/assets/arc-BxHg_D8J.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c1ddfe7

Please sign in to comment.