This commit is contained in:
joaofelipecb 2023-10-25 19:00:39 +08:00 committed by GitHub
commit 6b0b713c80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,7 @@ const noticePandocNotFound = win => {
const openPandocFile = async (windowId, pathname) => { const openPandocFile = async (windowId, pathname) => {
try { try {
const converter = pandoc(pathname, 'markdown') const converter = pandoc(pathname, 'gfm')
const data = await converter() const data = await converter()
ipcMain.emit('app-open-markdown-by-id', windowId, data) ipcMain.emit('app-open-markdown-by-id', windowId, data)
} catch (err) { } catch (err) {