package org.asciidoc.intellij;

import com.intellij.lang.Commenter;
import org.jetbrains.annotations.Nullable;

/**
 * @author yole
 */
public class AsciiDocCommenter implements Commenter {
  @Nullable
  @Override
  public String getLineCommentPrefix() {
    return "//";
  }

  @Nullable
  @Override
  public String getBlockCommentPrefix() {
    return "\n////\n";
  }

  @Nullable
  @Override
  public String getBlockCommentSuffix() {
    return "\n////\n";
  }

  @Nullable
  @Override
  public String getCommentedBlockCommentPrefix() {
    return null;
  }

  @Nullable
  @Override
  public String getCommentedBlockCommentSuffix() {
    return null;
  }
}

@@ -262,16 +262,17 @@
 turn %22//
+ 
 %22;%0A  %7D%0A%0A

add space for line comment prefix (#601)