.. SPDX-License-Identifier: BSD-2-Clause
   Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org

.. _ex_rich_strings:

Example: Writing "Rich" strings with multiple formats
=====================================================

This program is an example of writing rich strings with multiple format to a
cell in a worksheet. See the :func:`write_rich_string` method for more details.

.. image:: _images/rich_strings.png

.. literalinclude:: ../../../examples/rich_strings.py

