Marked2 refresh breaks with pandoc/katex

Steven Obua's Avatar

Steven Obua

08 Sep, 2020 01:01 PM


I am using a custom preprocessor (pandoc) with the following options:

  • Path: /usr/local/bin/pandoc
  • Args: -f markdown -t html5 -s --katex

This leads to the refresh not working properly anymore. That is, when I change the .md file, the inline math is not displayed properly in Marked 2. Explicitly right-clicking and selecting "Refresh" in the Marked2 window fixes it, but that's obviously not a great workflow.

I am using Marked 2 V2.6.1

Showing page 2 out of 2. View the first page

  1. 30 Posted by Steven Obua on 10 Sep, 2020 02:32 PM

    Steven Obua's Avatar

    I had provided pandoc with a custom template with --template custom.html, and when I disable this, then "Scroll to first Edit" works properly! That's fine for me, as I don't need the custom template for editing, just later for publishing.

    Thank you for digging into this and making it work!

  2. Support Staff 31 Posted by Brett on 10 Sep, 2020 03:09 PM

    Brett's Avatar

    Awesome, glad to hear it’s improved. I’ll get a release out soon, but you’re welcome to keep using the test build for now.

    - Brett

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac