Parsing fenced code

ohofmann's Avatar

ohofmann

22 May, 2012 09:52 PM

Hi!

Noticed that Marked now supports fenced code and wanted to give it a try via knitr (http://yihui.name/knitr/). While the preferences indicate that processing is going to take longer it rather seems that Marked crashed when trying to convert a few hundred lines of text (see http://dl.dropbox.com/u/407047/Work/Christiani/LungCancer/teqc.md for an example file).

Would it make sense to switch to Docter et al for now?

Best, Oliver

  1. Support Staff 1 Posted by Brett on 28 May, 2012 01:46 PM

    Brett's Avatar

    The next version of Marked fixes the fenced code processing issues almost entirely, and also provides Discount as an alternative processor. I can put you on the beta list if you're interested in testing, but yes, Docter is probably a better alternative to v1.4 for documents with a lot of code blocks.

  2. 2 Posted by ohofmann on 28 May, 2012 03:16 PM

    ohofmann's Avatar

    Brett,

    all good for now. Switched to Docter which is working just fine for my purposes.

    Thanks, Oliver

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? 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