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