Add support for Markdown with syntax highlighting

This commit is contained in:
Robert Marshall 2019-04-28 09:06:59 +01:00
parent 32eef104fb
commit 19818ef69e
5 changed files with 46 additions and 23 deletions

View file

@ -1,29 +1,17 @@
@import "colours.less";
.code {
border: 4px solid @control;
background: @control2;
.editor-colors {
border: 4px solid #fff;
background: #fff;
border-radius: 4px;
margin: 0;
margin-bottom: 10px;
overflow: auto;
padding: 6px;
ol {
list-style-position: inside;
padding: 0;
pre {
margin: 0;
}
li {
background: @control;
padding: 1px;
>div {
display: inline;
}
&:nth-child(2n) {
background: @control2;
}
tab-size: 4;
-moz-tab-size: 4;
}
}