Robin Krahl
Robin Krahl
I’ve spent some time using `html2text`, reading its source code and even writing small patches. Still, I haven’t really grasped the complete rendering process that `html2text` performs. At the same...
The reason why I wanted a fix for preformatted blocks (#32) was that I wanted to implement syntax highlighting for code blocks for `rusty-man`. With the new release v0.2.1, I...
Is it possible to implement text decorator functions for all elements? The current implementations for plain and rich text are already very helpful, but I would like to tweak the...
This is a both a question and a feature request. # Problem description I saw the `TextView::set_effect` method and wanted to have a `set_style` method too. I was about to...
Currently, `TableViewItem::to_column` returns a `String`. It would be convenient to be able to add some style to the string, or maybe even to be able to use an arbitrary view...
`Money` has two fields, a `rust_decimal::Decimal` instance and a reference. Both implement `Copy`, so `Money` should be able to derive `Copy`. The [`Copy` documentation](https://doc.rust-lang.org/std/marker/trait.Copy.html#when-should-my-type-be-copy) recommends that *‘[g]enerally speaking, if your...
Currently, `Formatter::money` does not include trailing zeros even if this results in less than `params.rounding` minor digits. Is this intentional? If it is, I would appreciate an option to format...
`lopdf` provides the `Document::encode_text` function to encode strings in one of the PDF character encodings. This function just ignores unsupported characters. In my library, I’d like to return an error...
This PR makes the word separators and splitters more flexible to allow users to use their own words types. It also adds an example that shows how to use textwrap...
`textwrap::wrap_algorithm` already works with the `Fragment` trait. What do you think about making the `textwrap::word_separators` and `textwrap::word_splitters` modules generic? As far as I see, it would not even be necessary...