Created
June 2, 2015 22:55
-
-
Save evanlucas/ddbe24aa5ffbfdaac780 to your computer and use it in GitHub Desktop.
atom highlights with line numbering
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
.editor { | |
counter-reset: linenumber; | |
font-size: 16px; | |
font-family: Monaco; | |
} | |
.editor > .line { | |
counter-increment: linenumber; | |
} | |
.editor > .line:before { | |
content: counter(linenumber); | |
padding-right: 0.5em; | |
margin-right: 0.5em; | |
text-align: right; | |
display: inline-block; | |
width: 40px; | |
border-right: 1px solid #ddd; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment