mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-11-02 07:21:02 +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:
parent
cf85e9eb7b
commit
69dae1ec1c
286 changed files with 49679 additions and 0 deletions
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue