diff --git a/constant/constants.go b/constant/constants.go index 23094ec..ee35f4e 100644 --- a/constant/constants.go +++ b/constant/constants.go @@ -315,7 +315,3 @@ var IndexContent = `
` var DataFile = `` - -var IncludeIndex = "
  • =
  • " - -var IncludeCSS = `` diff --git a/conv/conv.go b/conv/conv.go new file mode 100644 index 0000000..b5ec173 --- /dev/null +++ b/conv/conv.go @@ -0,0 +1,73 @@ +package conv + +import ( + "fmt" + "io/ioutil" + "os" + "path/filepath" + "strings" + + "github.com/getgauge/spectacle/gauge_messages" + "github.com/getgauge/spectacle/util" + "github.com/golang-commonmark/markdown" +) + +const ( + dotHtml = ".html" + dotCSS = ".css" + quotes = `""''` + linkTemplate = "
  • %s
  • " + htmlTemplate = `%s%s