shd101wyy / vscode-markdown-preview-enhanced

One of the "BEST" markdown preview extensions for Visual Studio Code
https://shd101wyy.github.io/markdown-preview-enhanced
Other
1.46k stars 173 forks source link

MUMESLIDE in Beamer Output #1510

Open Seablade opened 6 years ago

Seablade commented 6 years ago

Love markdown-preview-enhanced for the record, only question and probably bug or feature request:

If I create a presentation in markdown-preview-enhanced and have beamer output enabled, it appears that the gets translated before passing the content to Beamer to MUMESLIDE. I was wondering if there is a way to exclude this from pandoc/beamer output? I haven't found one yet if there is.

According to the code for the mume library, it looks like this is set on line 532 of transfomer.ts,which checks to see if the output is markdown, and if it is not markdown writes out the MUMESLIDE. Not sure if it would be enough that when the Markdown Preview Enhanced output is a beamer presentation MUME is told that the output is markdown instead as that should be all that is passed to Pandoc to create the beamer presentation correct?

Thanks.

ofou commented 5 years ago

Same problem here :disappointed: Any workaround?

shd101wyy commented 5 years ago

Sorry it seems like I have missed this issue for a long time. I will try to fix it either this weekend or next week. Thank you.