# Enriched text

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Enriched_text
> Markdown URL: https://mediated.wiki/source/Enriched_text.md
> Source: https://en.wikipedia.org/wiki/Enriched_text
> Source revision: 1357221084
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{Short description|Formatted text format for e-mail}}
{{Redirect|Richtext|the document file format developed by Microsoft|Rich Text Format}}
{{Infobox file format
| name = Enriched text
| icon =
| extension =
| mime = text/enriched
| type code =
| uniform type =
| magic =
| owner =
| genre = [Formatted text](/source/Formatted_text) [format](/source/File_format)
| container for = 
| contained by = 
| extended from = 
| extended to = 
| standard = {{IETF RFC|1896}} Enriched Text
}}
'''Enriched text''' is a [formatted text](/source/formatted_text) [format](/source/file_format) for [email](/source/email), defined by the [IETF](/source/IETF) in {{IETF RFC|1896}} and associated with the <code>text/enriched</code> [MIME](/source/MIME) type which is defined in {{IETF RFC|1563}}.

==Format==
It is "intended to facilitate the wider interoperation of simple enriched text across a wide variety of hardware and software platforms". As of 2012, enriched text remained almost unknown in email traffic, while [HTML email](/source/HTML_email) is widely used.{{Citation needed|date=April 2010}}

A predecessor of this MIME type was called <code>text/richtext</code> in {{IETF RFC|1341}} and {{IETF RFC|1521}}. Neither should be confused with [Rich Text Format](/source/Rich_Text_Format) (RTF, MIME type <code>text/rtf</code> or <code>application/rtf</code>) which are unrelated specifications, devised by [Microsoft](/source/Microsoft).

A single newline in enriched text is treated as a space. Formatting commands are in the same style as [SGML](/source/SGML) and [HTML](/source/HTML). They must be balanced and nested.

Enriched text is a supported format of [Emacs](/source/Emacs),<ref>{{Cite web|url=https://www.gnu.org/software/emacs/manual/html_node/emacs/Enriched-Text.html|title=gnu.org|website=www.gnu.org}}</ref> [Evolution](/source/GNOME_Evolution), [Mutt](/source/Mutt_(email_client)),<ref>{{Cite web |url=http://www.mutt.org/doc/manual/manual-5.html |title=The Mutt E-Mail Client: Mutt's MIME Support |access-date=2013-02-26 |archive-url=https://web.archive.org/web/20130308123315/http://www.mutt.org/doc/manual/manual-5.html |archive-date=2013-03-08 |url-status=dead }}</ref> [Mulberry](/source/Mulberry_(email_client)) and [Netscape Communicator](/source/Netscape_Communicator).

==Examples==
{|
!Code
!Output
|-
|<syntaxhighlight lang="xml">
<bold>Hello, <italic>world!</italic></bold>
</syntaxhighlight>
|'''Hello, ''world!'''''
|-
|<syntaxhighlight lang="xml">
<color><param>red</param>Blood</color> is <bold>thicker</bold> than
<color><param>blue</param>water</color>.

<paraindent><param>left</param><italic>-- Well-known proverb
</italic></paraindent>
</syntaxhighlight>
|<span style="color:red;">Blood</span> is '''thicker''' than <span style="color:blue;">water</span>.
:''-- Well-known proverb''
|}

==References==
{{reflist}}

==External links==
*[http://www.rfc-editor.org/rfc/rfc1896.txt The text/enriched MIME Content-type]

{{Document markup languages}}

{{DEFAULTSORT:Enriched Text}}
Category:Email
Category:Internet Standards
Category:Computer file formats
Category:Markup languages

---
Adapted from the Wikipedia article [Enriched text](https://en.wikipedia.org/wiki/Enriched_text) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Enriched_text?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
