Merge pull request #3429 from PHPOffice/RichText_Update-Recipe-in-docs

Update to Docs for RichText
This commit is contained in:
Mark Baker
2023-03-02 16:15:05 +01:00
committed by GitHub
+2 -2
View File
@@ -1580,8 +1580,8 @@ Adding rich text to a cell can be done using
`\PhpOffice\PhpSpreadsheet\RichText\RichText` instances. Here''s an example, which
creates the following rich text string:
> This invoice is ***payable within thirty days after the end of the
> month*** unless specified otherwise on the invoice.
> This invoice is <font color="darkgreen">***payable within thirty days after the end of the
> month***</font> unless specified otherwise on the invoice.
```php
$richText = new \PhpOffice\PhpSpreadsheet\RichText\RichText();