changed: replace --- with hr in color mode
This commit is contained in:
parent
58b0b90021
commit
8bba9af403
1 changed files with 6 additions and 0 deletions
6
main.js
6
main.js
|
|
@ -2167,6 +2167,12 @@ function rawline2html(line, index, options)
|
|||
line = "<span class='color-comment'>" + line + "</span>";
|
||||
}
|
||||
|
||||
// hl
|
||||
if (line == "---")
|
||||
{
|
||||
line = "<hr>";
|
||||
}
|
||||
|
||||
// autocomplete snippets
|
||||
if (index == currentline())
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue