improve asciidoc and rst editing #40

This commit is contained in:
Henrique Dias
2016-02-07 09:09:22 +00:00
parent cf23f6362a
commit 78e252b730
2 changed files with 23 additions and 19 deletions

View File

@@ -19,7 +19,10 @@ import (
// CanBeEdited checks if a filename has a supported extension
func CanBeEdited(filename string) bool {
extensions := [...]string{".markdown", ".md",
extensions := [...]string{
"md", "markdown", "mdown", "mmark",
"asciidoc", "adoc", "ad",
"rst",
".json", ".toml", ".yaml",
".css", ".sass", ".scss",
".js",