I’m new on this forum, so I hope discussing/asking questions about plugins is OK here. In any case, my question is really about preference settings so maybe it’s fair game anyway.
I’m trying to add a custom CSS for Markdown Preview to my user preferences. So I’m editing the MarkdownPreview.sublime-settings file, and I want to make sure I have the syntax correct for that preference file. I understand that the preference files are JSON. So I’m adding this to the user preference file, but it’s not applying the CSS to the preview.
[code]/*
Add a custom css file to embed in the HTML
other - Set an absolute path or url to any css file
*/
{
"css": "/path/to/css/md-preview.css"
}
][/code]
When I save the preference file it saves just fine, which is progress, because when I tried to save it without the square and curly brackets I was getting error messages. This leads me to believe that the syntax is correct, however the new CSS rules aren’t being applied to the preview. Am I missing something? Got the syntax wrong? Yes, the CSS file is in the path specified in the setting. Any help would be appreciated.
Earl