[Bug 191374] New: add a reStructuredText backend

Vito De Tullio vito.detullio at gmail.com
Sat May 2 19:16:56 BST 2009


https://bugs.kde.org/show_bug.cgi?id=191374

           Summary: add a reStructuredText backend
           Product: kmail
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: vito.detullio at gmail.com


Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Sometimes I need to use email to pass programs *snippets* of code.

Moreover, I need to add simple *structure* to my email, but I need to send
**plain** text messages (no html).

A very good compromise, IMHO, will be to have a reStructuredText_ backend:
AFAIK it's the *lighter* markup language, and it's perfectly readable as it is
(so it's ok for text-only email readers [1]_), but will look better in kmail.

.. [1] Hey, all this text it's a valid rst file and you can read it :) try at
`http://rst2a.com`_

.. _http://rst2a.com: http://rst2a.com


As kmail already support html messages, a simple way will be to call the
rst2html.py script (contained into the docutils_ package).

A mid-term really big plus will be to use sphinx_ to add **also**
syntax-highlight into the source code (C, C++, python, java...) snippets
written into the rst / email message. You can so turn a simple text in a full
fledged highlighted literate program (or programming text...)

.. _reStructuredText: http://docutils.sourceforge.net/rst.html
.. _docutils: http://docutils.sourceforge.net
.. _sphinx: http://sphinx.pocoo.org/index.html

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list