mirror of
https://github.com/marktext/marktext.git
synced 2025-05-03 00:01:19 +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) => {
|
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user