Skip to content

Commit 80441c5

Browse files
author
- -
committed
fix style
1 parent 15439a2 commit 80441c5

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ $ npm install --save github-markdown-css
129129
```
130130

131131
``` javascript
132+
// 使用默认编辑器主题时
133+
require.ensure([], () => require('github-markdown-css'), 'markdown-style')
134+
135+
// 使用自定义编辑器主题时
132136
import 'github-markdown-css'
133137
```
134138

markdown-editor.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ export default {
8585
</script>
8686

8787
<style>
88+
.markdown-editor .markdown-body {
89+
padding: 0.5em
90+
}
91+
8892
.markdown-editor .hljs {
8993
display: none
9094
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-simplemde",
3-
"version": "0.2.9",
3+
"version": "0.3.0",
44
"description": "SimpleMDE - Markdown Editor component for Vue.js",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)