Repository navigation
MDict for Bob 1.2.0
·
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 returnscontent: { format: "markdown", text }; Plain Text and the
automatic free-form fallback returnformat: "plain". The same text is still
sent as onetoParagraphselement, which older Bob versions read, so the
plugin keepsminBobVersion1.20.0 and Markdown shows as raw source there.
Markdown rendering requires Bob 1.21.0+ on macOS 13+. - Declare the
/listresult asplainso Bob 1.21+ does not read its several
toParagraphselements aslinesmapped 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 its7and 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.