Syntax highlighting Advanced Preference in 2.4.10 no longer works
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.
- Style.jpg 94 KB
- _vagrant-cheatsheet_md.jpg 46.7 KB
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
Support Staff 1 Posted by Brett on 14 Feb, 2015 08:52 PM
I think there may have been an issue porting your preferences to the
new, non-sandboxed version. If you could, please quit Marked, delete the
file at ~/Library/Preferences/com.brettterpstra.marked2.plist and try
re-launching. A reboot may be required to flush the preference cache, so
if nothing changes, try deleting again and restarting your machine
before relaunching Marked.
If that doesn't fix the issue, please let me know.
Thanks,
Brett
2 Posted by Steve West on 14 Feb, 2015 09:35 PM
- deleted the plist specified, no change in ability to designate
alternate syntax highlighting.
- deleted plist specified, quit Marked 2, restarted, no change in
ability to designate alternate syntax highlighting
anything else I can try or provide to you to help debug?
Steve
____________________
Steve West
[email blocked]
(704) 775-8477
Support Staff 3 Posted by Brett on 14 Feb, 2015 09:42 PM
Just to clarify, did you quit Marked _before_ deleting and restarting?
This is my iPhone. There are many like it, but this one is mine.
4 Posted by Steve West on 15 Feb, 2015 05:02 PM
Brett,
Yes I quit Marked _before_ deleting and restarting.
But I just did it all again to make sure and still no joy with Syntax
Highlighting.
I was starting to think there was something whacked on my machine.
I remembered that I hadn't updated Marked on my laptop. It is running 2.4.9
and the syntax highlighting works fine.
I renamed Marked 2 on my MacPro from "Marked 2" to "Marked 2.4.10". I
zipped, copied, and unzipped 2.4.9 in Applications folder to my MacPro.
Now on the MacPro, Marked 2.4.9 syntax highlighting works fine while Marked
2.4.10 does not perform Syntax Highlighting.
2.4.10
[image: Inline image 1]
2.4.9 using the same markdown file, same Preference settings
[image: Inline image 2]
Steve
____________________
Steve West
[email blocked]
(704) 775-8477
Support Staff 5 Posted by Brett on 15 Feb, 2015 07:32 PM
I'm still believing there's an issue with the main preferences system.
The difference between 2.4.9 and 2.4.10 for direct sale customers is
that 2.4.10 removes the OS X security feature, sandboxing. Thus, it
stores the preferences in a new location outside of the sandbox.
To verify that this is the issue, please open a preview window and type
control-option-I. Pressing escape once should focus the input field at
the bottom of the console. Enter this (paste it in):
Marked.config.inspect();
Let me know what you see.
Thanks,
Brett
6 Posted by Steve West on 15 Feb, 2015 10:09 PM
> Marked.config.inspect();
[Log] Cocoa preferences (marked.min.js, line 1)
[Log] (marked.min.js, line 1)
[Log] JS preferences (marked.min.js, line 1)
[Log] reduceProcessing: (undefined) undefined (marked.min.js, line 1)
reduceHeavyProcessing: (undefined) undefined
enableMiniMap: (undefined) undefined
checkLinksOnLoad: (undefined) undefined
shouldScroll: (undefined) undefined
shouldHighlight: (undefined) undefined
shouldCollapseHeadlines: (undefined) undefined
shouldHighlightErrors: (undefined) undefined
shouldLoadCritic: (undefined) undefined
shouldShowIncludesChart: (undefined) undefined
shouldHighlightRepeats: (undefined) undefined
requireCmdClick: (undefined) undefined
snapToWords: (undefined) undefined
shouldConvertGitHubTasks: (undefined) undefined
savedAtBottom: (undefined) undefined
showDocumentProgress: (undefined) undefined
wordCountOnSelection: (undefined) undefined
showStatusBar: (undefined) undefined
showOnlyInvalidLinks: (undefined) undefined
enableZooming: (undefined) undefined
if a screenshot would be better...
[image: Inline image 1]
____________________
Steve West
[email blocked]
(704) 775-8477
Support Staff 7 Posted by Brett on 15 Feb, 2015 11:19 PM
I emailed you a test build privately.