Reading MD "high light" tags in Marked 2

Tom's Avatar

Tom

26 Mar, 2015 08:44 PM

FoldingText use the braces and equal signs to create yellow highlighted text, e.g., {==text to highlight==}. Marked 2 seems to display this fine when viewing a FoldingText file. However, when I do the same thing with an *.MD file, I get anomalies, like entire lines of text being truncated or omitted. However, if I use the tags in a *.TXT file, Marked 2 seems to display correctly. Has anyone else seen this? Any experience in getting the highlight tags to render properly in Marked 2? Is there something problematic with the {== ==} tag and the *.MD text file extension? Thanks in advance. Tom

  1. Support Staff 1 Posted by Brett on 26 Mar, 2015 08:53 PM

    Brett's Avatar

    Your syntax is CriticMarkup syntax. If you have CM enabled in
    preferences, it will render as a comment with a highlight. If not, it
    should come out just the way it started, with the brackets intact. If
    you want to do something else with it, you'll need a custom
    preprocessor.

  2. 2 Posted by Tom on 26 Mar, 2015 08:56 PM

    Tom's Avatar

    Brett, I have CriticMarkup enabled in the proofing tab. Is there another possibility? Thanks for your time and attention. Tom

  3. Support Staff 3 Posted by Brett on 26 Mar, 2015 08:56 PM

    Brett's Avatar

    Show me your actual markup where your losing lines and what not.

  4. 4 Posted by Tom on 26 Mar, 2015 09:07 PM

    Tom's Avatar

    You know, I'm not able to replicate it now. The file I was futzing around with is rendering correctly now. Maybe it was user error, i.e., I did the tags wrong. Anyway, thank you for your help. Tom

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