Word Table Sync

approvedunreviewed

by yjs

Vocabulary review manager for Markdown tables: automatic table detection, spaced review dates, due/overdue sidebar, archiving, reactivation, and plain-text mobile output.

↓ 61 downloadsUpdated 21d agoMIT

Word Table Sync

An Obsidian plugin for managing a Markdown vocabulary table with spaced review scheduling, a review sidebar, and per-meaning example sentences.

Features

  • Automatically detects the vocabulary table in a note (header names are free-form).
  • Works with short binary codes such as 1, 11, 111, 1111, 11111, 111110; everything is normalized to 7 digits internally.
  • The 7th bit is v: 1 means the word is mastered and the row is moved to the archive table; setting it back to 0 reactivates the word.
  • Review dates and progress are stored in a JSON state file keyed by permanent UUID, so editing a row never resets its schedule.
  • Review sidebar groups entries as overdue → due today → pending mastery, with one-click 打卡 / 确认熟练.
  • Each card shows only the review window and the code, followed by example sentences taken from a JSON sentence library:
    • one sentence per sense of the meaning column;
    • numbered 1. 2. 3. only when a word has more than one sense;
    • the target word (including common inflections) is bolded.
  • Clicking a word opens the source table and centers the row in the editor.
  • 单词查看.md (plain-text list for mobile widgets) is regenerated in the same order: overdue → today → pending mastery. Deleting a word there counts as one review; deleting a completed 6/6 word confirms mastery and archives it.
  • Archives, reactivates, keeps daily snapshots, an autosave copy, and a diagnostics log.

Example sentence library

A JSON file in the vault (path configurable in settings, default 单词例句库.json):

{
  "words": {
    "abandon": { "meaning": "v. 放弃", "sentences": ["They had to abandon the plan because of the storm."] },
    "tune": {
      "meaning": "1. v. 调节引擎 2. v. 调音 3. n. 曲调",
      "sentences": [
        "The mechanic tuned the engine so that it ran more smoothly.",
        "He tuned his guitar before the concert began.",
        "She hummed a cheerful tune while she washed the dishes."
      ]
    }
  }
}

Short forms are accepted too: { "abandon": ["sentence"] } or { "abandon": "sentence" }. Sentences are matched by the first table column after stripping ==highlight==, <br>, and parenthetical notes.

Default schedule

Review targets are Day 1, 2, 3, 7, 14, 30. Default gaps are 1,1,4,7,16 days after stages 1–5. Default grace windows are 0,0,0,1,1,2 days for Day 1, 2, 3, 7, 14 and 30.

Installation

Copy manifest.json, main.js and styles.css into:

<vault>/.obsidian/plugins/word-table-sync/

Then enable Word Table Sync under Settings → Community plugins.

Settings

SettingDescription
原始单词表Markdown file holding the vocabulary table
单词查看Plain-text list read by mobile widgets; the source table is embedded below it
已背诵单词表Archive table for mastered words
状态文件JSON state (UUID, dates, stage); kept inside the plugin folder by default
例句库JSON sentence library (see above)
纯文本分隔符Separator used between words in 单词查看
复习间隔 / 宽限天数Schedule configuration
单词查看删词=打卡Deleting a word in 单词查看 counts as one review (6/6 words are archived instead)

License

MIT

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.