mirror of
https://github.com/marktext/marktext.git
synced 2025-05-03 00:01:19 +08:00
Merge 0968966f01
into b75895cdd1
This commit is contained in:
commit
6b0b713c80
@ -194,7 +194,7 @@ const noticePandocNotFound = win => {
|
||||
|
||||
const openPandocFile = async (windowId, pathname) => {
|
||||
try {
|
||||
const converter = pandoc(pathname, 'markdown')
|
||||
const converter = pandoc(pathname, 'gfm')
|
||||
const data = await converter()
|
||||
ipcMain.emit('app-open-markdown-by-id', windowId, data)
|
||||
} catch (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user