mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2025-09-14 08:44:04 +07:00
Add markdown format support (#25)
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
This commit is contained in:
8
node_modules/showdown/test/features/metadata/dashes-conflict.html
generated
vendored
Normal file
8
node_modules/showdown/test/features/metadata/dashes-conflict.html
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
<p><strong>some</strong> markdown text</p>
|
||||
<ul>
|
||||
<li>a list</li>
|
||||
<li>another list ---</li>
|
||||
<li>and stuff</li>
|
||||
</ul>
|
||||
<p>a paragraph --- with dashes</p>
|
||||
<hr />
|
16
node_modules/showdown/test/features/metadata/dashes-conflict.md
generated
vendored
Normal file
16
node_modules/showdown/test/features/metadata/dashes-conflict.md
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
|
||||
title: This is the document title
|
||||
language: en
|
||||
author: Tivie
|
||||
|
||||
---
|
||||
**some** markdown text
|
||||
|
||||
- a list
|
||||
- another list ---
|
||||
- and stuff
|
||||
|
||||
a paragraph --- with dashes
|
||||
|
||||
---
|
16
node_modules/showdown/test/features/metadata/embeded-in-output.html
generated
vendored
Normal file
16
node_modules/showdown/test/features/metadata/embeded-in-output.html
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>This is the document title</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="language" content="en">
|
||||
<meta name="author" content="Tivie">
|
||||
<meta name="contributors" content="John, Mary, Steve">
|
||||
<meta name="description" content="This is a long text and so it spans on multiple lines. It must be indented, for showdown to parse it correctly. Markdown **such as bold** is not parsed and it will be rendered as plain text.">
|
||||
<meta name="date" content="01-01-2010">
|
||||
<meta name="keywords" content="foo, bar, baz">
|
||||
</head>
|
||||
<body>
|
||||
<p><strong>some</strong> markdown text</p>
|
||||
</body>
|
||||
</html>
|
16
node_modules/showdown/test/features/metadata/embeded-in-output.md
generated
vendored
Normal file
16
node_modules/showdown/test/features/metadata/embeded-in-output.md
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
«««
|
||||
title: This is the document title
|
||||
language: en
|
||||
author: Tivie
|
||||
contributors: John, Mary, Steve
|
||||
description: This is a long text and so it
|
||||
spans on multiple lines.
|
||||
It must be indented,
|
||||
for showdown to parse it correctly.
|
||||
Markdown **such as bold** is not parsed
|
||||
and it will be rendered as plain text.
|
||||
date: 01-01-2010
|
||||
keywords: foo, bar, baz
|
||||
»»»
|
||||
|
||||
**some** markdown text
|
22
node_modules/showdown/test/features/metadata/embeded-two-consecutive-metadata-blocks-different-symbols.html
generated
vendored
Normal file
22
node_modules/showdown/test/features/metadata/embeded-two-consecutive-metadata-blocks-different-symbols.html
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>This is the document title</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="language" content="en">
|
||||
<meta name="author" content="Tivie">
|
||||
<meta name="contributors" content="John, Mary, Steve">
|
||||
<meta name="keywords" content="foo, bar, baz">
|
||||
</head>
|
||||
<body>
|
||||
<hr />
|
||||
<p>description: This is a long text and so it
|
||||
spans on multiple lines.
|
||||
It must be indented,
|
||||
for showdown to parse it correctly.
|
||||
Markdown <strong>such as bold</strong> is not parsed
|
||||
and it will be rendered as plain text.</p>
|
||||
<h2 id="date01012010">date: 01-01-2010</h2>
|
||||
<p><strong>some</strong> markdown text</p>
|
||||
</body>
|
||||
</html>
|
18
node_modules/showdown/test/features/metadata/embeded-two-consecutive-metadata-blocks-different-symbols.md
generated
vendored
Normal file
18
node_modules/showdown/test/features/metadata/embeded-two-consecutive-metadata-blocks-different-symbols.md
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
«««
|
||||
title: This is the document title
|
||||
language: en
|
||||
author: Tivie
|
||||
contributors: John, Mary, Steve
|
||||
keywords: foo, bar, baz
|
||||
»»»
|
||||
---
|
||||
description: This is a long text and so it
|
||||
spans on multiple lines.
|
||||
It must be indented,
|
||||
for showdown to parse it correctly.
|
||||
Markdown **such as bold** is not parsed
|
||||
and it will be rendered as plain text.
|
||||
date: 01-01-2010
|
||||
---
|
||||
|
||||
**some** markdown text
|
22
node_modules/showdown/test/features/metadata/embeded-two-consecutive-metadata-blocks.html
generated
vendored
Normal file
22
node_modules/showdown/test/features/metadata/embeded-two-consecutive-metadata-blocks.html
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>This is the document title</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="language" content="en">
|
||||
<meta name="author" content="Tivie">
|
||||
<meta name="contributors" content="John, Mary, Steve">
|
||||
<meta name="keywords" content="foo, bar, baz">
|
||||
</head>
|
||||
<body>
|
||||
<hr />
|
||||
<p>description: This is a long text and so it
|
||||
spans on multiple lines.
|
||||
It must be indented,
|
||||
for showdown to parse it correctly.
|
||||
Markdown <strong>such as bold</strong> is not parsed
|
||||
and it will be rendered as plain text.</p>
|
||||
<h2 id="date01012010">date: 01-01-2010</h2>
|
||||
<p><strong>some</strong> markdown text</p>
|
||||
</body>
|
||||
</html>
|
18
node_modules/showdown/test/features/metadata/embeded-two-consecutive-metadata-blocks.md
generated
vendored
Normal file
18
node_modules/showdown/test/features/metadata/embeded-two-consecutive-metadata-blocks.md
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
title: This is the document title
|
||||
language: en
|
||||
author: Tivie
|
||||
contributors: John, Mary, Steve
|
||||
keywords: foo, bar, baz
|
||||
---
|
||||
---
|
||||
description: This is a long text and so it
|
||||
spans on multiple lines.
|
||||
It must be indented,
|
||||
for showdown to parse it correctly.
|
||||
Markdown **such as bold** is not parsed
|
||||
and it will be rendered as plain text.
|
||||
date: 01-01-2010
|
||||
---
|
||||
|
||||
**some** markdown text
|
15
node_modules/showdown/test/features/metadata/ignore-metadata.html
generated
vendored
Normal file
15
node_modules/showdown/test/features/metadata/ignore-metadata.html
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<hr />
|
||||
<p>title: This is the document title
|
||||
language: en
|
||||
author: Tivie
|
||||
contributors: John, Mary, Steve
|
||||
description: This is a long text and so it
|
||||
spans on multiple lines.
|
||||
It must be indented,
|
||||
for showdown to parse it correctly.
|
||||
Markdown <strong>such as bold</strong> is not parsed
|
||||
and it will be rendered as plain text.
|
||||
date: 01-01-2010
|
||||
keywords: foo, bar, baz</p>
|
||||
<hr />
|
||||
<p><strong>some</strong> markdown text</p>
|
18
node_modules/showdown/test/features/metadata/ignore-metadata.md
generated
vendored
Normal file
18
node_modules/showdown/test/features/metadata/ignore-metadata.md
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
|
||||
title: This is the document title
|
||||
language: en
|
||||
author: Tivie
|
||||
contributors: John, Mary, Steve
|
||||
description: This is a long text and so it
|
||||
spans on multiple lines.
|
||||
It must be indented,
|
||||
for showdown to parse it correctly.
|
||||
Markdown **such as bold** is not parsed
|
||||
and it will be rendered as plain text.
|
||||
date: 01-01-2010
|
||||
keywords: foo, bar, baz
|
||||
|
||||
---
|
||||
|
||||
**some** markdown text
|
1
node_modules/showdown/test/features/metadata/simple-angled-for-method.html
generated
vendored
Normal file
1
node_modules/showdown/test/features/metadata/simple-angled-for-method.html
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
<p>some <strong>text</strong></p>
|
6
node_modules/showdown/test/features/metadata/simple-angled-for-method.md
generated
vendored
Normal file
6
node_modules/showdown/test/features/metadata/simple-angled-for-method.md
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
«««
|
||||
foo: bar
|
||||
baz: bazinga
|
||||
»»»
|
||||
|
||||
some **text**
|
1
node_modules/showdown/test/features/metadata/simple-angled-quotes.html
generated
vendored
Normal file
1
node_modules/showdown/test/features/metadata/simple-angled-quotes.html
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
<p><strong>some</strong> markdown text</p>
|
16
node_modules/showdown/test/features/metadata/simple-angled-quotes.md
generated
vendored
Normal file
16
node_modules/showdown/test/features/metadata/simple-angled-quotes.md
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
«««
|
||||
title: This is the document title
|
||||
language: en
|
||||
author: Tivie
|
||||
contributors: John, Mary, Steve
|
||||
description: This is a long text and so it
|
||||
spans on multiple lines.
|
||||
It must be indented,
|
||||
for showdown to parse it correctly.
|
||||
Markdown **such as bold** is not parsed
|
||||
and it will be rendered as plain text.
|
||||
date: 01-01-2010
|
||||
keywords: foo, bar, baz
|
||||
»»»
|
||||
|
||||
**some** markdown text
|
1
node_modules/showdown/test/features/metadata/simple-three-dashes.html
generated
vendored
Normal file
1
node_modules/showdown/test/features/metadata/simple-three-dashes.html
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
<p><strong>some</strong> markdown text</p>
|
16
node_modules/showdown/test/features/metadata/simple-three-dashes.md
generated
vendored
Normal file
16
node_modules/showdown/test/features/metadata/simple-three-dashes.md
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
title: This is the document title
|
||||
language: en
|
||||
author: Tivie
|
||||
contributors: John, Mary, Steve
|
||||
description: This is a long text and so it
|
||||
spans on multiple lines.
|
||||
It must be indented,
|
||||
for showdown to parse it correctly.
|
||||
Markdown **such as bold** is not parsed
|
||||
and it will be rendered as plain text.
|
||||
date: 01-01-2010
|
||||
keywords: foo, bar, baz
|
||||
---
|
||||
|
||||
**some** markdown text
|
1
node_modules/showdown/test/features/metadata/simple-with-format.html
generated
vendored
Normal file
1
node_modules/showdown/test/features/metadata/simple-with-format.html
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
<p><strong>some</strong> markdown text</p>
|
9
node_modules/showdown/test/features/metadata/simple-with-format.md
generated
vendored
Normal file
9
node_modules/showdown/test/features/metadata/simple-with-format.md
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
---YAML
|
||||
foo: bar
|
||||
baz:
|
||||
- bazinga
|
||||
- bling
|
||||
- blang
|
||||
---
|
||||
|
||||
**some** markdown text
|
Reference in New Issue
Block a user