RickStrahl / MarkdownMonster

An extensible Markdown Editor, Viewer and Weblog Publisher for Windows
https://markdownmonster.west-wind.com
Other
1.59k stars 235 forks source link

Markdown Preview Error when Pandoc Selected as Parser #1133

Closed pa-0 closed 1 month ago

pa-0 commented 2 months ago

Pandoc Parser Error in Preview Pane

Expected Behavior

Markdown is properly displayed in Preview Pane

Actual Result

image

Additional Notes

Steps taken to troubleshoot:

1. Reinstalled `pandox` 2. Reinstalled `pandoc` parser adddon for Markdown Monster 3. Restarted app / machine

Error Message

(Copied & pasted directly from MM's preview pane) ## Unable to render Markdown Document An error occurred trying to parse the Markdown document to HTML. ### Error #### Method not found: 'System.String MarkdownMonster.MarkdownParserBase.ParseFontAwesomeIcons(System.String)'. [more info...](https://github.com/RickStrahl/MarkdownMonster/issues/new#0) #### Error Detail ``` at PanDocMarkdownParserAddin.PandocMarkdownParser.Parse(String markdown) at MarkdownMonster.MarkdownDocument.RenderHtml(String markdown, Boolean usePragmaLines, Boolean noBanner, IMarkdownParser parser) in D:\projects\MarkdownMonsterCode\markdownmonster\_Classes\MarkdownDocument.cs:line 1299 ```
RickStrahl commented 1 month ago

Should be fixed in v0.5 of the Pandoc Addin. You need to update the addin from the Addin Manager.

Thank you. Turns out that was a regression by removal of some support functionality (Font Awesome Icon parsing) which has been moved to a RenderExtension instead of as part of the parser.

pa-0 commented 1 month ago

No - thank YOU for the quick turnaround on a fix.