tag:support.markedapp.com,2011-09-11:/discussions/questions/8221-syntax-highlighting-advanced-preference-in-2410-no-longer-worksMarked: Discussion 2015-02-15T23:19:20Ztag:support.markedapp.com,2011-09-11:Comment/360503282015-02-14T20:15:57Z2015-02-14T20:15:58ZSyntax highlighting Advanced Preference in 2.4.10 no longer works<div><p>Just updated to 2.4.10. Was using GitHub for Default style but
had Syntax Highlighting set to something dark so code blocks would
stand out more. Syntax highlighting is checked in Preferences >
Style > Advanced > Syntax highlighting. Selecting any css
file and clicking the Apply button makes no different in the
markdown preview of a .md file containing several codeblocks.</p></div>Steve Westtag:support.markedapp.com,2011-09-11:Comment/360503282015-02-14T20:52:55Z2015-02-14T20:52:55ZSyntax highlighting Advanced Preference in 2.4.10 no longer works<div><p>I think there may have been an issue porting your preferences to
the<br>
new, non-sandboxed version. If you could, please quit Marked,
delete the<br>
file at ~/Library/Preferences/com.brettterpstra.marked2.plist and
try<br>
re-launching. A reboot may be required to flush the preference
cache, so<br>
if nothing changes, try deleting again and restarting your
machine<br>
before relaunching Marked.</p>
<p>If that doesn't fix the issue, please let me know.</p>
<p>Thanks,<br>
Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/360503282015-02-14T21:35:36Z2015-02-14T21:35:36ZSyntax highlighting Advanced Preference in 2.4.10 no longer works<div><ul>
<li>deleted the plist specified, no change in ability to designate
alternate syntax highlighting.
<ul>
<li>deleted plist specified, quit Marked 2, restarted, no change in
ability to designate alternate syntax highlighting</li>
</ul>
</li>
</ul>
<p>anything else I can try or provide to you to help debug?</p>
<p>Steve</p>
<hr>
<p>Steve West</p>
<p><a href="mailto:swest@commandw.com">swest@commandw.com</a></p>
<p>(704) 775-8477</p></div>Steve Westtag:support.markedapp.com,2011-09-11:Comment/360503282015-02-14T21:42:35Z2015-02-14T21:42:35ZSyntax highlighting Advanced Preference in 2.4.10 no longer works<div><p>Just to clarify, did you quit Marked <em>before</em> deleting
and restarting?</p>
<p>This is my iPhone. There are many like it, but this one is
mine.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/360503282015-02-15T17:02:38Z2015-02-15T17:02:39ZSyntax highlighting Advanced Preference in 2.4.10 no longer works<div><p>Brett,</p>
<p>Yes I quit Marked <em>before</em> deleting and restarting.<br>
But I just did it all again to make sure and still no joy with
Syntax<br>
Highlighting.</p>
<p>I was starting to think there was something whacked on my
machine.</p>
<p>I remembered that I hadn't updated Marked on my laptop. It is
running 2.4.9<br>
and the syntax highlighting works fine.<br>
I renamed Marked 2 on my MacPro from "Marked 2" to "Marked 2.4.10".
I<br>
zipped, copied, and unzipped 2.4.9 in Applications folder to my
MacPro.<br>
Now on the MacPro, Marked 2.4.9 syntax highlighting works fine
while Marked<br>
2.4.10 does not perform Syntax Highlighting.</p>
<p>2.4.10<br>
[image: Inline image 1]</p>
<p>2.4.9 using the same markdown file, same Preference settings<br>
[image: Inline image 2]</p>
<p>Steve</p>
<hr>
<p>Steve West</p>
<p><a href="mailto:swest@commandw.com">swest@commandw.com</a></p>
<p>(704) 775-8477</p></div>Steve Westtag:support.markedapp.com,2011-09-11:Comment/360503282015-02-15T19:32:05Z2015-02-15T19:32:05ZSyntax highlighting Advanced Preference in 2.4.10 no longer works<div><p>I'm still believing there's an issue with the main preferences
system.<br>
The difference between 2.4.9 and 2.4.10 for direct sale customers
is<br>
that 2.4.10 removes the OS X security feature, sandboxing. Thus,
it<br>
stores the preferences in a new location outside of the
sandbox.</p>
<p>To verify that this is the issue, please open a preview window
and type<br>
control-option-I. Pressing escape once should focus the input field
at<br>
the bottom of the console. Enter this (paste it in):</p>
<pre>
<code>Marked.config.inspect();</code>
</pre>
<p>Let me know what you see.</p>
<p>Thanks,<br>
Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/360503282015-02-15T22:09:08Z2015-02-15T22:09:09ZSyntax highlighting Advanced Preference in 2.4.10 no longer works<div><blockquote>
<p>Marked.config.inspect(); [Log] Cocoa preferences (marked.min.js,
line 1) <a href="marked.min.js,%20line%201">Log</a> [Log] JS
preferences (marked.min.js, line 1) [Log] reduceProcessing:
(undefined) undefined (marked.min.js, line 1)
reduceHeavyProcessing: (undefined) undefined<br>
enableMiniMap: (undefined) undefined<br>
checkLinksOnLoad: (undefined) undefined<br>
shouldScroll: (undefined) undefined<br>
shouldHighlight: (undefined) undefined<br>
shouldCollapseHeadlines: (undefined) undefined<br>
shouldHighlightErrors: (undefined) undefined<br>
shouldLoadCritic: (undefined) undefined<br>
shouldShowIncludesChart: (undefined) undefined<br>
shouldHighlightRepeats: (undefined) undefined<br>
requireCmdClick: (undefined) undefined<br>
snapToWords: (undefined) undefined<br>
shouldConvertGitHubTasks: (undefined) undefined<br>
savedAtBottom: (undefined) undefined<br>
showDocumentProgress: (undefined) undefined<br>
wordCountOnSelection: (undefined) undefined<br>
showStatusBar: (undefined) undefined<br>
showOnlyInvalidLinks: (undefined) undefined<br>
enableZooming: (undefined) undefined</p>
</blockquote>
<p>if a screenshot would be better...<br>
[image: Inline image 1]</p>
<hr>
<p>Steve West</p>
<p><a href="mailto:swest@commandw.com">swest@commandw.com</a></p>
<p>(704) 775-8477</p></div>Steve Westtag:support.markedapp.com,2011-09-11:Comment/360503282015-02-15T23:19:19Z2015-02-15T23:19:19ZSyntax highlighting Advanced Preference in 2.4.10 no longer works<div><p>I emailed you a test build privately.</p></div>Brett