# Reading MD "high light" tags in Marked 2

#### 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 Posted by Brett on 26 Mar, 2015 08:53 PM

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. Posted by Tom on 26 Mar, 2015 08:56 PM

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

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

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

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

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

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

### »

#### 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 Blurs the current field

### Comment Form

r Focus the comment reply box Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

## Recent Discussions

 21 Feb, 2020 11:32 PM Option to use MathJax 3? 20 Feb, 2020 03:12 PM Regular crashes 13 Feb, 2020 09:22 PM Markdown Formatting 11 Feb, 2020 11:53 AM Custom themes not working 10 Feb, 2020 06:48 PM KaTex Preview Update

## Recent Articles

 Using JavaScript in Marked Custom CSS: Writing custom CSS for Marked License code has already been utilized Highlight sentences longer than a certain number of words How do I retrieve a lost license (direct version)