Skip to content

Instantly share code, notes, and snippets.

@braver
Last active November 6, 2015 12:51
Show Gist options
  • Select an option

  • Save braver/2bacf840709660ff0a92 to your computer and use it in GitHub Desktop.

Select an option

Save braver/2bacf840709660ff0a92 to your computer and use it in GitHub Desktop.
Atom stylesheet (for markdown line breaks)
@import (reference) "syntax-variables";
atom-text-editor::shadow {
.gfm {
.linebreak:after { // show markdown double-space line break
font-family: 'Octicons Regular';
font-weight: normal;
font-style: normal;
display: inline-block;
line-height: 1;
-webkit-font-smoothing: antialiased;
text-decoration: none;
font-size: 1rem;
width: 1rem;
height: 1rem;
content: "\f0a9"; //found no better icon in octicons
color: @syntax-invisible-character-color;
}
}
.invisible-character { // show invisibles only in selection
color: @syntax-background-color;
}
.line .fold-marker::before {
content: "";
border-bottom: 1px dashed @syntax-invisible-character-color;
position: absolute;
left: 0;
width: 100%;
display: block;
}
.line.cursor-line .fold-marker::before {
border-color: @syntax-text-color;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment