Wechatsync icon indicating copy to clipboard operation
Wechatsync copied to clipboard

[codex] Render Zhihu LaTeX equations

Open chaochaoweb3 opened this issue 5 months ago • 0 comments

Fixes #175.

Summary

  • convert inline and block LaTeX delimiters into Zhihu equation image tags during Zhihu content transformation
  • keep equation images inline instead of wrapping them in normal image figures
  • skip LaTeX replacement inside pre/code blocks

Validation

  • npm exec --yes [email protected] -- pnpm --filter @wechatsync/core exec vitest run src/adapters/platforms/tests/zhihu.test.ts
  • npm exec --yes [email protected] -- pnpm --filter @wechatsync/core run typecheck
  • git diff --check

chaochaoweb3 avatar Jun 24 '26 01:06 chaochaoweb3