• Maxime's avatar
    Add context to markdown template · 6451e10d
    Maxime authored
    Created a struct containing middleware.Context, Title, Markdown and the
    variables from the user to use to render the template.
    The title now can be accessed via {{.Title}}.
    The variables can now be accessed via {{.Var.myVariableName}}.
    6451e10d
markdown_test.go 1.24 KB