mirror of
https://github.com/marktext/marktext.git
synced 2025-05-03 00:19:35 +08:00
Changing the output format to gfm instead markdown due table missformating during the import
This commit is contained in:
parent
0fa6c33c44
commit
0968966f01
@ -189,7 +189,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