Skip to content

Commit c7b9ced

Browse files
committed
feat: added "@cocreate/markdown"
1 parent 85ef755 commit c7b9ced

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CoCreate.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,10 @@ module.exports = {
288288
"import": "@cocreate/pickr",
289289
"selector": ".color-picker"
290290
},
291+
"marked": {
292+
"import": "@cocreate/marked",
293+
"selector": "[marked], [actions*='marked'], .markdown-body"
294+
},
291295
"prism": {
292296
"import": "@cocreate/prism",
293297
"selector": ".language-html, .language-css, .language-js, .language-shell, .language-json"

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
"@cocreate/lazy-loader": "^1.20.0",
103103
"@cocreate/link": "^1.11.6",
104104
"@cocreate/local-storage": "^1.15.0",
105+
"@cocreate/marked": "^1.1.0",
105106
"@cocreate/modal": "^1.17.1",
106107
"@cocreate/notification": "^1.6.2",
107108
"@cocreate/observer": "^1.16.1",
@@ -134,4 +135,4 @@
134135
"@cocreate/validation": "^1.15.5",
135136
"@cocreate/vdom": "^1.12.2"
136137
}
137-
}
138+
}

0 commit comments

Comments
 (0)