Last active
November 6, 2015 12:51
-
-
Save braver/2bacf840709660ff0a92 to your computer and use it in GitHub Desktop.
Atom stylesheet (for markdown line breaks)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @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