You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

307 B

//go:build generate

package main

import (
"os"

"go.jolheiser.com/emdbed"
)

//go:generate go run readme.go
func main() {
convert, err := emdbed.ConvertFile("README.md")
if err != nil {
panic(err)
}
if err := os.WriteFile("README.md", []byte(convert), os.ModePerm); err != nil {
panic(err)
}
}