Checkboxes in spreadsheets
Form control checkboxes in xlsx, xlsm, xlsb, xls and ods now come out in the cell they sit over, as [x] / [ ] followed by the caption when there is one. They used to be dropped, so a sheet of tick boxes lost its answers.
| Quantity | Panel length (mm) | L/R | R/L | Roof | Wall |
| --- | --- | --- | --- | --- | --- |
| 14 | 4680 | [x] | [ ] | [x] | [ ] |
| 14 | 4595 | [x] | [x] | [x] | [ ] |
Hidden controls, and controls in hidden rows or columns, stay out like any other hidden content. The Excel 365 cell checkboxes (a boolean cell) are unchanged and still print TRUE / FALSE.
Model
Checkboxes have one node: Inline::Checkbox(bool) in Rust, kind checkbox with a checked field in the node, wasm and Python documents. The Markdown renderer owns the [x] / [ ] token, in table cells and in lists alike. ListItem.checked is gone: a task list item is an item whose content starts with a checkbox.
Full Changelog: v0.2.2...v0.2.3
详细ChangeLog
Fix
$ in ordinary text is now escaped only where it could actually open a math span: directly before non-space, with a closing $ later on the line. v0.2.1 escaped every dollar, so prices came out as \$20.00.
Full Changelog: v0.2.1...v0.2.2
详细ChangeLog
Equations come out as LaTeX
Equations used to vanish from the output. Word, PowerPoint, OpenDocument, EPUB and RTF equations now convert to GitHub-flavored math: $...$ inline, $$ blocks for displayed formulas.
The roots are $x=\frac{-b\pm\sqrt{b^{2}-4ac}}{2a}$ for any a.
$$
\sum_{i=1}^{n}{x_{i}}=\sin{\left(\theta\right)}
$$
Covered: fractions, sub/superscripts, radicals, delimiters, n-ary operators with limits, functions, accents, bars, matrices, equation arrays, text runs, Unicode symbols, and the styled alphabets (bold, blackboard, fraktur, script, sans, mono).
Bindings get a math block and inline kind with the LaTeX in text.
Markdown
$ in ordinary text is now escaped, so a price can never pair up into a math span.
Full Changelog: v0.2.0...v0.2.1
详细ChangeLog
Excel goes in-house
.xlsx, .xlsb and .xls are now read by our own parser - about 4,400 lines of new reader code - and calamine is gone, taking five transitive crates with it.
What that buys:
- All three containers share one cell model and one number-format renderer, so dates, currencies and rounding come out the same whichever way a workbook was saved.
- Workbook bugs are now fixable in this repo instead of waiting on an upstream release.
- Six fewer crates to build and audit.
Smarter Markdown escaping
Backslashes now only appear where emphasis could actually form. a *b 2 * 3 comes out as written, not a \*b 2 \* 3.
Fixes
| inside a code span no longer splits table rows
- docx no longer fuses words together at run boundaries
- epubs with a repeated spine part no longer duplicate the chapter
Full Changelog: v0.1.9...v0.2.0
详细ChangeLog