Conversation
… docs - New markdown-it plugin (cli-command.ts) renders <CliCommand> tags as styled code blocks with shiki-compatible --shiki-light/--shiki-dark color variables for longbridge binary (purple), subcommands (blue), args and inline comments (gray) - Header replaced with h2-style title matching SDK Links section; Install CLI link floats right with no border, pointing to /docs/cli - Expanded all non-trade CliCommand blocks from single-line to multi-line format with 2–4 real examples per command and locale-aware comments (en / zh-CN / zh-HK) across quote pull, content, subscribe, security, and watchlist docs (~160 files across 3 locales) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
| <CliCommand> | ||
| longbridge kline TSLA.US # Tesla 日 K 線(最近 100 根) | ||
| longbridge kline AAPL.US --period week # Apple 週K線 | ||
| longbridge kline NVDA.US --period day --count 20 # NVDA 最近20根日K |
Contributor
There was a problem hiding this comment.
🚫 [AutoCorrect Lint] <AutoCorrect> reported by reviewdog 🐶
Suggested change
| longbridge kline NVDA.US --period day --count 20 # NVDA 最近20根日K | |
| longbridge kline NVDA.US --period day --count 20 # NVDA 最近 20 根日 K� K |
<order_id> was parsed as an unclosed HTML tag by Vue template compiler, causing build failure. Replaced with a realistic fake order ID (693664675163312128) across order_detail, withdraw, and replace docs in all 3 locales. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ceholder Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rkflow Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cli-command.ts) renders<CliCommand>tags as styled code blocks with proper shiki dual-theme color variables (--shiki-light/--shiki-dark) for syntax highlighting: longbridge binary (purple), subcommands (blue), args and inline comments (gray)/docs/cli<CliCommand>content</CliCommand>tokens (parsed as paragraph > inline by markdown-it) now correctly handled via Case 2 token splice<CliCommand>blocks from single-line to multi-line format with 2–4 real verified examples per command and locale-aware comments (en / zh-CN / zh-HK) across quote pull, content, subscribe, security, and watchlist docsTest plan
bun run devand verify CliCommand blocks render with correct syntax highlighting in light and dark mode/docs/cli🤖 Generated with Claude Code