bokuweb / docx-rs

:memo: A .docx file writer with Rust/WebAssembly.
https://bokuweb.github.io/docx-rs/
MIT License
334 stars 57 forks source link

Strike is only available on run_property #647

Closed soupslurpr closed 1 month ago

soupslurpr commented 1 year ago

Describe the bug

Hello, thanks for this crate. It is very useful. I see that strike() which to my knowledge should be for strikethrough is only in run_property and not for run itself.

Reproduced step

Run::new().strike()

Expected behavior

I think strike() should exist in run and not only run_property.

Actual behavior

does not exist, while bold, italic, etc does exist.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information)

jvnkr commented 4 months ago

+1

git-noise commented 2 months ago

Hi, sent a quick PR to tackle this one.