Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
Refactor Markdown generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Svetlin Ralchev committed Dec 13, 2019
1 parent 10d32db commit da96b67
Show file tree
Hide file tree
Showing 3 changed files with 193 additions and 193 deletions.
2 changes: 1 addition & 1 deletion syntax/markdown/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (g *Generator) sync(path string, ctx map[string]interface{}) error {
var (
name = inflect.LowerCase(filepath.Base(path))
writer = &syntax.TemplateWriter{
Path: fmt.Sprintf("syntax/golang/%s.tpl", name),
Path: fmt.Sprintf("syntax/markdown/%s.tpl", name),
Context: ctx,
}
)
Expand Down
Loading

0 comments on commit da96b67

Please sign in to comment.