• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

yunnysunny / bookforge / 22036907291

15 Feb 2026 01:57PM UTC coverage: 70.995% (+14.8%) from 56.206%
22036907291

push

github

web-flow
feat: refactor ui flow (#2)

* feat: add top button
* feat: add top navigate bar
* feat: use zstatic.net for cdn provider
* feat: add gitbook stepper and tabs support
* feat: add notion db support
* feat: add gitbook stepper and tabs support

63 of 81 branches covered (77.78%)

Branch coverage included in aggregate %.

98 of 169 new or added lines in 13 files covered. (57.99%)

4 existing lines in 3 files now uncovered.

358 of 512 relevant lines covered (69.92%)

27.05 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/utils/gitbook.ts
1
// ========================
2
// 2. 解析参数 key="value"
3
// ========================
4
/** 解析 GitBook 参数,如 style="info" lang="ts" */
5
export function parseParams(str: string) {
NEW
6
  const params: Record<string, string> = {};
×
NEW
7
  const re = /(\w+)="(.*?)"/g;
×
NEW
8
  let m: RegExpExecArray | null = null;
×
NEW
9
  while (true) {
×
NEW
10
    m = re.exec(str);
×
NEW
11
    if (!m) break;
×
NEW
12
    params[m[1]] = m[2];
×
13
  }
NEW
14
  return params;
×
15
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc