FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs: Update readme-cn.md by chenmingyong0423 · Pull Request #577 · gitalk/gitalk · GitHub

/ gitalk Public
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .md  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
4 changes: 2 additions & 2 deletions readme-cn.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,15 @@ import GitalkComponent from "gitalk/dist/gitalk-component";
Default: `location.href`.

页面的唯一标识。长度必须小于50。

提示:可以使用正则从 `URL` 中提取其中一部份作为 `id`。例如:`location.href.match('/(?<=posts/)(.*)(?=/)/')[1]`

- **number** `Number`

Default: `-1`.

页面的 issue ID 标识,若未定义`number`属性则会使用`id`进行定位。

提示:可以使用正则从 `URL` 中提取其中一部份作为 `id`。例如:`location.href.match('/(?<=posts/)(.*)(?=/)/')[1]`

- **labels** `Array`

Default: `['Gitalk']`.
Expand Down

Back | FazBrowse Home | New Git URL