Skip to content

求助:如何像WORD一样能看到字符数量? #240

Closed

Description

@a86022

如题

Activity

  1. oipoistar commented on Sep 20, 2026

    @oipoistar
    Owner

    Thanks for the suggestion! I’m currently working on a new WYSIWYG editor that includes word and character counts. It’s still too early to release, but this will be available in a future update. I’ll keep this issue open until then.

    中文
    感谢你的建议!我目前正在开发新的所见即所得编辑器,其中会包含字数和字符数统计功能。目前还处于开发阶段,尚未准备好发布,但未来的更新会提供这项功能。在此之前,我会保持这个 issue 开放。

  2. oipoistar commented on Oct 8, 2026

    @oipoistar
    Owner

    Following up on my earlier reply: the count doesn't have to wait for the new editor. Added in 28e1792, and it ships in Tinta 3.7.5: the editor shows a word and character count in its bottom-left corner, next to the Read · Ctrl+Shift+E button. It counts the text a reader sees, so Markdown syntax, link addresses, front matter, code blocks and formulas are left out. As in Word, each Chinese or Japanese character counts as one word; characters include spaces but not line breaks. While text is selected it shows the selection and the total, for example 12 / 345. You can turn it off in Settings → Editor → Word count.

    补充之前的回复:字数统计不必等新的编辑器了。此功能已在 28e1792 中加入,并将包含在 Tinta 3.7.5 中:编辑器左下角、“阅读 · Ctrl+Shift+E”按钮旁边会显示字数和字符数。统计的是读者看到的文字:Markdown 语法、链接地址、文档属性(front matter)、代码块和公式不计入。与 Word 一样,每个汉字或日文字符算作一个字;字符数包含空格,但不包含换行。选中文字时会显示选中部分和全文的数量,例如 12 / 345。可以在“设置 → 编辑器 → 字数统计”中关闭。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions