mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-23 21:20:50 +01:00
Add Email example code
This commit is contained in:
parent
c432a064a4
commit
9eed16beb4
16
tests/syntax-tests/highlighted/Email/test.eml
Normal file
16
tests/syntax-tests/highlighted/Email/test.eml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[38;2;249;38;114mReturn-Path:[0m[38;2;248;248;242m [0m[38;2;230;219;116m<user@example.com>[0m
|
||||||
|
[38;2;249;38;114mReceived:[0m[38;2;248;248;242m from mail.example ([1.1.1.1])[0m
|
||||||
|
[38;2;248;248;242m by mail.example with LMTP[0m
|
||||||
|
[38;2;248;248;242m id 123[0m
|
||||||
|
[38;2;248;248;242m (envelope-from [0m[38;2;230;219;116m<user@example.com>[0m[38;2;248;248;242m)[0m
|
||||||
|
[38;2;248;248;242m for [0m[38;2;230;219;116m<a@b>[0m[38;2;248;248;242m; [0m[38;2;255;255;255mSun, 13 Oct 2019 13:53:24 +0000[0m
|
||||||
|
[38;2;249;38;114mFrom:[0m[38;2;248;248;242m "User, Test" [0m[38;2;230;219;116m<user@example.com>[0m
|
||||||
|
[38;2;249;38;114mTo:[0m[38;2;248;248;242m "User2, Test" [0m[38;2;230;219;116m<user2@example.com>[0m
|
||||||
|
[38;2;249;38;114mSubject:[0m
|
||||||
|
[38;2;249;38;114mDate:[0m[38;2;248;248;242m [0m[38;2;255;255;255mSun, 13 Oct 2019 13:53:08 +0000[0m
|
||||||
|
[38;2;249;38;114mAccept-Language:[0m[38;2;248;248;242m de-DE, en-US[0m
|
||||||
|
[38;2;249;38;114mContent-Language:[0m[38;2;248;248;242m de-DE[0m
|
||||||
|
[38;2;249;38;114mX-MS-Has-Attach:[0m[38;2;248;248;242m yes[0m
|
||||||
|
[38;2;249;38;114mMIME-Version:[0m[38;2;248;248;242m 1.0[0m
|
||||||
|
|
||||||
|
[38;2;117;113;94mTest[0m
|
16
tests/syntax-tests/source/Email/test.eml
Normal file
16
tests/syntax-tests/source/Email/test.eml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
Return-Path: <user@example.com>
|
||||||
|
Received: from mail.example ([1.1.1.1])
|
||||||
|
by mail.example with LMTP
|
||||||
|
id 123
|
||||||
|
(envelope-from <user@example.com>)
|
||||||
|
for <a@b>; Sun, 13 Oct 2019 13:53:24 +0000
|
||||||
|
From: "User, Test" <user@example.com>
|
||||||
|
To: "User2, Test" <user2@example.com>
|
||||||
|
Subject:
|
||||||
|
Date: Sun, 13 Oct 2019 13:53:08 +0000
|
||||||
|
Accept-Language: de-DE, en-US
|
||||||
|
Content-Language: de-DE
|
||||||
|
X-MS-Has-Attach: yes
|
||||||
|
MIME-Version: 1.0
|
||||||
|
|
||||||
|
Test
|
Loading…
Reference in New Issue
Block a user