-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
yinquan
committed
Jun 29, 2024
1 parent
4751574
commit c1ddfe7
Showing
113 changed files
with
8,114 additions
and
7,780 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
docs/assets/CustomSize-BFeACJhE.js → docs/assets/CustomSize-CRWmmxcj.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}; |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.