mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00:00
Added coding style modes to SimpleMDE (#3286)
* Added coding style modes to SimpleMDE * Moved the CodeMirror addon from simplemd to codemirror directory
This commit is contained in:
26
public/plugins/codemirror-5.17.0/mode/tiki/tiki.css
Normal file
26
public/plugins/codemirror-5.17.0/mode/tiki/tiki.css
Normal file
@@ -0,0 +1,26 @@
|
||||
.cm-tw-syntaxerror {
|
||||
color: #FFF;
|
||||
background-color: #900;
|
||||
}
|
||||
|
||||
.cm-tw-deleted {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.cm-tw-header5 {
|
||||
font-weight: bold;
|
||||
}
|
||||
.cm-tw-listitem:first-child { /*Added first child to fix duplicate padding when highlighting*/
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.cm-tw-box {
|
||||
border-top-width: 0px !important;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: inherit;
|
||||
}
|
||||
|
||||
.cm-tw-underline {
|
||||
text-decoration: underline;
|
||||
}
|
Reference in New Issue
Block a user