static.go 739 B

1234567891011121314
  1. // This package provides a utility to parse markdown files in lexical order
  2. // as a single document or individual pages, with no additional requirements.
  3. //
  4. // It includes default templates that are embedded, but can be directed to a
  5. // separate file granting better control for more complex use-cases.
  6. //
  7. // Template parameters are simple, and include Title, Content, and Version;
  8. // both the Version and Title can be changed. If in web mode, an additional
  9. // property called Name will be set to the basename of the file.
  10. package static
  11. // List of extensions matching the github parser, but with an inversed order
  12. // so that we pick the shortest extension first.
  13. var extensions = []string{".md", ".mkd", ".mkdn", ".mdown", ".markdown"}