Commit 60b41aba authored by twanvl's avatar twanvl

Allow // comment in documentation

parent 186190a4
......@@ -157,6 +157,10 @@ function autoformat__handle(&$i, $prefix, $first, $fail_same = false) {
$text .= $line . "\n";
$state = '';
// Comment
} elseif (preg_match("@^//@", $line)) {
// ignore
// Just text
} else if ($fail_same && $autoformat__lines[$i-1]{$len-1} != ' ' && $text != '') {
// consecutive * and # lines are different items
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment