Command line client for Write.as https://write.as/apps/cli
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 930 B

123456789101112131415161718192021222324252627282930313233343536
  1. sanitized_anchor_name
  2. =====================
  3. [![Build Status](https://travis-ci.org/shurcooL/sanitized_anchor_name.svg?branch=master)](https://travis-ci.org/shurcooL/sanitized_anchor_name) [![GoDoc](https://godoc.org/github.com/shurcooL/sanitized_anchor_name?status.svg)](https://godoc.org/github.com/shurcooL/sanitized_anchor_name)
  4. Package sanitized_anchor_name provides a func to create sanitized anchor names.
  5. Its logic can be reused by multiple packages to create interoperable anchor names
  6. and links to those anchors.
  7. At this time, it does not try to ensure that generated anchor names
  8. are unique, that responsibility falls on the caller.
  9. Installation
  10. ------------
  11. ```bash
  12. go get -u github.com/shurcooL/sanitized_anchor_name
  13. ```
  14. Example
  15. -------
  16. ```Go
  17. anchorName := sanitized_anchor_name.Create("This is a header")
  18. fmt.Println(anchorName)
  19. // Output:
  20. // this-is-a-header
  21. ```
  22. License
  23. -------
  24. - [MIT License](LICENSE)