Skip to content

MDict for Bob 1.2.0

Choose a tag to compare

@github-actions github-actions released this 25 Sep 10:57
· 11 commits to main since this release
Immutable release. Only release title and notes can be modified.
  • Adapt Markdown presentation to Bob 1.21.0's native Markdown rendering. The
    plugin now returns content: { format: "markdown", text }; Plain Text and the
    automatic free-form fallback return format: "plain". The same text is still
    sent as one toParagraphs element, which older Bob versions read, so the
    plugin keeps minBobVersion 1.20.0 and Markdown shows as raw source there.
    Markdown rendering requires Bob 1.21.0+ on macOS 13+.
  • Declare the /list result as plain so Bob 1.21+ does not read its several
    toParagraphs elements as lines mapped onto the one-line query.
  • Update the option description and documentation, which said Bob did not
    render Markdown.
  • Keep numbers in a bilingual translation. Dictionaries such as Collins leave
    the digits of a translated sentence outside the gloss elements, so
    每小时 7元。 used to lose its 7 and read 每小时 元。 in every
    presentation. A number-only text node directly beside a gloss element, with a
    gloss element or the edge of the parent on its other side, is now part of the
    translation. Numbers next to English prose, and a numeral that is itself the
    definition (14 十四), are left where they were.