Juste change style sheet


#1

Hi everyone,

I’m trying to change the background-color and such other things but just for markdown syntax. But how exactly should I do that? I can’t find the good selector …

Thanks,


#2

Like this?

.syntax--md {
  background-color: olive
}

#3

Yes exactly ! But it doesn’t work for me …


#4

It definitely works. If you don’t see this, you’re doing something different.


#5

Yes it works ! thanks (I was on “Markdown Github” Syntax and not just “Markdown”. Last question, is it possible to change all the editor background color of markdown syntax ? Not just the element boxes ?
Thanks again


#6

Sorry, I forgot that the language-markdown package I’m using isn’t the default scope. How about this?

atom-text-editor[data-grammar*="gfm"] .scroll-view {
  background-color: olive !important;
}