Remove mention of salixmd until yuin/goldmark#426 is resolved

This commit is contained in:
Elara 2023-11-04 10:16:04 -07:00
parent 6c23c75906
commit 685dcee774
2 changed files with 2 additions and 5 deletions

View File

@ -29,7 +29,6 @@ Salix's syntax is similar to Leaf and (in my opinion at least), it's much more f
- [Ternary Expressions](#ternary-expressions)
- [Coalescing operator](#coalescing-operator)
- [The `in` operator](#the-in-operator)
- [Markdown](#markdown)
- [Acknowledgements](#acknowledgements)
## Examples
@ -218,10 +217,6 @@ Salix's `in` operator allows you to check if a slice or array contains an elemen
#("H" in "Hello") <!-- Returns true -->
```
## Markdown
Salix doesn't include a markdown rendering tag because I didn't want any non-stdlib dependencies. Instead, there's an implementation of a markdown salix tag using [goldmark](https://github.com/yuin/goldmark) at [go.elara.ws/salixmd](https://pkg.go.dev/go.elara.ws/salixmd).
## Acknowledgements
- [Pigeon](https://github.com/mna/pigeon): Salix uses a [PEG](https://en.wikipedia.org/wiki/Parsing_expression_grammar) parser generated by pigeon. Salix would've been a lot more difficult to write without it.

View File

@ -57,9 +57,11 @@ func main() {
vars["name"] = name
}
n := time.Now()
err = tmpl.
WithVarMap(vars).
Execute(w)
println(time.Since(n).String())
if err != nil {
log.Println(err)
w.WriteHeader(http.StatusInternalServerError)