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.

want.md 346 B

123456789101112131415161718192021222324252627282930
  1. This template is for testing snipmd.awk.
  2. Put the first snippet here.
  3. [snip]:# (first)
  4. ```go
  5. fmt.Println("hello")
  6. x := ...
  7. ```
  8. And now the second.
  9. [snip]:# (second)
  10. ```go
  11. if x > 2 {
  12. ...
  13. }
  14. ```
  15. A top-level snippet.
  16. [snip]:# (top-level)
  17. ```go
  18. var ErrBad = errors.New("bad")
  19. ```
  20. ```go
  21. // A code block that is not included.
  22. ```
  23. And we're done.