mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: md enhancement
This commit is contained in:
parent
c3b30923c7
commit
5e8dafca73
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ export class ChatGPTMarkdownHandler extends plugin {
|
|||
|
||||
async mdHandler (e, options, reject) {
|
||||
const { content, prompt, use } = options
|
||||
if (Config.enableMd && (e.adapter === 'shamrock')) {
|
||||
if (Config.enableMd) {
|
||||
let mode = transUse(use)
|
||||
return `> ${prompt}\n\n---\n${content}\n\n---\n*当前模式:${mode}*`
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue