summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2020-03-06 03:52:12 +0200
committerLauri Ojansivu <x@xet7.org>2020-03-06 03:52:12 +0200
commit2b26bbe78a1a2b8b427963a6c44c3853efdb737e (patch)
tree90a71801d84a4c0a019e072a953299bbc0a2962d /packages
parenta6d702d1ab9906898dab4cacec735043e5618fb1 (diff)
downloadwekan-2b26bbe78a1a2b8b427963a6c44c3853efdb737e.tar.gz
wekan-2b26bbe78a1a2b8b427963a6c44c3853efdb737e.tar.bz2
wekan-2b26bbe78a1a2b8b427963a6c44c3853efdb737e.zip
Fix: img tag did not allow width and height.
Removed swipebox from markdown editor img tag and updated marked markdown to newest version. Thanks to hradec and xet7 ! Closes #2956
Diffstat (limited to 'packages')
-rw-r--r--packages/markdown/marked/.editorconfig16
-rw-r--r--packages/markdown/marked/.eslintignore1
-rw-r--r--packages/markdown/marked/.gitattributes2
-rw-r--r--packages/markdown/marked/.github/ISSUE_TEMPLATE.md42
-rw-r--r--packages/markdown/marked/.github/ISSUE_TEMPLATE/Bug_report.md27
-rw-r--r--packages/markdown/marked/.github/ISSUE_TEMPLATE/Feature_request.md14
-rw-r--r--packages/markdown/marked/.github/ISSUE_TEMPLATE/Proposal.md11
-rw-r--r--packages/markdown/marked/.github/PULL_REQUEST_TEMPLATE.md53
-rw-r--r--packages/markdown/marked/.github/PULL_REQUEST_TEMPLATE/badges.md50
-rw-r--r--packages/markdown/marked/.github/PULL_REQUEST_TEMPLATE/release.md25
-rw-r--r--packages/markdown/marked/.gitignore3
-rw-r--r--packages/markdown/marked/.travis.yml46
-rw-r--r--packages/markdown/marked/Makefile15
-rw-r--r--packages/markdown/marked/README.md2
-rw-r--r--packages/markdown/marked/SECURITY.md10
-rwxr-xr-xpackages/markdown/marked/bin/marked215
-rw-r--r--packages/markdown/marked/bower.json23
-rw-r--r--packages/markdown/marked/component.json10
-rw-r--r--packages/markdown/marked/docs/.eslintrc.json (renamed from packages/markdown/marked/.eslintrc.json)22
-rw-r--r--packages/markdown/marked/docs/AUTHORS.md10
-rw-r--r--packages/markdown/marked/docs/CONTRIBUTING.md23
-rw-r--r--packages/markdown/marked/docs/PUBLISHING.md6
-rw-r--r--packages/markdown/marked/docs/README.md6
-rw-r--r--packages/markdown/marked/docs/USING_ADVANCED.md102
-rw-r--r--packages/markdown/marked/docs/USING_PRO.md18
-rw-r--r--packages/markdown/marked/docs/demo/demo.js56
-rw-r--r--packages/markdown/marked/docs/demo/worker.js14
-rw-r--r--packages/markdown/marked/docs/index.html1
-rw-r--r--packages/markdown/marked/index.js1
-rw-r--r--packages/markdown/marked/jasmine.json11
-rw-r--r--packages/markdown/marked/lib/marked.esm.js1816
-rw-r--r--packages/markdown/marked/lib/marked.js3005
-rw-r--r--packages/markdown/marked/man/marked.15
-rw-r--r--packages/markdown/marked/man/marked.1.txt11
-rw-r--r--packages/markdown/marked/marked.min.js6
-rw-r--r--packages/markdown/marked/package-lock.json3751
-rw-r--r--packages/markdown/marked/package.json64
-rw-r--r--packages/markdown/marked/test/README10
-rw-r--r--packages/markdown/marked/test/browser/index.html5
-rw-r--r--packages/markdown/marked/test/browser/index.js39
-rw-r--r--packages/markdown/marked/test/browser/test.js66
-rw-r--r--packages/markdown/marked/test/helpers/helpers.js26
-rw-r--r--packages/markdown/marked/test/helpers/html-differ.js38
-rw-r--r--packages/markdown/marked/test/index.js551
-rw-r--r--packages/markdown/marked/test/json-to-files.js62
-rw-r--r--packages/markdown/marked/test/new/adjacent_lists.html9
-rw-r--r--packages/markdown/marked/test/new/adjacent_lists.md5
-rw-r--r--packages/markdown/marked/test/new/autolink_lines.html3
-rw-r--r--packages/markdown/marked/test/new/autolink_lines.md2
-rw-r--r--packages/markdown/marked/test/new/autolinks.html15
-rw-r--r--packages/markdown/marked/test/new/autolinks.md15
-rw-r--r--packages/markdown/marked/test/new/blockquote_list_item.html3
-rw-r--r--packages/markdown/marked/test/new/blockquote_list_item.md4
-rw-r--r--packages/markdown/marked/test/new/case_insensitive_refs.html1
-rw-r--r--packages/markdown/marked/test/new/case_insensitive_refs.md3
-rw-r--r--packages/markdown/marked/test/new/cm_autolinks.html91
-rw-r--r--packages/markdown/marked/test/new/cm_autolinks.md96
-rw-r--r--packages/markdown/marked/test/new/cm_blockquotes.html233
-rw-r--r--packages/markdown/marked/test/new/cm_blockquotes.md189
-rw-r--r--packages/markdown/marked/test/new/cm_html_blocks.html300
-rw-r--r--packages/markdown/marked/test/new/cm_html_blocks.md312
-rw-r--r--packages/markdown/marked/test/new/cm_link_defs.html115
-rw-r--r--packages/markdown/marked/test/new/cm_link_defs.md157
-rw-r--r--packages/markdown/marked/test/new/cm_links.html397
-rw-r--r--packages/markdown/marked/test/new/cm_links.md515
-rw-r--r--packages/markdown/marked/test/new/cm_raw_html.html77
-rw-r--r--packages/markdown/marked/test/new/cm_raw_html.md78
-rw-r--r--packages/markdown/marked/test/new/cm_strong_and_em.html7
-rw-r--r--packages/markdown/marked/test/new/cm_strong_and_em.md7
-rw-r--r--packages/markdown/marked/test/new/cm_thematic_breaks.html106
-rw-r--r--packages/markdown/marked/test/new/cm_thematic_breaks.md98
-rw-r--r--packages/markdown/marked/test/new/code_spans.html3
-rw-r--r--packages/markdown/marked/test/new/code_spans.md3
-rw-r--r--packages/markdown/marked/test/new/def_blocks.html30
-rw-r--r--packages/markdown/marked/test/new/def_blocks.md21
-rw-r--r--packages/markdown/marked/test/new/double_link.html5
-rw-r--r--packages/markdown/marked/test/new/double_link.md5
-rw-r--r--packages/markdown/marked/test/new/em_2char.html25
-rw-r--r--packages/markdown/marked/test/new/em_2char.md25
-rw-r--r--packages/markdown/marked/test/new/emphasis_extra tests.html1
-rw-r--r--packages/markdown/marked/test/new/emphasis_extra tests.md1
-rw-r--r--packages/markdown/marked/test/new/escaped_angles.html1
-rw-r--r--packages/markdown/marked/test/new/escaped_angles.md1
-rw-r--r--packages/markdown/marked/test/new/gfm_autolinks.html83
-rw-r--r--packages/markdown/marked/test/new/gfm_autolinks.md83
-rw-r--r--packages/markdown/marked/test/new/gfm_break.html1
-rw-r--r--packages/markdown/marked/test/new/gfm_break.md6
-rw-r--r--packages/markdown/marked/test/new/gfm_code.html21
-rw-r--r--packages/markdown/marked/test/new/gfm_code.md43
-rw-r--r--packages/markdown/marked/test/new/gfm_code_hr_list.html52
-rw-r--r--packages/markdown/marked/test/new/gfm_code_hr_list.md53
-rw-r--r--packages/markdown/marked/test/new/gfm_em.html1
-rw-r--r--packages/markdown/marked/test/new/gfm_em.md1
-rw-r--r--packages/markdown/marked/test/new/gfm_hashtag.html5
-rw-r--r--packages/markdown/marked/test/new/gfm_hashtag.md8
-rw-r--r--packages/markdown/marked/test/new/gfm_links_invalid.html1
-rw-r--r--packages/markdown/marked/test/new/gfm_links_invalid.md4
-rw-r--r--packages/markdown/marked/test/new/gfm_tables.html37
-rw-r--r--packages/markdown/marked/test/new/gfm_tables.md21
-rw-r--r--packages/markdown/marked/test/new/headings_id.html13
-rw-r--r--packages/markdown/marked/test/new/headings_id.md14
-rw-r--r--packages/markdown/marked/test/new/hr_list_break.html10
-rw-r--r--packages/markdown/marked/test/new/hr_list_break.md6
-rw-r--r--packages/markdown/marked/test/new/html_comments.html57
-rw-r--r--packages/markdown/marked/test/new/html_comments.md56
-rw-r--r--packages/markdown/marked/test/new/html_no_new_line.html1
-rw-r--r--packages/markdown/marked/test/new/html_no_new_line.md1
-rw-r--r--packages/markdown/marked/test/new/images.html5
-rw-r--r--packages/markdown/marked/test/new/images.md12
-rw-r--r--packages/markdown/marked/test/new/lazy_blockquotes.html4
-rw-r--r--packages/markdown/marked/test/new/lazy_blockquotes.md2
-rw-r--r--packages/markdown/marked/test/new/link_lt.html1
-rw-r--r--packages/markdown/marked/test/new/link_lt.md1
-rw-r--r--packages/markdown/marked/test/new/link_tick_redos.html31
-rw-r--r--packages/markdown/marked/test/new/link_tick_redos.md31
-rw-r--r--packages/markdown/marked/test/new/links.html3
-rw-r--r--packages/markdown/marked/test/new/links.md5
-rw-r--r--packages/markdown/marked/test/new/list_item_text.html1
-rw-r--r--packages/markdown/marked/test/new/list_item_text.md5
-rw-r--r--packages/markdown/marked/test/new/list_table.html44
-rw-r--r--packages/markdown/marked/test/new/list_table.md13
-rw-r--r--packages/markdown/marked/test/new/main.html4
-rw-r--r--packages/markdown/marked/test/new/main.md55
-rw-r--r--packages/markdown/marked/test/new/mangle_xss.html3
-rw-r--r--packages/markdown/marked/test/new/mangle_xss.md7
-rw-r--r--packages/markdown/marked/test/new/nested_code.html9
-rw-r--r--packages/markdown/marked/test/new/nested_code.md9
-rw-r--r--packages/markdown/marked/test/new/nested_em.html3
-rw-r--r--packages/markdown/marked/test/new/nested_em.md3
-rw-r--r--packages/markdown/marked/test/new/nested_square_link.html3
-rw-r--r--packages/markdown/marked/test/new/nested_square_link.md3
-rw-r--r--packages/markdown/marked/test/new/nogfm_hashtag.html5
-rw-r--r--packages/markdown/marked/test/new/nogfm_hashtag.md8
-rw-r--r--packages/markdown/marked/test/new/not_a_link.html1
-rw-r--r--packages/markdown/marked/test/new/not_a_link.md1
-rw-r--r--packages/markdown/marked/test/new/ref_paren.html1
-rw-r--r--packages/markdown/marked/test/new/ref_paren.md3
-rw-r--r--packages/markdown/marked/test/new/relative_urls.html35
-rw-r--r--packages/markdown/marked/test/new/relative_urls.md30
-rw-r--r--packages/markdown/marked/test/new/same_bullet.html5
-rw-r--r--packages/markdown/marked/test/new/same_bullet.md3
-rw-r--r--packages/markdown/marked/test/new/sanitize_links.html5
-rw-r--r--packages/markdown/marked/test/new/sanitize_links.md12
-rw-r--r--packages/markdown/marked/test/new/smartypants.html6
-rw-r--r--packages/markdown/marked/test/new/smartypants.md9
-rw-r--r--packages/markdown/marked/test/new/smartypants_code.html11
-rw-r--r--packages/markdown/marked/test/new/smartypants_code.md15
-rw-r--r--packages/markdown/marked/test/new/table_cells.html27
-rw-r--r--packages/markdown/marked/test/new/table_cells.md55
-rw-r--r--packages/markdown/marked/test/new/toplevel_paragraphs.html34
-rw-r--r--packages/markdown/marked/test/new/toplevel_paragraphs.md41
-rw-r--r--packages/markdown/marked/test/new/tricky_list.html23
-rw-r--r--packages/markdown/marked/test/new/tricky_list.md15
-rw-r--r--packages/markdown/marked/test/new/uppercase_hex.html2
-rw-r--r--packages/markdown/marked/test/new/uppercase_hex.md5
-rw-r--r--packages/markdown/marked/test/original/amps_and_angles_encoding.html17
-rw-r--r--packages/markdown/marked/test/original/amps_and_angles_encoding.md25
-rw-r--r--packages/markdown/marked/test/original/auto_links.html18
-rw-r--r--packages/markdown/marked/test/original/auto_links.md13
-rw-r--r--packages/markdown/marked/test/original/backslash_escapes.html118
-rw-r--r--packages/markdown/marked/test/original/backslash_escapes.md120
-rw-r--r--packages/markdown/marked/test/original/blockquotes_with_code_blocks.html15
-rw-r--r--packages/markdown/marked/test/original/blockquotes_with_code_blocks.md11
-rw-r--r--packages/markdown/marked/test/original/code_blocks.html18
-rw-r--r--packages/markdown/marked/test/original/code_blocks.md14
-rw-r--r--packages/markdown/marked/test/original/code_spans.html6
-rw-r--r--packages/markdown/marked/test/original/code_spans.md6
-rw-r--r--packages/markdown/marked/test/original/hard_wrapped_paragraphs_with_list_like_lines.html8
-rw-r--r--packages/markdown/marked/test/original/hard_wrapped_paragraphs_with_list_like_lines.md8
-rw-r--r--packages/markdown/marked/test/original/horizontal_rules.html85
-rw-r--r--packages/markdown/marked/test/original/horizontal_rules.md94
-rw-r--r--packages/markdown/marked/test/original/inline_html_advanced.html15
-rw-r--r--packages/markdown/marked/test/original/inline_html_advanced.md15
-rw-r--r--packages/markdown/marked/test/original/inline_html_comments.html13
-rw-r--r--packages/markdown/marked/test/original/inline_html_comments.md13
-rw-r--r--packages/markdown/marked/test/original/inline_html_simple.html72
-rw-r--r--packages/markdown/marked/test/original/inline_html_simple.md69
-rw-r--r--packages/markdown/marked/test/original/links_inline_style.html15
-rw-r--r--packages/markdown/marked/test/original/links_inline_style.md19
-rw-r--r--packages/markdown/marked/test/original/links_reference_style.html52
-rw-r--r--packages/markdown/marked/test/original/links_reference_style.md75
-rw-r--r--packages/markdown/marked/test/original/links_shortcut_references.html9
-rw-r--r--packages/markdown/marked/test/original/links_shortcut_references.md24
-rw-r--r--packages/markdown/marked/test/original/literal_quotes_in_titles.html3
-rw-r--r--packages/markdown/marked/test/original/literal_quotes_in_titles.md11
-rw-r--r--packages/markdown/marked/test/original/markdown_documentation_basics.html314
-rw-r--r--packages/markdown/marked/test/original/markdown_documentation_basics.md310
-rw-r--r--packages/markdown/marked/test/original/markdown_documentation_syntax.html942
-rw-r--r--packages/markdown/marked/test/original/markdown_documentation_syntax.md892
-rw-r--r--packages/markdown/marked/test/original/nested_blockquotes.html9
-rw-r--r--packages/markdown/marked/test/original/nested_blockquotes.md5
-rw-r--r--packages/markdown/marked/test/original/ordered_and_unordered_lists.html164
-rw-r--r--packages/markdown/marked/test/original/ordered_and_unordered_lists.md144
-rw-r--r--packages/markdown/marked/test/original/strong_and_em_together.html7
-rw-r--r--packages/markdown/marked/test/original/strong_and_em_together.md7
-rw-r--r--packages/markdown/marked/test/original/tabs.html25
-rw-r--r--packages/markdown/marked/test/original/tabs.md21
-rw-r--r--packages/markdown/marked/test/original/tidyness.html8
-rw-r--r--packages/markdown/marked/test/original/tidyness.md5
-rw-r--r--packages/markdown/marked/test/redos/link_redos.html5
-rw-r--r--packages/markdown/marked/test/redos/link_redos.md2
-rw-r--r--packages/markdown/marked/test/redos/quadratic_br.js4
-rw-r--r--packages/markdown/marked/test/redos/quadratic_email.js4
-rw-r--r--packages/markdown/marked/test/redos/redos_html_closing.html1
-rw-r--r--packages/markdown/marked/test/redos/redos_html_closing.md1
-rw-r--r--packages/markdown/marked/test/redos/redos_nolink.html1
-rw-r--r--packages/markdown/marked/test/redos/redos_nolink.md1
-rw-r--r--packages/markdown/marked/test/specs/commonmark/commonmark.0.29.json5327
-rw-r--r--packages/markdown/marked/test/specs/commonmark/getSpecs.js24
-rw-r--r--packages/markdown/marked/test/specs/gfm/getSpecs.js44
-rw-r--r--packages/markdown/marked/test/specs/gfm/gfm.0.29.json147
-rw-r--r--packages/markdown/marked/test/specs/original/specs-spec.js12
-rw-r--r--packages/markdown/marked/test/specs/redos-spec.js24
-rw-r--r--packages/markdown/marked/test/specs/run-spec.js52
-rw-r--r--packages/markdown/marked/test/unit/marked-spec.js73
215 files changed, 7339 insertions, 16653 deletions
diff --git a/packages/markdown/marked/.editorconfig b/packages/markdown/marked/.editorconfig
deleted file mode 100644
index 97ff4e8a..00000000
--- a/packages/markdown/marked/.editorconfig
+++ /dev/null
@@ -1,16 +0,0 @@
-root = true
-
-[*.{json,js}]
-charset = utf-8
-end_of_line = lf
-insert_final_newline = true
-indent_style = space
-indent_size = 2
-
-[*.md, !test/*.md]
-charset = utf-8
-end_of_line = lf
-insert_final_newline = true
-trim_trailing_whitespace = true
-indent_style = tab
-indent_size = 4 \ No newline at end of file
diff --git a/packages/markdown/marked/.eslintignore b/packages/markdown/marked/.eslintignore
deleted file mode 100644
index 121531af..00000000
--- a/packages/markdown/marked/.eslintignore
+++ /dev/null
@@ -1 +0,0 @@
-*.min.js
diff --git a/packages/markdown/marked/.gitattributes b/packages/markdown/marked/.gitattributes
deleted file mode 100644
index 8f2d8c35..00000000
--- a/packages/markdown/marked/.gitattributes
+++ /dev/null
@@ -1,2 +0,0 @@
-test/* linguist-vendored
-
diff --git a/packages/markdown/marked/.github/ISSUE_TEMPLATE.md b/packages/markdown/marked/.github/ISSUE_TEMPLATE.md
deleted file mode 100644
index 9df84eaf..00000000
--- a/packages/markdown/marked/.github/ISSUE_TEMPLATE.md
+++ /dev/null
@@ -1,42 +0,0 @@
-**Marked version:**
-
-**Markdown flavor:** Markdown.pl|CommonMark|GitHub Flavored Markdown|n/a
-
-<!-- The NPM version or commit hash having the issue -->
-
-<!--
-
- If submitting something other than a defect with Marked itself, please use the following:
-
-**Proposal type:** new feature | project operations | other
-
-## What pain point are you perceiving?
-
-## What solution are you suggesting?
-
--->
-
-## Expectation
-
-**CommonMark Demo:** [demo](https://spec.commonmark.org/dingus/)
-<!-- You can replace the link above with a permalink from: https://spec.commonmark.org/dingus/ -->
-
-<!-- Describe the output you are expecting from marked -->
-
-## Result
-
-**Marked Demo:** [demo](https://marked.js.org/demo/)
-<!-- You can replace the link above with a permalink from: https://marked.js.org/demo/ -->
-
-<!-- Describe the output you received from marked -->
-
-## What was attempted
-
-<!-- Describe what code combination got you there -->
-
-<!--
- If error is thrown add the following:
-
-## Call stack & console log
-
--->
diff --git a/packages/markdown/marked/.github/ISSUE_TEMPLATE/Bug_report.md b/packages/markdown/marked/.github/ISSUE_TEMPLATE/Bug_report.md
deleted file mode 100644
index d8042b4d..00000000
--- a/packages/markdown/marked/.github/ISSUE_TEMPLATE/Bug_report.md
+++ /dev/null
@@ -1,27 +0,0 @@
----
-name: Bug report
-about: Marked says it does this thing but does not
-
----
-
-**Describe the bug**
-A clear and concise description of what the bug is.
-
-**To Reproduce**
-Steps to reproduce the behavior:
-
-<!-- If possible, use the Marked Demo permalink and compare to the CommonMark Dingus permalink to demonstrate the bug -->
-<!--
-1. [Marked Demo](https://marked.js.org/demo/)
-2. [CommonMark Demo](https://spec.commonmark.org/dingus/)
--->
-
-<!-- If you need a specific version and options to reproduce the bug, use the following template -->
-<!--
-1. Install marked `npm install --save marked@0.3.19` with the version you are using
-2. Run marked with input string and options such as `marked('hello *world*', {gfm: true})`
-3. Actual output (or error) is...
--->
-
-**Expected behavior**
-A clear and concise description of what you expected to happen.
diff --git a/packages/markdown/marked/.github/ISSUE_TEMPLATE/Feature_request.md b/packages/markdown/marked/.github/ISSUE_TEMPLATE/Feature_request.md
deleted file mode 100644
index 745d4b43..00000000
--- a/packages/markdown/marked/.github/ISSUE_TEMPLATE/Feature_request.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-name: Feature request
-about: Marked doesn't do this thing and I think it should
-
----
-
-**Describe the feature**
-A clear and concise description of what you would like.
-
-**Why is this feature necessary?**
-A clear and concise description of why.
-
-**Describe alternatives you've considered**
-A clear and concise description of any alternative solutions or features you've considered.
diff --git a/packages/markdown/marked/.github/ISSUE_TEMPLATE/Proposal.md b/packages/markdown/marked/.github/ISSUE_TEMPLATE/Proposal.md
deleted file mode 100644
index aa94da3a..00000000
--- a/packages/markdown/marked/.github/ISSUE_TEMPLATE/Proposal.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-name: Proposal
-about: Marked doesn't do this thing and I think it should
-
----
-
-**What pain point are you perceiving?.**
-A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
-
-**Describe the solution you'd like**
-A clear and concise description of what you want to happen.
diff --git a/packages/markdown/marked/.github/PULL_REQUEST_TEMPLATE.md b/packages/markdown/marked/.github/PULL_REQUEST_TEMPLATE.md
deleted file mode 100644
index 8274e607..00000000
--- a/packages/markdown/marked/.github/PULL_REQUEST_TEMPLATE.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-<!--
-
- If release PR, add ?template=release.md to the PR url to use the release PR template.
-
- If badging PR, add ?template=badges.md to the PR url to use the badges PR template.
-
- Otherwise, you are stating this PR fixes an issue that has been submitted; or,
- describes the issue or proposal under consideration and contains the project-related code to implement.
-
--->
-
-**Marked version:**
-
-<!-- The NPM version or commit hash having the issue -->
-
-**Markdown flavor:** Markdown.pl|CommonMark|GitHub Flavored Markdown|n/a
-
-## Description
-
-- Fixes #### (if fixing a known issue; otherwise, describe issue using the following format)
-
-<!--
-
- If no issue exists that you're aware of. The maintainers should be able to figure out if it's a duplicate.
-
-## Expectation
-
-Describe the output you are expecting from marked
-
-## Result
-
-Describe the output you received from marked
-
-## What was attempted
-
-Describe what code combination got you there
-
--->
-
-## Contributor
-
-- [ ] Test(s) exist to ensure functionality and minimize regression (if no tests added, list tests covering this PR); or,
-- [ ] no tests required for this PR.
-- [ ] If submitting new feature, it has been documented in the appropriate places.
-
-## Committer
-
-In most cases, this should be a different person than the contributor.
-
-- [ ] Draft GitHub release notes have been updated.
-- [ ] CI is green (no forced merge required).
-- [ ] Merge PR
diff --git a/packages/markdown/marked/.github/PULL_REQUEST_TEMPLATE/badges.md b/packages/markdown/marked/.github/PULL_REQUEST_TEMPLATE/badges.md
deleted file mode 100644
index 2078243d..00000000
--- a/packages/markdown/marked/.github/PULL_REQUEST_TEMPLATE/badges.md
+++ /dev/null
@@ -1,50 +0,0 @@
-**@mention the contributor:**
-
-## Recommendation to:
-
-- [ ] Change user group
-- [ ] Add a badge
-- [ ] Remove a badge
-
-<!--
-
- Explain your reasoning behind tagging that person.
-
- Preferably by citing objective examples, like PRs, Issues, and so on.
-
--->
-
-## As the one mentioned, I would like to:
-
-- [ ] accept the recommendation; or,
-- [ ] graciously decline; or,
-- [ ] dispute the recommendation
-
-within 30 days, if you have not indicated which option you are taking one of the following will happen:
-
-1. If adding a badge, we will assume you are graciously declining.
-2. If removing a badge, we will assume you do not want to dispute the recommendation; therefore, the badge will be removed.
-
-<!--
-
- Why would someone not accept a badge? Loads of reasons depending on the circumstances.
-
- 1. If you're a committer and someone puts a badge for you on having decision making authority in an area, do you really a) think you earned it and b) think you can do that *and* all the other stuff you got going as a committer, admin, or publisher (not to even mention your outside life)? Maybe not. And that's okay. Thank them for the recognition, explain you aren't able to take more on at the moment. It's cool to get recognized though.
- 2. Maybe you don't feel you actually earned it yet. I remember being in an interview once. The interviewer asked me to give an example of going above and beyond the call of duty. I said, "That's hard. Because what you consider going above and beyond may be what I consider to be 'just rising to'. If we're in battle and you get wounded and I pull you out of the frey before heading back into it, I don't consider that going above and beyond; I consider that rising to."
-
- Why would someone remove their own badge? Loads of reasons...
-
- 1. Maybe you got a lot going on right now and want to broadcast to the Marked community that, "Hey, I don't want to say I'm going to do this unless I can really commit to it right now in a way that serves the project well." That's awesome! That takes courage! Because a) saying "no" is hard for most humans ("people pleasers") and b) the alternative, well, for those of us here since about October of 2017 (and prior), we know what the alternative can look like.
- 2. Maybe you just think you've done all you can to help and learned all you can from the experience. Again, very awesome and courageous. It takes courage to know when to walk away on your own accord.
-
- Why would you want to remove someone's badge? Loads of reasons...
-
- 1. Maybe they have decision making authority on something. You asked for their advice. And, you ended up waiting almost a month before receiving a response.
- 2. Maybe it was relevant at the time (Master of Marked, for example) but you think they've lost their former level of skill (fell out of practice, for example). They could always get it back.
- 3. Maybe to signal to them that, "Hey, you seem to have forgotten about us. Are you still around (or alive)?"
-
- Anyway, you get the idea. This isn't about good or bad...it's just about giving the community a simple game mechanic by which to publicly say, "Thank you" or "Here's what my status is" in the community or "Hey, I think something's wrong here" in a civil manner.
-
--->
-
-Note: All committers must approve via review before merging, the disapproving committer can simply close the PR. \ No newline at end of file
diff --git a/packages/markdown/marked/.github/PULL_REQUEST_TEMPLATE/release.md b/packages/markdown/marked/.github/PULL_REQUEST_TEMPLATE/release.md
deleted file mode 100644
index 29cd7f2e..00000000
--- a/packages/markdown/marked/.github/PULL_REQUEST_TEMPLATE/release.md
+++ /dev/null
@@ -1,25 +0,0 @@
-## Publisher
-
-- [ ] `$ npm version` has been run.
-- [ ] Release notes in [draft GitHub release](https://github.com/markedjs/marked/releases) are up to date
-- [ ] Release notes include which flavors and versions of Markdown are supported by this release
-- [ ] Committer checklist is complete.
-- [ ] Merge PR.
-- [ ] Publish GitHub release using `master` with correct version number.
-- [ ] `$ npm publish` has been run.
-- [ ] Create draft GitHub release to prepare next release.
-
-Note: If merges to `master` occur after submitting this PR and before running `$ npm pubish` you should be able to
-
-1. pull from `upstream/master` (`git pull upstream master`) into the branch holding this version,
-2. run `$ npm run build` to regenerate the `min` file, and
-3. commit and push the updated changes.
-
-## Committer
-
-In most cases, this should be someone different than the publisher.
-
-- [ ] Version in `package.json` has been updated (see [PUBLISHING.md](https://github.com/markedjs/marked/blob/master/docs/PUBLISHING.md)).
-- [ ] The `marked.min.js` has been updated; or,
-- [ ] release does not change library.
-- [ ] CI is green (no forced merge required).
diff --git a/packages/markdown/marked/.gitignore b/packages/markdown/marked/.gitignore
deleted file mode 100644
index 68ccf75d..00000000
--- a/packages/markdown/marked/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-.DS_Store
-node_modules/
-test/compiled_tests
diff --git a/packages/markdown/marked/.travis.yml b/packages/markdown/marked/.travis.yml
deleted file mode 100644
index 8ff71da4..00000000
--- a/packages/markdown/marked/.travis.yml
+++ /dev/null
@@ -1,46 +0,0 @@
-language: node_js
-
-jobs:
- fast_finish: true
- allow_failures:
- - stage: security scan 🔐
-
- include:
- - stage: unit tests 👩🏽‍💻
- script: npm run test:unit
- node_js: lts/*
-
- - stage: spec tests 👩🏽‍💻
- script: npm run test:specs
- node_js: v4
- - node_js: lts/*
- - node_js: node
-
- - stage: lint ✨
- script: npm run test:lint
- node_js: lts/*
-
- - stage: minify 🗜️
- script: |
- npm run build
- if ! git diff --quiet; then
- git config --global user.email "travis@travis-ci.org"
- git config --global user.name "Travis-CI"
- git config credential.helper "store --file=.git/credentials"
- echo "https://${GITHUB_TOKEN}:@github.com" > .git/credentials
- git commit -am '🗜️ minify [skip ci]'
- git push origin HEAD:${TRAVIS_BRANCH}
- fi
- node_js: lts/*
- if: branch = master AND type = push
-
- - stage: security scan 🔐
- script: npm run test:redos
- node_js: lts/*
-
-cache:
- directories:
- - node_modules
-
-git:
- depth: 3
diff --git a/packages/markdown/marked/Makefile b/packages/markdown/marked/Makefile
deleted file mode 100644
index 7deead54..00000000
--- a/packages/markdown/marked/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-all:
- @cp lib/marked.js marked.js
- @uglifyjs --comments '/\*[^\0]+?Copyright[^\0]+?\*/' -o marked.min.js lib/marked.js
-
-clean:
- @rm marked.js
- @rm marked.min.js
-
-bench:
- @node test --bench
-
-man/marked.1.txt:
- groff -man -Tascii man/marked.1 | col -b > man/marked.1.txt
-
-.PHONY: clean all
diff --git a/packages/markdown/marked/README.md b/packages/markdown/marked/README.md
index 2dfd5cd1..e93504ca 100644
--- a/packages/markdown/marked/README.md
+++ b/packages/markdown/marked/README.md
@@ -39,7 +39,7 @@ Also read about:
## Usage
-### Warning: 🚨 Marked does not [sanitize](https://marked.js.org/#/USING_ADVANCED.md#options) the output HTML by default 🚨
+### Warning: 🚨 Marked does not [sanitize](https://marked.js.org/#/USING_ADVANCED.md#options) the output HTML. Please use a sanitize library, like [DOMPurify](https://github.com/cure53/DOMPurify) (recommended), [sanitize-html](https://github.com/apostrophecms/sanitize-html) or [insane](https://github.com/bevacqua/insane) on the output HTML! 🚨
**CLI**
diff --git a/packages/markdown/marked/SECURITY.md b/packages/markdown/marked/SECURITY.md
new file mode 100644
index 00000000..4a2e1cb4
--- /dev/null
+++ b/packages/markdown/marked/SECURITY.md
@@ -0,0 +1,10 @@
+# Security Policy
+
+The only completely secure system is the one that doesn't exist in the first place.
+Having said that, we take the security of Marked very seriously.
+
+## Reporting a Vulnerability
+
+Please disclose potential security issues by email to the project [committers](https://marked.js.org/#/AUTHORS.md) as well as the [listed owners within NPM](https://docs.npmjs.com/cli/owner).
+We will provide an initial assessment of security reports within 48 hours and should apply patches within 2 weeks
+(also, feel free to contribute a fix for the issue).
diff --git a/packages/markdown/marked/bin/marked b/packages/markdown/marked/bin/marked
deleted file mode 100755
index 0ea63c54..00000000
--- a/packages/markdown/marked/bin/marked
+++ /dev/null
@@ -1,215 +0,0 @@
-#!/usr/bin/env node
-
-/**
- * Marked CLI
- * Copyright (c) 2011-2013, Christopher Jeffrey (MIT License)
- */
-
-var fs = require('fs'),
- path = require('path'),
- marked = require('../');
-
-/**
- * Man Page
- */
-
-function help() {
- var spawn = require('child_process').spawn;
-
- var options = {
- cwd: process.cwd(),
- env: process.env,
- setsid: false,
- stdio: 'inherit'
- };
-
- spawn('man', [path.resolve(__dirname, '/../man/marked.1')], options)
- .on('error', function() {
- fs.readFile(path.resolve(__dirname, '/../man/marked.1.txt'), 'utf8', function(err, data) {
- if (err) throw err;
- console.log(data);
- });
- });
-}
-
-function version() {
- var pkg = require('../package.json');
- console.log(pkg.version);
-}
-
-/**
- * Main
- */
-
-function main(argv, callback) {
- var files = [],
- options = {},
- input,
- output,
- string,
- arg,
- tokens,
- opt;
-
- function getarg() {
- var arg = argv.shift();
-
- if (arg.indexOf('--') === 0) {
- // e.g. --opt
- arg = arg.split('=');
- if (arg.length > 1) {
- // e.g. --opt=val
- argv.unshift(arg.slice(1).join('='));
- }
- arg = arg[0];
- } else if (arg[0] === '-') {
- if (arg.length > 2) {
- // e.g. -abc
- argv = arg.substring(1).split('').map(function(ch) {
- return '-' + ch;
- }).concat(argv);
- arg = argv.shift();
- } else {
- // e.g. -a
- }
- } else {
- // e.g. foo
- }
-
- return arg;
- }
-
- while (argv.length) {
- arg = getarg();
- switch (arg) {
- case '--test':
- return require('../test').main(process.argv.slice());
- case '-o':
- case '--output':
- output = argv.shift();
- break;
- case '-i':
- case '--input':
- input = argv.shift();
- break;
- case '-s':
- case '--string':
- string = argv.shift();
- break;
- case '-t':
- case '--tokens':
- tokens = true;
- break;
- case '-h':
- case '--help':
- return help();
- case '-v':
- case '--version':
- return version();
- default:
- if (arg.indexOf('--') === 0) {
- opt = camelize(arg.replace(/^--(no-)?/, ''));
- if (!marked.defaults.hasOwnProperty(opt)) {
- continue;
- }
- if (arg.indexOf('--no-') === 0) {
- options[opt] = typeof marked.defaults[opt] !== 'boolean'
- ? null
- : false;
- } else {
- options[opt] = typeof marked.defaults[opt] !== 'boolean'
- ? argv.shift()
- : true;
- }
- } else {
- files.push(arg);
- }
- break;
- }
- }
-
- function getData(callback) {
- if (!input) {
- if (files.length <= 2) {
- if (string) {
- return callback(null, string);
- }
- return getStdin(callback);
- }
- input = files.pop();
- }
- return fs.readFile(input, 'utf8', callback);
- }
-
- return getData(function(err, data) {
- if (err) return callback(err);
-
- data = tokens
- ? JSON.stringify(marked.lexer(data, options), null, 2)
- : marked(data, options);
-
- if (!output) {
- process.stdout.write(data + '\n');
- return callback();
- }
-
- return fs.writeFile(output, data, callback);
- });
-}
-
-/**
- * Helpers
- */
-
-function getStdin(callback) {
- var stdin = process.stdin,
- buff = '';
-
- stdin.setEncoding('utf8');
-
- stdin.on('data', function(data) {
- buff += data;
- });
-
- stdin.on('error', function(err) {
- return callback(err);
- });
-
- stdin.on('end', function() {
- return callback(null, buff);
- });
-
- try {
- stdin.resume();
- } catch (e) {
- callback(e);
- }
-}
-
-function camelize(text) {
- return text.replace(/(\w)-(\w)/g, function(_, a, b) {
- return a + b.toUpperCase();
- });
-}
-
-function handleError(err) {
- if (err.code === 'ENOENT') {
- console.error(`marked: output to ${err.path}: No such directory`);
- return process.exit(1);
- }
- throw err;
-}
-
-/**
- * Expose / Entry Point
- */
-
-if (!module.parent) {
- process.title = 'marked';
- main(process.argv.slice(), function(err, code) {
- if (err) return handleError(err);
- return process.exit(code || 0);
- });
-} else {
- module.exports = main;
-}
diff --git a/packages/markdown/marked/bower.json b/packages/markdown/marked/bower.json
deleted file mode 100644
index 57c91f03..00000000
--- a/packages/markdown/marked/bower.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "name": "marked",
- "homepage": "https://github.com/markedjs/marked",
- "authors": [
- "Christopher Jeffrey <chjjeffrey@gmail.com>"
- ],
- "description": "A markdown parser built for speed",
- "keywords": [
- "markdown",
- "markup",
- "html"
- ],
- "main": "lib/marked.js",
- "license": "MIT",
- "ignore": [
- "**/.*",
- "node_modules",
- "bower_components",
- "app/bower_components",
- "test",
- "tests"
- ]
-}
diff --git a/packages/markdown/marked/component.json b/packages/markdown/marked/component.json
deleted file mode 100644
index 7ebd0356..00000000
--- a/packages/markdown/marked/component.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "name": "marked",
- "version": "0.3.4",
- "repo": "markedjs/marked",
- "description": "A markdown parser built for speed",
- "keywords": ["markdown", "markup", "html"],
- "scripts": ["lib/marked.js"],
- "main": "lib/marked.js",
- "license": "MIT"
-}
diff --git a/packages/markdown/marked/.eslintrc.json b/packages/markdown/marked/docs/.eslintrc.json
index 1800cb72..6ee10878 100644
--- a/packages/markdown/marked/.eslintrc.json
+++ b/packages/markdown/marked/docs/.eslintrc.json
@@ -3,27 +3,31 @@
"plugins": [
"standard"
],
- "parserOptions": { "ecmaVersion": 5 },
+ "parserOptions": {
+ "ecmaVersion": 5,
+ "sourceType": "script"
+ },
"rules": {
"semi": ["error", "always"],
- "indent": ["warn", 2, {
- "VariableDeclarator": { "var": 2 },
+ "indent": ["error", 2, {
"SwitchCase": 1,
+ "VariableDeclarator": { "var": 2 },
"outerIIFEBody": 0
}],
- "space-before-function-paren": "off",
- "object-curly-spacing": "off",
"operator-linebreak": ["error", "before", { "overrides": { "=": "after" } }],
+ "space-before-function-paren": ["error", "never"],
"no-cond-assign": "off",
"no-useless-escape": "off",
- "no-return-assign": "off",
"one-var": "off",
- "no-control-regex": "off"
+ "no-control-regex": "off",
+ "no-prototype-builtins": "off",
+
+ "prefer-const": "off",
+ "no-var": "off"
},
"env": {
"node": true,
"browser": true,
- "amd": true,
- "jasmine": true
+ "amd": true
}
}
diff --git a/packages/markdown/marked/docs/AUTHORS.md b/packages/markdown/marked/docs/AUTHORS.md
index dd914095..87ab522f 100644
--- a/packages/markdown/marked/docs/AUTHORS.md
+++ b/packages/markdown/marked/docs/AUTHORS.md
@@ -1,6 +1,6 @@
# Authors
-Marked takes an encompassing approach to its community. As such, you can think of these as [concentric circles](https://medium.com/the-node-js-collection/healthy-open-source-967fa8be7951), where each group encompases the following groups.
+Marked takes an encompassing approach to its community. As such, you can think of these as [concentric circles](https://medium.com/the-node-js-collection/healthy-open-source-967fa8be7951), where each group encompasses the following groups.
<table>
<tbody>
@@ -170,7 +170,7 @@ To be removed: You can remove yourself through the [GitHub UI](https://help.gith
A note on volunteering:
1. Please do not volunteer unless you believe you can demonstrate to your peers you can do the work required.
-2. Please do not overcommit yourself; we count on those committed to the project to be responsive. Really consider, with all you have going on, wehther you able to really commit to it.
+2. Please do not overcommit yourself; we count on those committed to the project to be responsive. Really consider, with all you have going on, whether you able to really commit to it.
3. Don't let the previous frighten you away, it can always be changed later by you or your peers.
[Details on badges](#badges)
@@ -227,7 +227,7 @@ Badges? If you *want* 'em, we got 'em, and here's how you get 'em (and&hellip;dr
</blockquote>
</dd>
<dt>Dr. Docs</dt>
- <dd>Someone who has contributed a great deal to the creation and maintainance of the non-code areas of marked.</dd>
+ <dd>Someone who has contributed a great deal to the creation and maintenance of the non-code areas of marked.</dd>
<dt>Eye for the CLI</dt>
<dd>At this point? Pretty much anyone who can update that `man` file to the current Marked version without regression in the CLI tool itself.</dd>
<dt>GitHub Guru</dt>
@@ -259,9 +259,9 @@ Badges? If you *want* 'em, we got 'em, and here's how you get 'em (and&hellip;dr
<dl>
<dt>Defibrillator</dt>
- <dd>A contributor who stepped up to help bring Marked back to life by contriuting solutions to help Marked pass when compared against the CommonMark and GitHub Flavored Markdown specifications.</dd>
+ <dd>A contributor who stepped up to help bring Marked back to life by contributing solutions to help Marked pass when compared against the CommonMark and GitHub Flavored Markdown specifications.</dd>
<dt>Maker of the Marked mark</dt>
- <dd>This badge is given to the person or oganization credited with creating the logo (or logotype) used in Marked communications for a given period of time. **Maker of the Marked mark from 2017 to present**, for example.</dd>
+ <dd>This badge is given to the person or organization credited with creating the logo (or logotype) used in Marked communications for a given period of time. **Maker of the Marked mark from 2017 to present**, for example.</dd>
<dt>Release Wrangler</dt>
<dd>This is a badge given to all Publishers.</dd>
<dt>Snyk's Security Saint</dt>
diff --git a/packages/markdown/marked/docs/CONTRIBUTING.md b/packages/markdown/marked/docs/CONTRIBUTING.md
index ac88ba15..f5ec82b6 100644
--- a/packages/markdown/marked/docs/CONTRIBUTING.md
+++ b/packages/markdown/marked/docs/CONTRIBUTING.md
@@ -5,9 +5,10 @@
- [ ] Make sure you are on the `master` branch.
- [ ] Be sure to run `npm install` or `npm update`.
- [ ] Create a branch.
-- [ ] Make as small a change as possible.
-- [ ] Run `npm test`, fix any broken things (for linting, you can run `npm run lint` to have the linter fix them for you).
-- [ ] Submit a PR.
+- [ ] Update code in `src` folder. (`lib` folder is for auto compiled code)
+- [ ] Run `npm run test:all`, fix any broken things (for linting, you can run `npm run lint` to have the linter fix them for you).
+- [ ] Run `npm run build:reset` to remove changes to compiled files.
+- [ ] Submit a Pull Request.
## Design principles
@@ -30,16 +31,19 @@ The following table lists the ticket type labels we use when there is work to be
|RR - refactor and re-engineer |Results in an improvement to developers using Marked (improved readability) or end-users (faster performance) or both. |
|NFS - new feature (spec related) |A capability Marked does not currently provide but is in one of the [supported specifications](#/README.md#specifications) |
|NFU - new feature (user requested) |A capability Marked does not currently provide but has been requested by users of Marked. |
+|NFE - new feature (should be an extension) |A capability Marked does not currently provide and is not part of a spec. |
## Test early, often, and everything
We try to write test cases to validate output (writing tests based on the [supported specifications](#/README.md#specifications)) and minimize regression (writing tests for issues fixed). Therefore, if you would like to contribute, some things you should know regarding the test harness.
-|Location |Description |
-|:-------------|:---------------------------------------------------|
-|/test/browser |For testing Marked in a client-side implementation. |
-|/test/new |Tests not related to the original `markdown.pl`. |
-|/test/original|Tests validating against the original `markdown.pl`.|
+|Location |Description |
+|:---------------------|:--------------------------------------------------------------------------------------------------------------|
+|/test/specs/commonmark|Tests for [CommonMark](https://spec.commonmark.org/current/) compliance |
+|/test/specs/gfm |Tests for [GFM](https://github.github.com/gfm/) compliance |
+|/test/specs/new |Tests not related to the original `markdown.pl`. |
+|/test/specs/original |Tests validating against the original `markdown.pl`. |
+|/test/specs/redos |Tests for [ReDOS](https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS) vulnerabilities|
If your test uses features or options, assuming `gfm` is set to `false`, for example, you can add [front-matter](https://www.npmjs.com/package/front-matter) to the top of
your `.md` file
@@ -84,9 +88,8 @@ To check for (and fix) standardized syntax (lint):
npm run lint
```
-To build your own minified version of Marked:
+To build your own es5, esm, and minified versions of Marked:
```bash
npm run build
```
-
diff --git a/packages/markdown/marked/docs/PUBLISHING.md b/packages/markdown/marked/docs/PUBLISHING.md
index 27937c2f..73972667 100644
--- a/packages/markdown/marked/docs/PUBLISHING.md
+++ b/packages/markdown/marked/docs/PUBLISHING.md
@@ -7,7 +7,7 @@
## Overall strategy
-**Master is always shippable:** We try to merge PRs in such a way that `master` is the only branch to really be concerned about *and* `master` can always be released. This allows smoother flow between new fetures, bug fixes, and so on. (Almost a continuous deployment setup, without automation.)
+**Master is always shippable:** We try to merge PRs in such a way that `master` is the only branch to really be concerned about *and* `master` can always be released. This allows smoother flow between new features, bug fixes, and so on. (Almost a continuous deployment setup, without automation.)
## Versioning
@@ -20,5 +20,5 @@ We follow [semantic versioning](https://semver.org) where the following sequence
What to expect while Marked is a zero-major (0.x.y):
1. The major will remain at zero; thereby, alerting consumers to the potentially volatile nature of the package.
-2. The minor will tend to be more analagous to a `major` release.
-3. The patch will tend to be more analagous to a `minor` release or a collection of bug fixes (patches).
+2. The minor will tend to be more analogous to a `major` release.
+3. The patch will tend to be more analogous to a `minor` release or a collection of bug fixes (patches).
diff --git a/packages/markdown/marked/docs/README.md b/packages/markdown/marked/docs/README.md
index 261e4f3b..f5ba9d2b 100644
--- a/packages/markdown/marked/docs/README.md
+++ b/packages/markdown/marked/docs/README.md
@@ -25,7 +25,7 @@ These documentation pages are also rendered using marked 💯
<h2 id="usage">Usage</h2>
-### Warning: 🚨 Marked does not [sanitize](https://marked.js.org/#/USING_ADVANCED.md#options) the output HTML by default 🚨
+### Warning: 🚨 Marked does not [sanitize](https://marked.js.org/#/USING_ADVANCED.md#options) the output HTML. Please use a sanitize library, like [DOMPurify](https://github.com/cure53/DOMPurify) (recommended), [sanitize-html](https://github.com/apostrophecms/sanitize-html) or [insane](https://github.com/bevacqua/insane) on the output HTML! 🚨
**CLI**
@@ -72,8 +72,8 @@ We actively support the features of the following [Markdown flavors](https://git
|Flavor |Version |
|:----------------------------------------------------------|:----------|
|The original markdown.pl |-- |
-|[CommonMark](http://spec.commonmark.org/0.28/) |0.28 |
-|[GitHub Flavored Markdown](https://github.github.com/gfm/) |0.28 |
+|[CommonMark](http://spec.commonmark.org/0.29/) |0.29 |
+|[GitHub Flavored Markdown](https://github.github.com/gfm/) |0.29 |
By supporting the above Markdown flavors, it's possible that Marked can help you use other flavors as well; however, these are not actively supported by the community.
diff --git a/packages/markdown/marked/docs/USING_ADVANCED.md b/packages/markdown/marked/docs/USING_ADVANCED.md
index 6490caa7..81df205b 100644
--- a/packages/markdown/marked/docs/USING_ADVANCED.md
+++ b/packages/markdown/marked/docs/USING_ADVANCED.md
@@ -14,18 +14,19 @@ marked(markdownString [,options] [,callback])
```js
// Create reference instance
-var myMarked = require('marked');
+const marked = require('marked');
// Set options
// `highlight` example uses `highlight.js`
-myMarked.setOptions({
- renderer: new myMarked.Renderer(),
- highlight: function(code) {
- return require('highlight.js').highlightAuto(code).value;
+marked.setOptions({
+ renderer: new marked.Renderer(),
+ highlight: function(code, language) {
+ const hljs = require('highlight.js');
+ const validLanguage = hljs.getLanguage(language) ? language : 'plaintext';
+ return hljs.highlight(validLanguage, code).value;
},
pedantic: false,
gfm: true,
- tables: true,
breaks: false,
sanitize: false,
smartLists: true,
@@ -34,14 +35,14 @@ myMarked.setOptions({
});
// Compile
-console.log(myMarked('I am using __markdown__.'));
+console.log(marked(markdownString));
```
<h2 id="options">Options</h2>
|Member |Type |Default |Since |Notes |
|:-----------|:---------|:--------|:--------|:-------------|
-|baseUrl |`string` |`null` |0.3.9 |A prefix url for any relative link. |
+|baseUrl |`string` |`null` |0.3.9 |A prefix url for any relative link. |
|breaks |`boolean` |`false` |v0.2.7 |If true, add `<br>` on a single line break (copies GitHub). Requires `gfm` be `true`.|
|gfm |`boolean` |`true` |v0.2.1 |If true, use approved [GitHub Flavored Markdown (GFM) specification](https://github.github.com/gfm/).|
|headerIds |`boolean` |`true` |v0.4.0 |If true, include an `id` attribute when emitting headings (h1, h2, h3, etc).|
@@ -50,13 +51,12 @@ console.log(myMarked('I am using __markdown__.'));
|langPrefix |`string` |`'language-'`|v0.3.0|A string to prefix the className in a `<code>` block. Useful for syntax highlighting.|
|mangle |`boolean` |`true` |v0.3.4 |If true, autolinked email address is escaped with HTML character references.|
|pedantic |`boolean` |`false` |v0.2.1 |If true, conform to the original `markdown.pl` as much as possible. Don't fix original markdown bugs or behavior. Turns off and overrides `gfm`.|
-|renderer |`object` |`new Renderer()`|v0.3.0|An object containing functions to render tokens to HTML. See [extensibility](USING_PRO.md) for more details.|
-|sanitize |`boolean` |`false` |v0.2.1 |If true, sanitize the HTML passed into `markdownString` with the `sanitizer` function.|
+|renderer |`object` |`new Renderer()`|v0.3.0|An object containing functions to render tokens to HTML. See [extensibility](/#/USING_PRO.md) for more details.|
+|sanitize |`boolean` |`false` |v0.2.1 |If true, sanitize the HTML passed into `markdownString` with the `sanitizer` function.<br>**Warning**: This feature is deprecated and it should NOT be used as it cannot be considered secure.<br>Instead use a sanitize library, like [DOMPurify](https://github.com/cure53/DOMPurify) (recommended), [sanitize-html](https://github.com/apostrophecms/sanitize-html) or [insane](https://github.com/bevacqua/insane) on the output HTML! |
|sanitizer |`function`|`null` |v0.3.4 |A function to sanitize the HTML passed into `markdownString`.|
|silent |`boolean` |`false` |v0.2.7 |If true, the parser does not throw any exception.|
|smartLists |`boolean` |`false` |v0.2.8 |If true, use smarter list behavior than those found in `markdown.pl`.|
|smartypants |`boolean` |`false` |v0.2.9 |If true, use "smart" typographic punctuation for things like quotes and dashes.|
-|tables |`boolean` |`true` |v0.2.7 |If true and `gfm` is true, use [GFM Tables extension](https://github.github.com/gfm/#tables-extension-).|
|xhtml |`boolean` |`false` |v0.3.2 |If true, emit self-closing HTML tags for void elements (&lt;br/&gt;, &lt;img/&gt;, etc.) with a "/" as required by XHTML.|
<h2 id="highlight">Asynchronous highlighting</h2>
@@ -64,7 +64,7 @@ console.log(myMarked('I am using __markdown__.'));
Unlike `highlight.js` the `pygmentize.js` library uses asynchronous highlighting. This example demonstrates that marked is agnostic when it comes to the highlighter you use.
```js
-myMarked.setOptions({
+marked.setOptions({
highlight: function(code, lang, callback) {
require('pygmentize-bundled') ({ lang: lang, format: 'html' }, code, function (err, result) {
callback(err, result.toString());
@@ -72,7 +72,81 @@ myMarked.setOptions({
}
});
-console.log(myMarked(markdownString));
+console.log(marked(markdownString));
```
-In both examples, `code` is a `string` representing the section of code to pass to the highlighter. In this example, `lang` is a `string` informing the highlighter what programming lnaguage to use for the `code` and `callback` is the `function` the asynchronous highlighter will call once complete.
+In both examples, `code` is a `string` representing the section of code to pass to the highlighter. In this example, `lang` is a `string` informing the highlighter what programming language to use for the `code` and `callback` is the `function` the asynchronous highlighter will call once complete.
+
+<h2 id="workers">Workers</h2>
+
+To prevent ReDoS attacks you can run marked on a worker and terminate it when parsing takes longer than usual.
+
+Marked can be run in a [worker thread](https://nodejs.org/api/worker_threads.html) on a node server, or a [web worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) in a browser.
+
+### Node Worker Thread
+
+```js
+// markedWorker.js
+
+const marked = require('marked');
+const { parentPort } = require('worker_threads');
+
+parentPort.on('message', (markdownString) => {
+ parentPort.postMessage(marked(markdownString));
+});
+```
+
+```js
+// index.js
+
+const { Worker } = require('worker_threads');
+const markedWorker = new Worker('./markedWorker.js');
+
+const markedTimeout = setTimeout(() => {
+ markedWorker.terminate();
+ throw new Error('Marked took too long!');
+}, timeoutLimit);
+
+markedWorker.on('message', (html) => {
+ clearTimeout(markedTimeout);
+ console.log(html);
+ markedWorker.terminate();
+});
+
+markedWorker.postMessage(markdownString);
+```
+
+### Web Worker
+
+> **NOTE**: Web Workers send the payload from `postMessage` in an object with the payload in a `.data` property
+
+```js
+// markedWorker.js
+
+importScripts('path/to/marked.min.js');
+
+onmessage = (e) => {
+ const markdownString = e.data
+ postMessage(marked(markdownString));
+};
+```
+
+```js
+// script.js
+
+const markedWorker = new Worker('./markedWorker.js');
+
+const markedTimeout = setTimeout(() => {
+ markedWorker.terminate();
+ throw new Error('Marked took too long!');
+}, timeoutLimit);
+
+markedWorker.onmessage = (e) => {
+ clearTimeout(markedTimeout);
+ const html = e.data;
+ console.log(html);
+ markedWorker.terminate();
+};
+
+markedWorker.postMessage(markdownString);
+```
diff --git a/packages/markdown/marked/docs/USING_PRO.md b/packages/markdown/marked/docs/USING_PRO.md
index 861caa2d..5e9451be 100644
--- a/packages/markdown/marked/docs/USING_PRO.md
+++ b/packages/markdown/marked/docs/USING_PRO.md
@@ -1,6 +1,6 @@
## Extending Marked
-To champion the single-responsibility and open/closed prinicples, we have tried to make it relatively painless to extend marked. If you are looking to add custom functionality, this is the place to start.
+To champion the single-responsibility and open/closed principles, we have tried to make it relatively painless to extend marked. If you are looking to add custom functionality, this is the place to start.
<h2 id="renderer">The renderer</h2>
@@ -10,14 +10,14 @@ The renderer is...
```js
// Create reference instance
-var myMarked = require('marked');
+const marked = require('marked');
// Get reference
-var renderer = new myMarked.Renderer();
+const renderer = new marked.Renderer();
// Override function
renderer.heading = function (text, level) {
- var escapedText = text.toLowerCase().replace(/[^\w]+/g, '-');
+ const escapedText = text.toLowerCase().replace(/[^\w]+/g, '-');
return `
<h${level}>
@@ -29,7 +29,7 @@ renderer.heading = function (text, level) {
};
// Run marked
-console.log(myMarked('# heading+', { renderer: renderer }));
+console.log(marked('# heading+', { renderer: renderer }));
```
**Output:**
@@ -105,13 +105,13 @@ The parser is...
You also have direct access to the lexer and parser if you so desire.
``` js
-var tokens = marked.lexer(text, options);
-console.log(marked.parser(tokens));
+const tokens = marked.lexer(text, options);
+console.log(marked.parser(tokens, options));
```
``` js
-var lexer = new marked.Lexer(options);
-var tokens = lexer.lex(text);
+const lexer = new marked.Lexer(options);
+const tokens = lexer.lex(text);
console.log(tokens);
console.log(lexer.rules);
```
diff --git a/packages/markdown/marked/docs/demo/demo.js b/packages/markdown/marked/docs/demo/demo.js
index e7d97c59..05649583 100644
--- a/packages/markdown/marked/docs/demo/demo.js
+++ b/packages/markdown/marked/docs/demo/demo.js
@@ -1,4 +1,4 @@
-/* globals marked, unfetch, ES6Promise */
+/* globals marked, unfetch, ES6Promise, Promise */ // eslint-disable-line no-redeclare
if (!window.Promise) {
window.Promise = ES6Promise;
@@ -7,7 +7,7 @@ if (!window.fetch) {
window.fetch = unfetch;
}
-onunhandledrejection = function (e) {
+onunhandledrejection = function(e) {
throw e.reason;
};
@@ -70,7 +70,7 @@ Promise.all([
setInitialText(),
setInitialVersion()
.then(setInitialOptions)
-]).then(function () {
+]).then(function() {
handleInputChange();
handleOutputChange();
checkForChanges();
@@ -84,8 +84,8 @@ function setInitialText() {
$markdownElem.value = search.text;
} else {
return fetch('./initial.md')
- .then(function (res) { return res.text(); })
- .then(function (text) {
+ .then(function(res) { return res.text(); })
+ .then(function(text) {
if ($markdownElem.value === '') {
$markdownElem.value = text;
}
@@ -95,18 +95,18 @@ function setInitialText() {
function setInitialQuickref() {
return fetch('./quickref.md')
- .then(function (res) { return res.text(); })
- .then(function (text) {
+ .then(function(res) { return res.text(); })
+ .then(function(text) {
document.querySelector('#quickref').value = text;
});
}
function setInitialVersion() {
return fetch('https://data.jsdelivr.com/v1/package/npm/marked')
- .then(function (res) {
+ .then(function(res) {
return res.json();
})
- .then(function (json) {
+ .then(function(json) {
for (var i = 0; i < json.versions.length; i++) {
var ver = json.versions[i];
markedVersions[ver] = 'https://cdn.jsdelivr.net/npm/marked@' + ver + '/lib/marked.js';
@@ -116,20 +116,20 @@ function setInitialVersion() {
$markedVerElem.appendChild(opt);
}
})
- .then(function () {
+ .then(function() {
return fetch('https://api.github.com/repos/markedjs/marked/commits')
- .then(function (res) {
+ .then(function(res) {
return res.json();
})
- .then(function (json) {
- markedVersions['master'] = 'https://cdn.jsdelivr.net/gh/markedjs/marked@' + json[0].sha + '/lib/marked.js';
+ .then(function(json) {
+ markedVersions.master = 'https://cdn.jsdelivr.net/gh/markedjs/marked@' + json[0].sha + '/lib/marked.js';
})
- .catch(function () {
+ .catch(function() {
// do nothing
// uses url without commit
});
})
- .then(function () {
+ .then(function() {
if (search.version) {
if (markedVersions[search.version]) {
return search.version;
@@ -142,7 +142,7 @@ function setInitialVersion() {
return search.version;
case 'pr':
return getPrCommit(match[2])
- .then(function (commit) {
+ .then(function(commit) {
if (!commit) {
return 'master';
}
@@ -156,7 +156,7 @@ function setInitialVersion() {
return 'master';
})
- .then(function (version) {
+ .then(function(version) {
$markedVerElem.value = version;
})
.then(updateVersion);
@@ -220,7 +220,7 @@ function handleAddVersion(e) {
$commitVerElem.disabled = true;
var pr = $commitVerElem.value.replace(/\D/g, '');
getPrCommit(pr)
- .then(function (commit) {
+ .then(function(commit) {
$commitVerElem.disabled = false;
if (!commit) {
alert('That is not a valid PR');
@@ -271,12 +271,12 @@ function addCommitVersion(value, text, commit) {
function getPrCommit(pr) {
return fetch('https://api.github.com/repos/markedjs/marked/pulls/' + pr + '/commits')
- .then(function (res) {
+ .then(function(res) {
return res.json();
})
- .then(function (json) {
+ .then(function(json) {
return json[json.length - 1].sha;
- }).catch(function () {
+ }).catch(function() {
// return undefined
});
}
@@ -296,7 +296,7 @@ function setDefaultOptions() {
function setOptions(opts) {
$optionsElem.value = JSON.stringify(
opts,
- function (key, value) {
+ function(key, value) {
if (value && typeof value === 'object' && Object.getPrototypeOf(value) !== Object.prototype) {
return undefined;
}
@@ -375,13 +375,13 @@ function updateVersion() {
promise = Promise.resolve(markedVersionCache[$markedVerElem.value]);
} else {
promise = fetch(markedVersions[$markedVerElem.value])
- .then(function (res) { return res.text(); })
- .then(function (text) {
+ .then(function(res) { return res.text(); })
+ .then(function(text) {
markedVersionCache[$markedVerElem.value] = text;
return text;
});
}
- return promise.then(function (text) {
+ return promise.then(function(text) {
var script = document.createElement('script');
script.textContent = text;
@@ -479,7 +479,7 @@ function messageWorker(message) {
markedWorker.terminate();
}
markedWorker = new Worker('worker.js');
- markedWorker.onmessage = function (e) {
+ markedWorker.onmessage = function(e) {
clearTimeout(markedWorker.timeout);
markedWorker.working = false;
switch (e.data.task) {
@@ -500,7 +500,7 @@ function messageWorker(message) {
delayTime = 10;
checkForChanges();
};
- markedWorker.onerror = markedWorker.onmessageerror = function (err) {
+ markedWorker.onerror = markedWorker.onmessageerror = function(err) {
clearTimeout(markedWorker.timeout);
var error = 'There was an error in the Worker';
if (err) {
@@ -526,7 +526,7 @@ function messageWorker(message) {
}
function workerTimeout(seconds) {
- markedWorker.timeout = setTimeout(function () {
+ markedWorker.timeout = setTimeout(function() {
seconds++;
markedWorker.onerror('Marked has taken longer than ' + seconds + ' second' + (seconds > 1 ? 's' : '') + ' to respond...');
workerTimeout(seconds);
diff --git a/packages/markdown/marked/docs/demo/worker.js b/packages/markdown/marked/docs/demo/worker.js
index 06b8befe..6a0fa032 100644
--- a/packages/markdown/marked/docs/demo/worker.js
+++ b/packages/markdown/marked/docs/demo/worker.js
@@ -1,4 +1,4 @@
-/* globals marked, unfetch, ES6Promise */
+/* globals marked, unfetch, ES6Promise, Promise */ // eslint-disable-line no-redeclare
if (!self.Promise) {
self.importScripts('https://cdn.jsdelivr.net/npm/es6-promise/dist/es6-promise.js');
self.Promise = ES6Promise;
@@ -11,15 +11,15 @@ if (!self.fetch) {
var versionCache = {};
var currentVersion;
-onunhandledrejection = function (e) {
+onunhandledrejection = function(e) {
throw e.reason;
};
-onmessage = function (e) {
+onmessage = function(e) {
if (e.data.version === currentVersion) {
parse(e);
} else {
- loadVersion(e.data.version).then(function () {
+ loadVersion(e.data.version).then(function() {
parse(e);
});
}
@@ -87,13 +87,13 @@ function loadVersion(ver) {
promise = Promise.resolve(versionCache[ver]);
} else {
promise = fetch(ver)
- .then(function (res) { return res.text(); })
- .then(function (text) {
+ .then(function(res) { return res.text(); })
+ .then(function(text) {
versionCache[ver] = text;
return text;
});
}
- return promise.then(function (text) {
+ return promise.then(function(text) {
try {
// eslint-disable-next-line no-new-func
Function(text)();
diff --git a/packages/markdown/marked/docs/index.html b/packages/markdown/marked/docs/index.html
index 07a4d5ee..6aed6279 100644
--- a/packages/markdown/marked/docs/index.html
+++ b/packages/markdown/marked/docs/index.html
@@ -148,6 +148,7 @@
<ul>
<li><a href="#/USING_ADVANCED.md#options">Options</a></li>
<li><a href="#/USING_ADVANCED.md#highlight">Highlighting</a></li>
+ <li><a href="#/USING_ADVANCED.md#workers">Workers</a></li>
</ul>
</li>
<li>
diff --git a/packages/markdown/marked/index.js b/packages/markdown/marked/index.js
deleted file mode 100644
index a12f9056..00000000
--- a/packages/markdown/marked/index.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require('./lib/marked');
diff --git a/packages/markdown/marked/jasmine.json b/packages/markdown/marked/jasmine.json
deleted file mode 100644
index bec42542..00000000
--- a/packages/markdown/marked/jasmine.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "spec_dir": "test",
- "spec_files": [
- "**/*-spec.js"
- ],
- "helpers": [
- "helpers/helpers.js"
- ],
- "stopSpecOnExpectationFailure": false,
- "random": true
-}
diff --git a/packages/markdown/marked/lib/marked.esm.js b/packages/markdown/marked/lib/marked.esm.js
new file mode 100644
index 00000000..36672909
--- /dev/null
+++ b/packages/markdown/marked/lib/marked.esm.js
@@ -0,0 +1,1816 @@
+/**
+ * marked - a markdown parser
+ * Copyright (c) 2011-2020, Christopher Jeffrey. (MIT Licensed)
+ * https://github.com/markedjs/marked
+ */
+
+/**
+ * DO NOT EDIT THIS FILE
+ * The code in this file is generated from files in ./src/
+ */
+
+function createCommonjsModule(fn, module) {
+ return module = { exports: {} }, fn(module, module.exports), module.exports;
+}
+
+var defaults = createCommonjsModule(function (module) {
+function getDefaults() {
+ return {
+ baseUrl: null,
+ breaks: false,
+ gfm: true,
+ headerIds: true,
+ headerPrefix: '',
+ highlight: null,
+ langPrefix: 'language-',
+ mangle: true,
+ pedantic: false,
+ renderer: null,
+ sanitize: false,
+ sanitizer: null,
+ silent: false,
+ smartLists: false,
+ smartypants: false,
+ xhtml: false
+ };
+}
+
+function changeDefaults(newDefaults) {
+ module.exports.defaults = newDefaults;
+}
+
+module.exports = {
+ defaults: getDefaults(),
+ getDefaults,
+ changeDefaults
+};
+});
+var defaults_1 = defaults.defaults;
+var defaults_2 = defaults.getDefaults;
+var defaults_3 = defaults.changeDefaults;
+
+/**
+ * Helpers
+ */
+const escapeTest = /[&<>"']/;
+const escapeReplace = /[&<>"']/g;
+const escapeTestNoEncode = /[<>"']|&(?!#?\w+;)/;
+const escapeReplaceNoEncode = /[<>"']|&(?!#?\w+;)/g;
+const escapeReplacements = {
+ '&': '&amp;',
+ '<': '&lt;',
+ '>': '&gt;',
+ '"': '&quot;',
+ "'": '&#39;'
+};
+const getEscapeReplacement = (ch) => escapeReplacements[ch];
+function escape(html, encode) {
+ if (encode) {
+ if (escapeTest.test(html)) {
+ return html.replace(escapeReplace, getEscapeReplacement);
+ }
+ } else {
+ if (escapeTestNoEncode.test(html)) {
+ return html.replace(escapeReplaceNoEncode, getEscapeReplacement);
+ }
+ }
+
+ return html;
+}
+
+const unescapeTest = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
+
+function unescape(html) {
+ // explicitly match decimal, hex, and named HTML entities
+ return html.replace(unescapeTest, (_, n) => {
+ n = n.toLowerCase();
+ if (n === 'colon') return ':';
+ if (n.charAt(0) === '#') {
+ return n.charAt(1) === 'x'
+ ? String.fromCharCode(parseInt(n.substring(2), 16))
+ : String.fromCharCode(+n.substring(1));
+ }
+ return '';
+ });
+}
+
+const caret = /(^|[^\[])\^/g;
+function edit(regex, opt) {
+ regex = regex.source || regex;
+ opt = opt || '';
+ const obj = {
+ replace: (name, val) => {
+ val = val.source || val;
+ val = val.replace(caret, '$1');
+ regex = regex.replace(name, val);
+ return obj;
+ },
+ getRegex: () => {
+ return new RegExp(regex, opt);
+ }
+ };
+ return obj;
+}
+
+const nonWordAndColonTest = /[^\w:]/g;
+const originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;
+function cleanUrl(sanitize, base, href) {
+ if (sanitize) {
+ let prot;
+ try {
+ prot = decodeURIComponent(unescape(href))
+ .replace(nonWordAndColonTest, '')
+ .toLowerCase();
+ } catch (e) {
+ return null;
+ }
+ if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0 || prot.indexOf('data:') === 0) {
+ return null;
+ }
+ }
+ if (base && !originIndependentUrl.test(href)) {
+ href = resolveUrl(base, href);
+ }
+ try {
+ href = encodeURI(href).replace(/%25/g, '%');
+ } catch (e) {
+ return null;
+ }
+ return href;
+}
+
+const baseUrls = {};
+const justDomain = /^[^:]+:\/*[^/]*$/;
+const protocol = /^([^:]+:)[\s\S]*$/;
+const domain = /^([^:]+:\/*[^/]*)[\s\S]*$/;
+
+function resolveUrl(base, href) {
+ if (!baseUrls[' ' + base]) {
+ // we can ignore everything in base after the last slash of its path component,
+ // but we might need to add _that_
+ // https://tools.ietf.org/html/rfc3986#section-3
+ if (justDomain.test(base)) {
+ baseUrls[' ' + base] = base + '/';
+ } else {
+ baseUrls[' ' + base] = rtrim(base, '/', true);
+ }
+ }
+ base = baseUrls[' ' + base];
+ const relativeBase = base.indexOf(':') === -1;
+
+ if (href.substring(0, 2) === '//') {
+ if (relativeBase) {
+ return href;
+ }
+ return base.replace(protocol, '$1') + href;
+ } else if (href.charAt(0) === '/') {
+ if (relativeBase) {
+ return href;
+ }
+ return base.replace(domain, '$1') + href;
+ } else {
+ return base + href;
+ }
+}
+
+const noopTest = { exec: function noopTest() {} };
+
+function merge(obj) {
+ let i = 1,
+ target,
+ key;
+
+ for (; i < arguments.length; i++) {
+ target = arguments[i];
+ for (key in target) {
+ if (Object.prototype.hasOwnProperty.call(target, key)) {
+ obj[key] = target[key];
+ }
+ }
+ }
+
+ return obj;
+}
+
+function splitCells(tableRow, count) {
+ // ensure that every cell-delimiting pipe has a space
+ // before it to distinguish it from an escaped pipe
+ const row = tableRow.replace(/\|/g, (match, offset, str) => {
+ let escaped = false,
+ curr = offset;
+ while (--curr >= 0 && str[curr] === '\\') escaped = !escaped;
+ if (escaped) {
+ // odd number of slashes means | is escaped
+ // so we leave it alone
+ return '|';
+ } else {
+ // add space before unescaped |
+ return ' |';
+ }
+ }),
+ cells = row.split(/ \|/);
+ let i = 0;
+
+ if (cells.length > count) {
+ cells.splice(count);
+ } else {
+ while (cells.length < count) cells.push('');
+ }
+
+ for (; i < cells.length; i++) {
+ // leading or trailing whitespace is ignored per the gfm spec
+ cells[i] = cells[i].trim().replace(/\\\|/g, '|');
+ }
+ return cells;
+}
+
+// Remove trailing 'c's. Equivalent to str.replace(/c*$/, '').
+// /c*$/ is vulnerable to REDOS.
+// invert: Remove suffix of non-c chars instead. Default falsey.
+function rtrim(str, c, invert) {
+ const l = str.length;
+ if (l === 0) {
+ return '';
+ }
+
+ // Length of suffix matching the invert condition.
+ let suffLen = 0;
+
+ // Step left until we fail to match the invert condition.
+ while (suffLen < l) {
+ const currChar = str.charAt(l - suffLen - 1);
+ if (currChar === c && !invert) {
+ suffLen++;
+ } else if (currChar !== c && invert) {
+ suffLen++;
+ } else {
+ break;
+ }
+ }
+
+ return str.substr(0, l - suffLen);
+}
+
+function findClosingBracket(str, b) {
+ if (str.indexOf(b[1]) === -1) {
+ return -1;
+ }
+ const l = str.length;
+ let level = 0,
+ i = 0;
+ for (; i < l; i++) {
+ if (str[i] === '\\') {
+ i++;
+ } else if (str[i] === b[0]) {
+ level++;
+ } else if (str[i] === b[1]) {
+ level--;
+ if (level < 0) {
+ return i;
+ }
+ }
+ }
+ return -1;
+}
+
+function checkSanitizeDeprecation(opt) {
+ if (opt && opt.sanitize && !opt.silent) {
+ console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options');
+ }
+}
+
+var helpers = {
+ escape,
+ unescape,
+ edit,
+ cleanUrl,
+ resolveUrl,
+ noopTest,
+ merge,
+ splitCells,
+ rtrim,
+ findClosingBracket,
+ checkSanitizeDeprecation
+};
+
+const {
+ noopTest: noopTest$1,
+ edit: edit$1,
+ merge: merge$1
+} = helpers;
+
+/**
+ * Block-Level Grammar
+ */
+const block = {
+ newline: /^\n+/,
+ code: /^( {4}[^\n]+\n*)+/,
+ fences: /^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,
+ hr: /^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,
+ heading: /^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,
+ blockquote: /^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,
+ list: /^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,
+ html: '^ {0,3}(?:' // optional indentation
+ + '<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)' // (1)
+ + '|comment[^\\n]*(\\n+|$)' // (2)
+ + '|<\\?[\\s\\S]*?\\?>\\n*' // (3)
+ + '|<![A-Z][\\s\\S]*?>\\n*' // (4)
+ + '|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*' // (5)
+ + '|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)' // (6)
+ + '|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)' // (7) open tag
+ + '|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)' // (7) closing tag
+ + ')',
+ def: /^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,
+ nptable: noopTest$1,
+ table: noopTest$1,
+ lheading: /^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,
+ // regex template, placeholders will be replaced according to different paragraph
+ // interruption rules of commonmark and the original markdown spec:
+ _paragraph: /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,
+ text: /^[^\n]+/
+};
+
+block._label = /(?!\s*\])(?:\\[\[\]]|[^\[\]])+/;
+block._title = /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;
+block.def = edit$1(block.def)
+ .replace('label', block._label)
+ .replace('title', block._title)
+ .getRegex();
+
+block.bullet = /(?:[*+-]|\d{1,9}\.)/;
+block.item = /^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/;
+block.item = edit$1(block.item, 'gm')
+ .replace(/bull/g, block.bullet)
+ .getRegex();
+
+block.list = edit$1(block.list)
+ .replace(/bull/g, block.bullet)
+ .replace('hr', '\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))')
+ .replace('def', '\\n+(?=' + block.def.source + ')')
+ .getRegex();
+
+block._tag = 'address|article|aside|base|basefont|blockquote|body|caption'
+ + '|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption'
+ + '|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe'
+ + '|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option'
+ + '|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr'
+ + '|track|ul';
+block._comment = /<!--(?!-?>)[\s\S]*?-->/;
+block.html = edit$1(block.html, 'i')
+ .replace('comment', block._comment)
+ .replace('tag', block._tag)
+ .replace('attribute', / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/)
+ .getRegex();
+
+block.paragraph = edit$1(block._paragraph)
+ .replace('hr', block.hr)
+ .replace('heading', ' {0,3}#{1,6} +')
+ .replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs
+ .replace('blockquote', ' {0,3}>')
+ .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n')
+ .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt
+ .replace('html', '</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)')
+ .replace('tag', block._tag) // pars can be interrupted by type (6) html blocks
+ .getRegex();
+
+block.blockquote = edit$1(block.blockquote)
+ .replace('paragraph', block.paragraph)
+ .getRegex();
+
+/**
+ * Normal Block Grammar
+ */
+
+block.normal = merge$1({}, block);
+
+/**
+ * GFM Block Grammar
+ */
+
+block.gfm = merge$1({}, block.normal, {
+ nptable: /^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,
+ table: /^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/
+});
+
+/**
+ * Pedantic grammar (original John Gruber's loose markdown specification)
+ */
+
+block.pedantic = merge$1({}, block.normal, {
+ html: edit$1(
+ '^ *(?:comment *(?:\\n|\\s*$)'
+ + '|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)' // closed tag
+ + '|<tag(?:"[^"]*"|\'[^\']*\'|\\s[^\'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))')
+ .replace('comment', block._comment)
+ .replace(/tag/g, '(?!(?:'
+ + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub'
+ + '|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)'
+ + '\\b)\\w+(?!:|[^\\w\\s@]*@)\\b')
+ .getRegex(),
+ def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
+ heading: /^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,
+ fences: noopTest$1, // fences not supported
+ paragraph: edit$1(block.normal._paragraph)
+ .replace('hr', block.hr)
+ .replace('heading', ' *#{1,6} *[^\n]')
+ .replace('lheading', block.lheading)
+ .replace('blockquote', ' {0,3}>')
+ .replace('|fences', '')
+ .replace('|list', '')
+ .replace('|html', '')
+ .getRegex()
+});
+
+/**
+ * Inline-Level Grammar
+ */
+const inline = {
+ escape: /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,
+ autolink: /^<(scheme:[^\s\x00-\x1f<>]*|email)>/,
+ url: noopTest$1,
+ tag: '^comment'
+ + '|^</[a-zA-Z][\\w:-]*\\s*>' // self-closing tag
+ + '|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>' // open tag
+ + '|^<\\?[\\s\\S]*?\\?>' // processing instruction, e.g. <?php ?>
+ + '|^<![a-zA-Z]+\\s[\\s\\S]*?>' // declaration, e.g. <!DOCTYPE html>
+ + '|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>', // CDATA section
+ link: /^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,
+ reflink: /^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,
+ nolink: /^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,
+ strong: /^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,
+ em: /^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,
+ code: /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,
+ br: /^( {2,}|\\)\n(?!\s*$)/,
+ del: noopTest$1,
+ text: /^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/
+};
+
+// list of punctuation marks from common mark spec
+// without ` and ] to workaround Rule 17 (inline code blocks/links)
+inline._punctuation = '!"#$%&\'()*+,\\-./:;<=>?@\\[^_{|}~';
+inline.em = edit$1(inline.em).replace(/punctuation/g, inline._punctuation).getRegex();
+
+inline._escapes = /\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;
+
+inline._scheme = /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;
+inline._email = /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;
+inline.autolink = edit$1(inline.autolink)
+ .replace('scheme', inline._scheme)
+ .replace('email', inline._email)
+ .getRegex();
+
+inline._attribute = /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;
+
+inline.tag = edit$1(inline.tag)
+ .replace('comment', block._comment)
+ .replace('attribute', inline._attribute)
+ .getRegex();
+
+inline._label = /(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;
+inline._href = /<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/;
+inline._title = /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;
+
+inline.link = edit$1(inline.link)
+ .replace('label', inline._label)
+ .replace('href', inline._href)
+ .replace('title', inline._title)
+ .getRegex();
+
+inline.reflink = edit$1(inline.reflink)
+ .replace('label', inline._label)
+ .getRegex();
+
+/**
+ * Normal Inline Grammar
+ */
+
+inline.normal = merge$1({}, inline);
+
+/**
+ * Pedantic Inline Grammar
+ */
+
+inline.pedantic = merge$1({}, inline.normal, {
+ strong: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,
+ em: /^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,
+ link: edit$1(/^!?\[(label)\]\((.*?)\)/)
+ .replace('label', inline._label)
+ .getRegex(),
+ reflink: edit$1(/^!?\[(label)\]\s*\[([^\]]*)\]/)
+ .replace('label', inline._label)
+ .getRegex()
+});
+
+/**
+ * GFM Inline Grammar
+ */
+
+inline.gfm = merge$1({}, inline.normal, {
+ escape: edit$1(inline.escape).replace('])', '~|])').getRegex(),
+ _extended_email: /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,
+ url: /^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,
+ _backpedal: /(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,
+ del: /^~+(?=\S)([\s\S]*?\S)~+/,
+ text: /^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/
+});
+
+inline.gfm.url = edit$1(inline.gfm.url, 'i')
+ .replace('email', inline.gfm._extended_email)
+ .getRegex();
+/**
+ * GFM + Line Breaks Inline Grammar
+ */
+
+inline.breaks = merge$1({}, inline.gfm, {
+ br: edit$1(inline.br).replace('{2,}', '*').getRegex(),
+ text: edit$1(inline.gfm.text)
+ .replace('\\b_', '\\b_| {2,}\\n')
+ .replace(/\{2,\}/g, '*')
+ .getRegex()
+});
+
+var rules = {
+ block,
+ inline
+};
+
+const { defaults: defaults$1 } = defaults;
+const { block: block$1 } = rules;
+const {
+ rtrim: rtrim$1,
+ splitCells: splitCells$1,
+ escape: escape$1
+} = helpers;
+
+/**
+ * Block Lexer
+ */
+var Lexer_1 = class Lexer {
+ constructor(options) {
+ this.tokens = [];
+ this.tokens.links = Object.create(null);
+ this.options = options || defaults$1;
+ this.rules = block$1.normal;
+
+ if (this.options.pedantic) {
+ this.rules = block$1.pedantic;
+ } else if (this.options.gfm) {
+ this.rules = block$1.gfm;
+ }
+ }
+
+ /**
+ * Expose Block Rules
+ */
+ static get rules() {
+ return block$1;
+ }
+
+ /**
+ * Static Lex Method
+ */
+ static lex(src, options) {
+ const lexer = new Lexer(options);
+ return lexer.lex(src);
+ };
+
+ /**
+ * Preprocessing
+ */
+ lex(src) {
+ src = src
+ .replace(/\r\n|\r/g, '\n')
+ .replace(/\t/g, ' ');
+
+ return this.token(src, true);
+ };
+
+ /**
+ * Lexing
+ */
+ token(src, top) {
+ src = src.replace(/^ +$/gm, '');
+ let next,
+ loose,
+ cap,
+ bull,
+ b,
+ item,
+ listStart,
+ listItems,
+ t,
+ space,
+ i,
+ tag,
+ l,
+ isordered,
+ istask,
+ ischecked;
+
+ while (src) {
+ // newline
+ if (cap = this.rules.newline.exec(src)) {
+ src = src.substring(cap[0].length);
+ if (cap[0].length > 1) {
+ this.tokens.push({
+ type: 'space'
+ });
+ }
+ }
+
+ // code
+ if (cap = this.rules.code.exec(src)) {
+ const lastToken = this.tokens[this.tokens.length - 1];
+ src = src.substring(cap[0].length);
+ // An indented code block cannot interrupt a paragraph.
+ if (lastToken && lastToken.type === 'paragraph') {
+ lastToken.text += '\n' + cap[0].trimRight();
+ } else {
+ cap = cap[0].replace(/^ {4}/gm, '');
+ this.tokens.push({
+ type: 'code',
+ codeBlockStyle: 'indented',
+ text: !this.options.pedantic
+ ? rtrim$1(cap, '\n')
+ : cap
+ });
+ }
+ continue;
+ }
+
+ // fences
+ if (cap = this.rules.fences.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'code',
+ lang: cap[2] ? cap[2].trim() : cap[2],
+ text: cap[3] || ''
+ });
+ continue;
+ }
+
+ // heading
+ if (cap = this.rules.heading.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'heading',
+ depth: cap[1].length,
+ text: cap[2]
+ });
+ continue;
+ }
+
+ // table no leading pipe (gfm)
+ if (cap = this.rules.nptable.exec(src)) {
+ item = {
+ type: 'table',
+ header: splitCells$1(cap[1].replace(/^ *| *\| *$/g, '')),
+ align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
+ cells: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : []
+ };
+
+ if (item.header.length === item.align.length) {
+ src = src.substring(cap[0].length);
+
+ for (i = 0; i < item.align.length; i++) {
+ if (/^ *-+: *$/.test(item.align[i])) {
+ item.align[i] = 'right';
+ } else if (/^ *:-+: *$/.test(item.align[i])) {
+ item.align[i] = 'center';
+ } else if (/^ *:-+ *$/.test(item.align[i])) {
+ item.align[i] = 'left';
+ } else {
+ item.align[i] = null;
+ }
+ }
+
+ for (i = 0; i < item.cells.length; i++) {
+ item.cells[i] = splitCells$1(item.cells[i], item.header.length);
+ }
+
+ this.tokens.push(item);
+
+ continue;
+ }
+ }
+
+ // hr
+ if (cap = this.rules.hr.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'hr'
+ });
+ continue;
+ }
+
+ // blockquote
+ if (cap = this.rules.blockquote.exec(src)) {
+ src = src.substring(cap[0].length);
+
+ this.tokens.push({
+ type: 'blockquote_start'
+ });
+
+ cap = cap[0].replace(/^ *> ?/gm, '');
+
+ // Pass `top` to keep the current
+ // "toplevel" state. This is exactly
+ // how markdown.pl works.
+ this.token(cap, top);
+
+ this.tokens.push({
+ type: 'blockquote_end'
+ });
+
+ continue;
+ }
+
+ // list
+ if (cap = this.rules.list.exec(src)) {
+ src = src.substring(cap[0].length);
+ bull = cap[2];
+ isordered = bull.length > 1;
+
+ listStart = {
+ type: 'list_start',
+ ordered: isordered,
+ start: isordered ? +bull : '',
+ loose: false
+ };
+
+ this.tokens.push(listStart);
+
+ // Get each top-level item.
+ cap = cap[0].match(this.rules.item);
+
+ listItems = [];
+ next = false;
+ l = cap.length;
+ i = 0;
+
+ for (; i < l; i++) {
+ item = cap[i];
+
+ // Remove the list item's bullet
+ // so it is seen as the next token.
+ space = item.length;
+ item = item.replace(/^ *([*+-]|\d+\.) */, '');
+
+ // Outdent whatever the
+ // list item contains. Hacky.
+ if (~item.indexOf('\n ')) {
+ space -= item.length;
+ item = !this.options.pedantic
+ ? item.replace(new RegExp('^ {1,' + space + '}', 'gm'), '')
+ : item.replace(/^ {1,4}/gm, '');
+ }
+
+ // Determine whether the next list item belongs here.
+ // Backpedal if it does not belong in this list.
+ if (i !== l - 1) {
+ b = block$1.bullet.exec(cap[i + 1])[0];
+ if (bull.length > 1 ? b.length === 1
+ : (b.length > 1 || (this.options.smartLists && b !== bull))) {
+ src = cap.slice(i + 1).join('\n') + src;
+ i = l - 1;
+ }
+ }
+
+ // Determine whether item is loose or not.
+ // Use: /(^|\n)(?! )[^\n]+\n\n(?!\s*$)/
+ // for discount behavior.
+ loose = next || /\n\n(?!\s*$)/.test(item);
+ if (i !== l - 1) {
+ next = item.charAt(item.length - 1) === '\n';
+ if (!loose) loose = next;
+ }
+
+ if (loose) {
+ listStart.loose = true;
+ }
+
+ // Check for task list items
+ istask = /^\[[ xX]\] /.test(item);
+ ischecked = undefined;
+ if (istask) {
+ ischecked = item[1] !== ' ';
+ item = item.replace(/^\[[ xX]\] +/, '');
+ }
+
+ t = {
+ type: 'list_item_start',
+ task: istask,
+ checked: ischecked,
+ loose: loose
+ };
+
+ listItems.push(t);
+ this.tokens.push(t);
+
+ // Recurse.
+ this.token(item, false);
+
+ this.tokens.push({
+ type: 'list_item_end'
+ });
+ }
+
+ if (listStart.loose) {
+ l = listItems.length;
+ i = 0;
+ for (; i < l; i++) {
+ listItems[i].loose = true;
+ }
+ }
+
+ this.tokens.push({
+ type: 'list_end'
+ });
+
+ continue;
+ }
+
+ // html
+ if (cap = this.rules.html.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: this.options.sanitize
+ ? 'paragraph'
+ : 'html',
+ pre: !this.options.sanitizer
+ && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'),
+ text: this.options.sanitize ? (this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape$1(cap[0])) : cap[0]
+ });
+ continue;
+ }
+
+ // def
+ if (top && (cap = this.rules.def.exec(src))) {
+ src = src.substring(cap[0].length);
+ if (cap[3]) cap[3] = cap[3].substring(1, cap[3].length - 1);
+ tag = cap[1].toLowerCase().replace(/\s+/g, ' ');
+ if (!this.tokens.links[tag]) {
+ this.tokens.links[tag] = {
+ href: cap[2],
+ title: cap[3]
+ };
+ }
+ continue;
+ }
+
+ // table (gfm)
+ if (cap = this.rules.table.exec(src)) {
+ item = {
+ type: 'table',
+ header: splitCells$1(cap[1].replace(/^ *| *\| *$/g, '')),
+ align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
+ cells: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : []
+ };
+
+ if (item.header.length === item.align.length) {
+ src = src.substring(cap[0].length);
+
+ for (i = 0; i < item.align.length; i++) {
+ if (/^ *-+: *$/.test(item.align[i])) {
+ item.align[i] = 'right';
+ } else if (/^ *:-+: *$/.test(item.align[i])) {
+ item.align[i] = 'center';
+ } else if (/^ *:-+ *$/.test(item.align[i])) {
+ item.align[i] = 'left';
+ } else {
+ item.align[i] = null;
+ }
+ }
+
+ for (i = 0; i < item.cells.length; i++) {
+ item.cells[i] = splitCells$1(
+ item.cells[i].replace(/^ *\| *| *\| *$/g, ''),
+ item.header.length);
+ }
+
+ this.tokens.push(item);
+
+ continue;
+ }
+ }
+
+ // lheading
+ if (cap = this.rules.lheading.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'heading',
+ depth: cap[2].charAt(0) === '=' ? 1 : 2,
+ text: cap[1]
+ });
+ continue;
+ }
+
+ // top-level paragraph
+ if (top && (cap = this.rules.paragraph.exec(src))) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'paragraph',
+ text: cap[1].charAt(cap[1].length - 1) === '\n'
+ ? cap[1].slice(0, -1)
+ : cap[1]
+ });
+ continue;
+ }
+
+ // text
+ if (cap = this.rules.text.exec(src)) {
+ // Top-level should never reach here.
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'text',
+ text: cap[0]
+ });
+ continue;
+ }
+
+ if (src) {
+ throw new Error('Infinite loop on byte: ' + src.charCodeAt(0));
+ }
+ }
+
+ return this.tokens;
+ };
+};
+
+const { defaults: defaults$2 } = defaults;
+const {
+ cleanUrl: cleanUrl$1,
+ escape: escape$2
+} = helpers;
+
+/**
+ * Renderer
+ */
+var Renderer_1 = class Renderer {
+ constructor(options) {
+ this.options = options || defaults$2;
+ }
+
+ code(code, infostring, escaped) {
+ const lang = (infostring || '').match(/\S*/)[0];
+ if (this.options.highlight) {
+ const out = this.options.highlight(code, lang);
+ if (out != null && out !== code) {
+ escaped = true;
+ code = out;
+ }
+ }
+
+ if (!lang) {
+ return '<pre><code>'
+ + (escaped ? code : escape$2(code, true))
+ + '</code></pre>';
+ }
+
+ return '<pre><code class="'
+ + this.options.langPrefix
+ + escape$2(lang, true)
+ + '">'
+ + (escaped ? code : escape$2(code, true))
+ + '</code></pre>\n';
+ };
+
+ blockquote(quote) {
+ return '<blockquote>\n' + quote + '</blockquote>\n';
+ };
+
+ html(html) {
+ return html;
+ };
+
+ heading(text, level, raw, slugger) {
+ if (this.options.headerIds) {
+ return '<h'
+ + level
+ + ' id="'
+ + this.options.headerPrefix
+ + slugger.slug(raw)
+ + '">'
+ + text
+ + '</h'
+ + level
+ + '>\n';
+ }
+ // ignore IDs
+ return '<h' + level + '>' + text + '</h' + level + '>\n';
+ };
+
+ hr() {
+ return this.options.xhtml ? '<hr/>\n' : '<hr>\n';
+ };
+
+ list(body, ordered, start) {
+ const type = ordered ? 'ol' : 'ul',
+ startatt = (ordered && start !== 1) ? (' start="' + start + '"') : '';
+ return '<' + type + startatt + '>\n' + body + '</' + type + '>\n';
+ };
+
+ listitem(text) {
+ return '<li>' + text + '</li>\n';
+ };
+
+ checkbox(checked) {
+ return '<input '
+ + (checked ? 'checked="" ' : '')
+ + 'disabled="" type="checkbox"'
+ + (this.options.xhtml ? ' /' : '')
+ + '> ';
+ };
+
+ paragraph(text) {
+ return '<p>' + text + '</p>\n';
+ };
+
+ table(header, body) {
+ if (body) body = '<tbody>' + body + '</tbody>';
+
+ return '<table>\n'
+ + '<thead>\n'
+ + header
+ + '</thead>\n'
+ + body
+ + '</table>\n';
+ };
+
+ tablerow(content) {
+ return '<tr>\n' + content + '</tr>\n';
+ };
+
+ tablecell(content, flags) {
+ const type = flags.header ? 'th' : 'td';
+ const tag = flags.align
+ ? '<' + type + ' align="' + flags.align + '">'
+ : '<' + type + '>';
+ return tag + content + '</' + type + '>\n';
+ };
+
+ // span level renderer
+ strong(text) {
+ return '<strong>' + text + '</strong>';
+ };
+
+ em(text) {
+ return '<em>' + text + '</em>';
+ };
+
+ codespan(text) {
+ return '<code>' + text + '</code>';
+ };
+
+ br() {
+ return this.options.xhtml ? '<br/>' : '<br>';
+ };
+
+ del(text) {
+ return '<del>' + text + '</del>';
+ };
+
+ link(href, title, text) {
+ href = cleanUrl$1(this.options.sanitize, this.options.baseUrl, href);
+ if (href === null) {
+ return text;
+ }
+ let out = '<a href="' + escape$2(href) + '"';
+ if (title) {
+ out += ' title="' + title + '"';
+ }
+ out += '>' + text + '</a>';
+ return out;
+ };
+
+ image(href, title, text) {
+ href = cleanUrl$1(this.options.sanitize, this.options.baseUrl, href);
+ if (href === null) {
+ return text;
+ }
+
+ let out = '<img src="' + href + '" alt="' + text + '"';
+ if (title) {
+ out += ' title="' + title + '"';
+ }
+ out += this.options.xhtml ? '/>' : '>';
+ return out;
+ };
+
+ text(text) {
+ return text;
+ };
+};
+
+/**
+ * Slugger generates header id
+ */
+var Slugger_1 = class Slugger {
+ constructor() {
+ this.seen = {};
+ }
+
+ /**
+ * Convert string to unique id
+ */
+ slug(value) {
+ let slug = value
+ .toLowerCase()
+ .trim()
+ .replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g, '')
+ .replace(/\s/g, '-');
+
+ if (this.seen.hasOwnProperty(slug)) {
+ const originalSlug = slug;
+ do {
+ this.seen[originalSlug]++;
+ slug = originalSlug + '-' + this.seen[originalSlug];
+ } while (this.seen.hasOwnProperty(slug));
+ }
+ this.seen[slug] = 0;
+
+ return slug;
+ };
+};
+
+const { defaults: defaults$3 } = defaults;
+const { inline: inline$1 } = rules;
+const {
+ findClosingBracket: findClosingBracket$1,
+ escape: escape$3
+} = helpers;
+
+/**
+ * Inline Lexer & Compiler
+ */
+var InlineLexer_1 = class InlineLexer {
+ constructor(links, options) {
+ this.options = options || defaults$3;
+ this.links = links;
+ this.rules = inline$1.normal;
+ this.options.renderer = this.options.renderer || new Renderer_1();
+ this.renderer = this.options.renderer;
+ this.renderer.options = this.options;
+
+ if (!this.links) {
+ throw new Error('Tokens array requires a `links` property.');
+ }
+
+ if (this.options.pedantic) {
+ this.rules = inline$1.pedantic;
+ } else if (this.options.gfm) {
+ if (this.options.breaks) {
+ this.rules = inline$1.breaks;
+ } else {
+ this.rules = inline$1.gfm;
+ }
+ }
+ }
+
+ /**
+ * Expose Inline Rules
+ */
+ static get rules() {
+ return inline$1;
+ }
+
+ /**
+ * Static Lexing/Compiling Method
+ */
+ static output(src, links, options) {
+ const inline = new InlineLexer(links, options);
+ return inline.output(src);
+ }
+
+ /**
+ * Lexing/Compiling
+ */
+ output(src) {
+ let out = '',
+ link,
+ text,
+ href,
+ title,
+ cap,
+ prevCapZero;
+
+ while (src) {
+ // escape
+ if (cap = this.rules.escape.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += escape$3(cap[1]);
+ continue;
+ }
+
+ // tag
+ if (cap = this.rules.tag.exec(src)) {
+ if (!this.inLink && /^<a /i.test(cap[0])) {
+ this.inLink = true;
+ } else if (this.inLink && /^<\/a>/i.test(cap[0])) {
+ this.inLink = false;
+ }
+ if (!this.inRawBlock && /^<(pre|code|kbd|script)(\s|>)/i.test(cap[0])) {
+ this.inRawBlock = true;
+ } else if (this.inRawBlock && /^<\/(pre|code|kbd|script)(\s|>)/i.test(cap[0])) {
+ this.inRawBlock = false;
+ }
+
+ src = src.substring(cap[0].length);
+ out += this.renderer.html(this.options.sanitize
+ ? (this.options.sanitizer
+ ? this.options.sanitizer(cap[0])
+ : escape$3(cap[0]))
+ : cap[0]);
+ continue;
+ }
+
+ // link
+ if (cap = this.rules.link.exec(src)) {
+ const lastParenIndex = findClosingBracket$1(cap[2], '()');
+ if (lastParenIndex > -1) {
+ const start = cap[0].indexOf('!') === 0 ? 5 : 4;
+ const linkLen = start + cap[1].length + lastParenIndex;
+ cap[2] = cap[2].substring(0, lastParenIndex);
+ cap[0] = cap[0].substring(0, linkLen).trim();
+ cap[3] = '';
+ }
+ src = src.substring(cap[0].length);
+ this.inLink = true;
+ href = cap[2];
+ if (this.options.pedantic) {
+ link = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(href);
+
+ if (link) {
+ href = link[1];
+ title = link[3];
+ } else {
+ title = '';
+ }
+ } else {
+ title = cap[3] ? cap[3].slice(1, -1) : '';
+ }
+ href = href.trim().replace(/^<([\s\S]*)>$/, '$1');
+ out += this.outputLink(cap, {
+ href: InlineLexer.escapes(href),
+ title: InlineLexer.escapes(title)
+ });
+ this.inLink = false;
+ continue;
+ }
+
+ // reflink, nolink
+ if ((cap = this.rules.reflink.exec(src))
+ || (cap = this.rules.nolink.exec(src))) {
+ src = src.substring(cap[0].length);
+ link = (cap[2] || cap[1]).replace(/\s+/g, ' ');
+ link = this.links[link.toLowerCase()];
+ if (!link || !link.href) {
+ out += cap[0].charAt(0);
+ src = cap[0].substring(1) + src;
+ continue;
+ }
+ this.inLink = true;
+ out += this.outputLink(cap, link);
+ this.inLink = false;
+ continue;
+ }
+
+ // strong
+ if (cap = this.rules.strong.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.strong(this.output(cap[4] || cap[3] || cap[2] || cap[1]));
+ continue;
+ }
+
+ // em
+ if (cap = this.rules.em.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.em(this.output(cap[6] || cap[5] || cap[4] || cap[3] || cap[2] || cap[1]));
+ continue;
+ }
+
+ // code
+ if (cap = this.rules.code.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.codespan(escape$3(cap[2].trim(), true));
+ continue;
+ }
+
+ // br
+ if (cap = this.rules.br.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.br();
+ continue;
+ }
+
+ // del (gfm)
+ if (cap = this.rules.del.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.del(this.output(cap[1]));
+ continue;
+ }
+
+ // autolink
+ if (cap = this.rules.autolink.exec(src)) {
+ src = src.substring(cap[0].length);
+ if (cap[2] === '@') {
+ text = escape$3(this.mangle(cap[1]));
+ href = 'mailto:' + text;
+ } else {
+ text = escape$3(cap[1]);
+ href = text;
+ }
+ out += this.renderer.link(href, null, text);
+ continue;
+ }
+
+ // url (gfm)
+ if (!this.inLink && (cap = this.rules.url.exec(src))) {
+ if (cap[2] === '@') {
+ text = escape$3(cap[0]);
+ href = 'mailto:' + text;
+ } else {
+ // do extended autolink path validation
+ do {
+ prevCapZero = cap[0];
+ cap[0] = this.rules._backpedal.exec(cap[0])[0];
+ } while (prevCapZero !== cap[0]);
+ text = escape$3(cap[0]);
+ if (cap[1] === 'www.') {
+ href = 'http://' + text;
+ } else {
+ href = text;
+ }
+ }
+ src = src.substring(cap[0].length);
+ out += this.renderer.link(href, null, text);
+ continue;
+ }
+
+ // text
+ if (cap = this.rules.text.exec(src)) {
+ src = src.substring(cap[0].length);
+ if (this.inRawBlock) {
+ out += this.renderer.text(this.options.sanitize ? (this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape$3(cap[0])) : cap[0]);
+ } else {
+ out += this.renderer.text(escape$3(this.smartypants(cap[0])));
+ }
+ continue;
+ }
+
+ if (src) {
+ throw new Error('Infinite loop on byte: ' + src.charCodeAt(0));
+ }
+ }
+
+ return out;
+ }
+
+ static escapes(text) {
+ return text ? text.replace(InlineLexer.rules._escapes, '$1') : text;
+ }
+
+ /**
+ * Compile Link
+ */
+ outputLink(cap, link) {
+ const href = link.href,
+ title = link.title ? escape$3(link.title) : null;
+
+ return cap[0].charAt(0) !== '!'
+ ? this.renderer.link(href, title, this.output(cap[1]))
+ : this.renderer.image(href, title, escape$3(cap[1]));
+ }
+
+ /**
+ * Smartypants Transformations
+ */
+ smartypants(text) {
+ if (!this.options.smartypants) return text;
+ return text
+ // em-dashes
+ .replace(/---/g, '\u2014')
+ // en-dashes
+ .replace(/--/g, '\u2013')
+ // opening singles
+ .replace(/(^|[-\u2014/(\[{"\s])'/g, '$1\u2018')
+ // closing singles & apostrophes
+ .replace(/'/g, '\u2019')
+ // opening doubles
+ .replace(/(^|[-\u2014/(\[{\u2018\s])"/g, '$1\u201c')
+ // closing doubles
+ .replace(/"/g, '\u201d')
+ // ellipses
+ .replace(/\.{3}/g, '\u2026');
+ }
+
+ /**
+ * Mangle Links
+ */
+ mangle(text) {
+ if (!this.options.mangle) return text;
+ const l = text.length;
+ let out = '',
+ i = 0,
+ ch;
+
+ for (; i < l; i++) {
+ ch = text.charCodeAt(i);
+ if (Math.random() > 0.5) {
+ ch = 'x' + ch.toString(16);
+ }
+ out += '&#' + ch + ';';
+ }
+
+ return out;
+ }
+};
+
+/**
+ * TextRenderer
+ * returns only the textual part of the token
+ */
+var TextRenderer_1 = class TextRenderer {
+ // no need for block level renderers
+ strong(text) {
+ return text;
+ }
+
+ em(text) {
+ return text;
+ }
+
+ codespan(text) {
+ return text;
+ }
+
+ del(text) {
+ return text;
+ }
+
+ text(text) {
+ return text;
+ }
+
+ link(href, title, text) {
+ return '' + text;
+ }
+
+ image(href, title, text) {
+ return '' + text;
+ }
+
+ br() {
+ return '';
+ }
+};
+
+const { defaults: defaults$4 } = defaults;
+const {
+ merge: merge$2,
+ unescape: unescape$1
+} = helpers;
+
+/**
+ * Parsing & Compiling
+ */
+var Parser_1 = class Parser {
+ constructor(options) {
+ this.tokens = [];
+ this.token = null;
+ this.options = options || defaults$4;
+ this.options.renderer = this.options.renderer || new Renderer_1();
+ this.renderer = this.options.renderer;
+ this.renderer.options = this.options;
+ this.slugger = new Slugger_1();
+ }
+
+ /**
+ * Static Parse Method
+ */
+ static parse(tokens, options) {
+ const parser = new Parser(options);
+ return parser.parse(tokens);
+ };
+
+ /**
+ * Parse Loop
+ */
+ parse(tokens) {
+ this.inline = new InlineLexer_1(tokens.links, this.options);
+ // use an InlineLexer with a TextRenderer to extract pure text
+ this.inlineText = new InlineLexer_1(
+ tokens.links,
+ merge$2({}, this.options, { renderer: new TextRenderer_1() })
+ );
+ this.tokens = tokens.reverse();
+
+ let out = '';
+ while (this.next()) {
+ out += this.tok();
+ }
+
+ return out;
+ };
+
+ /**
+ * Next Token
+ */
+ next() {
+ this.token = this.tokens.pop();
+ return this.token;
+ };
+
+ /**
+ * Preview Next Token
+ */
+ peek() {
+ return this.tokens[this.tokens.length - 1] || 0;
+ };
+
+ /**
+ * Parse Text Tokens
+ */
+ parseText() {
+ let body = this.token.text;
+
+ while (this.peek().type === 'text') {
+ body += '\n' + this.next().text;
+ }
+
+ return this.inline.output(body);
+ };
+
+ /**
+ * Parse Current Token
+ */
+ tok() {
+ let body = '';
+ switch (this.token.type) {
+ case 'space': {
+ return '';
+ }
+ case 'hr': {
+ return this.renderer.hr();
+ }
+ case 'heading': {
+ return this.renderer.heading(
+ this.inline.output(this.token.text),
+ this.token.depth,
+ unescape$1(this.inlineText.output(this.token.text)),
+ this.slugger);
+ }
+ case 'code': {
+ return this.renderer.code(this.token.text,
+ this.token.lang,
+ this.token.escaped);
+ }
+ case 'table': {
+ let header = '',
+ i,
+ row,
+ cell,
+ j;
+
+ // header
+ cell = '';
+ for (i = 0; i < this.token.header.length; i++) {
+ cell += this.renderer.tablecell(
+ this.inline.output(this.token.header[i]),
+ { header: true, align: this.token.align[i] }
+ );
+ }
+ header += this.renderer.tablerow(cell);
+
+ for (i = 0; i < this.token.cells.length; i++) {
+ row = this.token.cells[i];
+
+ cell = '';
+ for (j = 0; j < row.length; j++) {
+ cell += this.renderer.tablecell(
+ this.inline.output(row[j]),
+ { header: false, align: this.token.align[j] }
+ );
+ }
+
+ body += this.renderer.tablerow(cell);
+ }
+ return this.renderer.table(header, body);
+ }
+ case 'blockquote_start': {
+ body = '';
+
+ while (this.next().type !== 'blockquote_end') {
+ body += this.tok();
+ }
+
+ return this.renderer.blockquote(body);
+ }
+ case 'list_start': {
+ body = '';
+ const ordered = this.token.ordered,
+ start = this.token.start;
+
+ while (this.next().type !== 'list_end') {
+ body += this.tok();
+ }
+
+ return this.renderer.list(body, ordered, start);
+ }
+ case 'list_item_start': {
+ body = '';
+ const loose = this.token.loose;
+ const checked = this.token.checked;
+ const task = this.token.task;
+
+ if (this.token.task) {
+ if (loose) {
+ if (this.peek().type === 'text') {
+ const nextToken = this.peek();
+ nextToken.text = this.renderer.checkbox(checked) + ' ' + nextToken.text;
+ } else {
+ this.tokens.push({
+ type: 'text',
+ text: this.renderer.checkbox(checked)
+ });
+ }
+ } else {
+ body += this.renderer.checkbox(checked);
+ }
+ }
+
+ while (this.next().type !== 'list_item_end') {
+ body += !loose && this.token.type === 'text'
+ ? this.parseText()
+ : this.tok();
+ }
+ return this.renderer.listitem(body, task, checked);
+ }
+ case 'html': {
+ // TODO parse inline content if parameter markdown=1
+ return this.renderer.html(this.token.text);
+ }
+ case 'paragraph': {
+ return this.renderer.paragraph(this.inline.output(this.token.text));
+ }
+ case 'text': {
+ return this.renderer.paragraph(this.parseText());
+ }
+ default: {
+ const errMsg = 'Token with "' + this.token.type + '" type was not found.';
+ if (this.options.silent) {
+ console.log(errMsg);
+ } else {
+ throw new Error(errMsg);
+ }
+ }
+ }
+ };
+};
+
+const {
+ merge: merge$3,
+ checkSanitizeDeprecation: checkSanitizeDeprecation$1,
+ escape: escape$4
+} = helpers;
+const {
+ getDefaults,
+ changeDefaults,
+ defaults: defaults$5
+} = defaults;
+
+/**
+ * Marked
+ */
+function marked(src, opt, callback) {
+ // throw error in case of non string input
+ if (typeof src === 'undefined' || src === null) {
+ throw new Error('marked(): input parameter is undefined or null');
+ }
+ if (typeof src !== 'string') {
+ throw new Error('marked(): input parameter is of type '
+ + Object.prototype.toString.call(src) + ', string expected');
+ }
+
+ if (callback || typeof opt === 'function') {
+ if (!callback) {
+ callback = opt;
+ opt = null;
+ }
+
+ opt = merge$3({}, marked.defaults, opt || {});
+ checkSanitizeDeprecation$1(opt);
+ const highlight = opt.highlight;
+ let tokens,
+ pending,
+ i = 0;
+
+ try {
+ tokens = Lexer_1.lex(src, opt);
+ } catch (e) {
+ return callback(e);
+ }
+
+ pending = tokens.length;
+
+ const done = function(err) {
+ if (err) {
+ opt.highlight = highlight;
+ return callback(err);
+ }
+
+ let out;
+
+ try {
+ out = Parser_1.parse(tokens, opt);
+ } catch (e) {
+ err = e;
+ }
+
+ opt.highlight = highlight;
+
+ return err
+ ? callback(err)
+ : callback(null, out);
+ };
+
+ if (!highlight || highlight.length < 3) {
+ return done();
+ }
+
+ delete opt.highlight;
+
+ if (!pending) return done();
+
+ for (; i < tokens.length; i++) {
+ (function(token) {
+ if (token.type !== 'code') {
+ return --pending || done();
+ }
+ return highlight(token.text, token.lang, function(err, code) {
+ if (err) return done(err);
+ if (code == null || code === token.text) {
+ return --pending || done();
+ }
+ token.text = code;
+ token.escaped = true;
+ --pending || done();
+ });
+ })(tokens[i]);
+ }
+
+ return;
+ }
+ try {
+ opt = merge$3({}, marked.defaults, opt || {});
+ checkSanitizeDeprecation$1(opt);
+ return Parser_1.parse(Lexer_1.lex(src, opt), opt);
+ } catch (e) {
+ e.message += '\nPlease report this to https://github.com/markedjs/marked.';
+ if ((opt || marked.defaults).silent) {
+ return '<p>An error occurred:</p><pre>'
+ + escape$4(e.message + '', true)
+ + '</pre>';
+ }
+ throw e;
+ }
+}
+
+/**
+ * Options
+ */
+
+marked.options =
+marked.setOptions = function(opt) {
+ merge$3(marked.defaults, opt);
+ changeDefaults(marked.defaults);
+ return marked;
+};
+
+marked.getDefaults = getDefaults;
+
+marked.defaults = defaults$5;
+
+/**
+ * Expose
+ */
+
+marked.Parser = Parser_1;
+marked.parser = Parser_1.parse;
+
+marked.Renderer = Renderer_1;
+marked.TextRenderer = TextRenderer_1;
+
+marked.Lexer = Lexer_1;
+marked.lexer = Lexer_1.lex;
+
+marked.InlineLexer = InlineLexer_1;
+marked.inlineLexer = InlineLexer_1.output;
+
+marked.Slugger = Slugger_1;
+
+marked.parse = marked;
+
+var marked_1 = marked;
+
+export default marked_1;
diff --git a/packages/markdown/marked/lib/marked.js b/packages/markdown/marked/lib/marked.js
index 39c25f26..874dcd4d 100644
--- a/packages/markdown/marked/lib/marked.js
+++ b/packages/markdown/marked/lib/marked.js
@@ -1,1689 +1,1784 @@
/**
* marked - a markdown parser
- * Copyright (c) 2011-2018, Christopher Jeffrey. (MIT Licensed)
+ * Copyright (c) 2011-2020, Christopher Jeffrey. (MIT Licensed)
* https://github.com/markedjs/marked
*/
-;(function(root) {
-'use strict';
-
/**
- * Block-Level Grammar
+ * DO NOT EDIT THIS FILE
+ * The code in this file is generated from files in ./src/
*/
-var block = {
- newline: /^\n+/,
- code: /^( {4}[^\n]+\n*)+/,
- fences: noop,
- hr: /^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,
- heading: /^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,
- nptable: noop,
- blockquote: /^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,
- list: /^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,
- html: '^ {0,3}(?:' // optional indentation
- + '<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)' // (1)
- + '|comment[^\\n]*(\\n+|$)' // (2)
- + '|<\\?[\\s\\S]*?\\?>\\n*' // (3)
- + '|<![A-Z][\\s\\S]*?>\\n*' // (4)
- + '|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*' // (5)
- + '|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)' // (6)
- + '|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)' // (7) open tag
- + '|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)' // (7) closing tag
- + ')',
- def: /^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,
- table: noop,
- lheading: /^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,
- paragraph: /^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,
- text: /^[^\n]+/
-};
-
-block._label = /(?!\s*\])(?:\\[\[\]]|[^\[\]])+/;
-block._title = /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;
-block.def = edit(block.def)
- .replace('label', block._label)
- .replace('title', block._title)
- .getRegex();
-
-block.bullet = /(?:[*+-]|\d{1,9}\.)/;
-block.item = /^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/;
-block.item = edit(block.item, 'gm')
- .replace(/bull/g, block.bullet)
- .getRegex();
-
-block.list = edit(block.list)
- .replace(/bull/g, block.bullet)
- .replace('hr', '\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))')
- .replace('def', '\\n+(?=' + block.def.source + ')')
- .getRegex();
-
-block._tag = 'address|article|aside|base|basefont|blockquote|body|caption'
- + '|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption'
- + '|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe'
- + '|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option'
- + '|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr'
- + '|track|ul';
-block._comment = /<!--(?!-?>)[\s\S]*?-->/;
-block.html = edit(block.html, 'i')
- .replace('comment', block._comment)
- .replace('tag', block._tag)
- .replace('attribute', / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/)
- .getRegex();
-
-block.paragraph = edit(block.paragraph)
- .replace('hr', block.hr)
- .replace('heading', block.heading)
- .replace('lheading', block.lheading)
- .replace('tag', block._tag) // pars can be interrupted by type (6) html blocks
- .getRegex();
+(function (global, factory) {
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
+ typeof define === 'function' && define.amd ? define(factory) :
+ (global = global || self, global.marked = factory());
+}(this, (function () { 'use strict';
+
+ function _defineProperties(target, props) {
+ for (var i = 0; i < props.length; i++) {
+ var descriptor = props[i];
+ descriptor.enumerable = descriptor.enumerable || false;
+ descriptor.configurable = true;
+ if ("value" in descriptor) descriptor.writable = true;
+ Object.defineProperty(target, descriptor.key, descriptor);
+ }
+ }
-block.blockquote = edit(block.blockquote)
- .replace('paragraph', block.paragraph)
- .getRegex();
+ function _createClass(Constructor, protoProps, staticProps) {
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
+ if (staticProps) _defineProperties(Constructor, staticProps);
+ return Constructor;
+ }
-/**
- * Normal Block Grammar
- */
+ function createCommonjsModule(fn, module) {
+ return module = { exports: {} }, fn(module, module.exports), module.exports;
+ }
-block.normal = merge({}, block);
+ var defaults = createCommonjsModule(function (module) {
+ function getDefaults() {
+ return {
+ baseUrl: null,
+ breaks: false,
+ gfm: true,
+ headerIds: true,
+ headerPrefix: '',
+ highlight: null,
+ langPrefix: 'language-',
+ mangle: true,
+ pedantic: false,
+ renderer: null,
+ sanitize: false,
+ sanitizer: null,
+ silent: false,
+ smartLists: false,
+ smartypants: false,
+ xhtml: false
+ };
+ }
-/**
- * GFM Block Grammar
- */
+ function changeDefaults(newDefaults) {
+ module.exports.defaults = newDefaults;
+ }
-block.gfm = merge({}, block.normal, {
- fences: /^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,
- paragraph: /^/,
- heading: /^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/
-});
+ module.exports = {
+ defaults: getDefaults(),
+ getDefaults: getDefaults,
+ changeDefaults: changeDefaults
+ };
+ });
+ var defaults_1 = defaults.defaults;
+ var defaults_2 = defaults.getDefaults;
+ var defaults_3 = defaults.changeDefaults;
+
+ /**
+ * Helpers
+ */
+ var escapeTest = /[&<>"']/;
+ var escapeReplace = /[&<>"']/g;
+ var escapeTestNoEncode = /[<>"']|&(?!#?\w+;)/;
+ var escapeReplaceNoEncode = /[<>"']|&(?!#?\w+;)/g;
+ var escapeReplacements = {
+ '&': '&amp;',
+ '<': '&lt;',
+ '>': '&gt;',
+ '"': '&quot;',
+ "'": '&#39;'
+ };
-block.gfm.paragraph = edit(block.paragraph)
- .replace('(?!', '(?!'
- + block.gfm.fences.source.replace('\\1', '\\2') + '|'
- + block.list.source.replace('\\1', '\\3') + '|')
- .getRegex();
+ var getEscapeReplacement = function getEscapeReplacement(ch) {
+ return escapeReplacements[ch];
+ };
-/**
- * GFM + Tables Block Grammar
- */
+ function escape(html, encode) {
+ if (encode) {
+ if (escapeTest.test(html)) {
+ return html.replace(escapeReplace, getEscapeReplacement);
+ }
+ } else {
+ if (escapeTestNoEncode.test(html)) {
+ return html.replace(escapeReplaceNoEncode, getEscapeReplacement);
+ }
+ }
-block.tables = merge({}, block.gfm, {
- nptable: /^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,
- table: /^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/
-});
+ return html;
+ }
-/**
- * Pedantic grammar
- */
+ var unescapeTest = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
-block.pedantic = merge({}, block.normal, {
- html: edit(
- '^ *(?:comment *(?:\\n|\\s*$)'
- + '|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)' // closed tag
- + '|<tag(?:"[^"]*"|\'[^\']*\'|\\s[^\'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))')
- .replace('comment', block._comment)
- .replace(/tag/g, '(?!(?:'
- + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub'
- + '|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)'
- + '\\b)\\w+(?!:|[^\\w\\s@]*@)\\b')
- .getRegex(),
- def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/
-});
+ function unescape(html) {
+ // explicitly match decimal, hex, and named HTML entities
+ return html.replace(unescapeTest, function (_, n) {
+ n = n.toLowerCase();
+ if (n === 'colon') return ':';
-/**
- * Block Lexer
- */
+ if (n.charAt(0) === '#') {
+ return n.charAt(1) === 'x' ? String.fromCharCode(parseInt(n.substring(2), 16)) : String.fromCharCode(+n.substring(1));
+ }
-function Lexer(options) {
- this.tokens = [];
- this.tokens.links = Object.create(null);
- this.options = options || marked.defaults;
- this.rules = block.normal;
-
- if (this.options.pedantic) {
- this.rules = block.pedantic;
- } else if (this.options.gfm) {
- if (this.options.tables) {
- this.rules = block.tables;
- } else {
- this.rules = block.gfm;
- }
+ return '';
+ });
}
-}
-/**
- * Expose Block Rules
- */
+ var caret = /(^|[^\[])\^/g;
+
+ function edit(regex, opt) {
+ regex = regex.source || regex;
+ opt = opt || '';
+ var obj = {
+ replace: function replace(name, val) {
+ val = val.source || val;
+ val = val.replace(caret, '$1');
+ regex = regex.replace(name, val);
+ return obj;
+ },
+ getRegex: function getRegex() {
+ return new RegExp(regex, opt);
+ }
+ };
+ return obj;
+ }
-Lexer.rules = block;
+ var nonWordAndColonTest = /[^\w:]/g;
+ var originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;
-/**
- * Static Lex Method
- */
+ function cleanUrl(sanitize, base, href) {
+ if (sanitize) {
+ var prot;
-Lexer.lex = function(src, options) {
- var lexer = new Lexer(options);
- return lexer.lex(src);
-};
+ try {
+ prot = decodeURIComponent(unescape(href)).replace(nonWordAndColonTest, '').toLowerCase();
+ } catch (e) {
+ return null;
+ }
-/**
- * Preprocessing
- */
+ if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0 || prot.indexOf('data:') === 0) {
+ return null;
+ }
+ }
-Lexer.prototype.lex = function(src) {
- src = src
- .replace(/\r\n|\r/g, '\n')
- .replace(/\t/g, ' ')
- .replace(/\u00a0/g, ' ')
- .replace(/\u2424/g, '\n');
+ if (base && !originIndependentUrl.test(href)) {
+ href = resolveUrl(base, href);
+ }
- return this.token(src, true);
-};
+ try {
+ href = encodeURI(href).replace(/%25/g, '%');
+ } catch (e) {
+ return null;
+ }
-/**
- * Lexing
- */
+ return href;
+ }
-Lexer.prototype.token = function(src, top) {
- src = src.replace(/^ +$/gm, '');
- var next,
- loose,
- cap,
- bull,
- b,
- item,
- listStart,
- listItems,
- t,
- space,
- i,
- tag,
- l,
- isordered,
- istask,
- ischecked;
-
- while (src) {
- // newline
- if (cap = this.rules.newline.exec(src)) {
- src = src.substring(cap[0].length);
- if (cap[0].length > 1) {
- this.tokens.push({
- type: 'space'
- });
+ var baseUrls = {};
+ var justDomain = /^[^:]+:\/*[^/]*$/;
+ var protocol = /^([^:]+:)[\s\S]*$/;
+ var domain = /^([^:]+:\/*[^/]*)[\s\S]*$/;
+
+ function resolveUrl(base, href) {
+ if (!baseUrls[' ' + base]) {
+ // we can ignore everything in base after the last slash of its path component,
+ // but we might need to add _that_
+ // https://tools.ietf.org/html/rfc3986#section-3
+ if (justDomain.test(base)) {
+ baseUrls[' ' + base] = base + '/';
+ } else {
+ baseUrls[' ' + base] = rtrim(base, '/', true);
}
}
- // code
- if (cap = this.rules.code.exec(src)) {
- src = src.substring(cap[0].length);
- cap = cap[0].replace(/^ {4}/gm, '');
- this.tokens.push({
- type: 'code',
- text: !this.options.pedantic
- ? rtrim(cap, '\n')
- : cap
- });
- continue;
- }
+ base = baseUrls[' ' + base];
+ var relativeBase = base.indexOf(':') === -1;
- // fences (gfm)
- if (cap = this.rules.fences.exec(src)) {
- src = src.substring(cap[0].length);
- this.tokens.push({
- type: 'code',
- lang: cap[2] ? cap[2].trim() : cap[2],
- text: cap[3] || ''
- });
- continue;
- }
+ if (href.substring(0, 2) === '//') {
+ if (relativeBase) {
+ return href;
+ }
- // heading
- if (cap = this.rules.heading.exec(src)) {
- src = src.substring(cap[0].length);
- this.tokens.push({
- type: 'heading',
- depth: cap[1].length,
- text: cap[2]
- });
- continue;
+ return base.replace(protocol, '$1') + href;
+ } else if (href.charAt(0) === '/') {
+ if (relativeBase) {
+ return href;
+ }
+
+ return base.replace(domain, '$1') + href;
+ } else {
+ return base + href;
}
+ }
- // table no leading pipe (gfm)
- if (cap = this.rules.nptable.exec(src)) {
- item = {
- type: 'table',
- header: splitCells(cap[1].replace(/^ *| *\| *$/g, '')),
- align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
- cells: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : []
- };
+ var noopTest = {
+ exec: function noopTest() {}
+ };
- if (item.header.length === item.align.length) {
- src = src.substring(cap[0].length);
+ function merge(obj) {
+ var i = 1,
+ target,
+ key;
- for (i = 0; i < item.align.length; i++) {
- if (/^ *-+: *$/.test(item.align[i])) {
- item.align[i] = 'right';
- } else if (/^ *:-+: *$/.test(item.align[i])) {
- item.align[i] = 'center';
- } else if (/^ *:-+ *$/.test(item.align[i])) {
- item.align[i] = 'left';
- } else {
- item.align[i] = null;
- }
- }
+ for (; i < arguments.length; i++) {
+ target = arguments[i];
- for (i = 0; i < item.cells.length; i++) {
- item.cells[i] = splitCells(item.cells[i], item.header.length);
+ for (key in target) {
+ if (Object.prototype.hasOwnProperty.call(target, key)) {
+ obj[key] = target[key];
}
+ }
+ }
+
+ return obj;
+ }
+
+ function splitCells(tableRow, count) {
+ // ensure that every cell-delimiting pipe has a space
+ // before it to distinguish it from an escaped pipe
+ var row = tableRow.replace(/\|/g, function (match, offset, str) {
+ var escaped = false,
+ curr = offset;
- this.tokens.push(item);
+ while (--curr >= 0 && str[curr] === '\\') {
+ escaped = !escaped;
+ }
- continue;
+ if (escaped) {
+ // odd number of slashes means | is escaped
+ // so we leave it alone
+ return '|';
+ } else {
+ // add space before unescaped |
+ return ' |';
+ }
+ }),
+ cells = row.split(/ \|/);
+ var i = 0;
+
+ if (cells.length > count) {
+ cells.splice(count);
+ } else {
+ while (cells.length < count) {
+ cells.push('');
}
}
- // hr
- if (cap = this.rules.hr.exec(src)) {
- src = src.substring(cap[0].length);
- this.tokens.push({
- type: 'hr'
- });
- continue;
+ for (; i < cells.length; i++) {
+ // leading or trailing whitespace is ignored per the gfm spec
+ cells[i] = cells[i].trim().replace(/\\\|/g, '|');
}
- // blockquote
- if (cap = this.rules.blockquote.exec(src)) {
- src = src.substring(cap[0].length);
+ return cells;
+ } // Remove trailing 'c's. Equivalent to str.replace(/c*$/, '').
+ // /c*$/ is vulnerable to REDOS.
+ // invert: Remove suffix of non-c chars instead. Default falsey.
- this.tokens.push({
- type: 'blockquote_start'
- });
- cap = cap[0].replace(/^ *> ?/gm, '');
+ function rtrim(str, c, invert) {
+ var l = str.length;
- // Pass `top` to keep the current
- // "toplevel" state. This is exactly
- // how markdown.pl works.
- this.token(cap, top);
+ if (l === 0) {
+ return '';
+ } // Length of suffix matching the invert condition.
- this.tokens.push({
- type: 'blockquote_end'
- });
- continue;
- }
+ var suffLen = 0; // Step left until we fail to match the invert condition.
- // list
- if (cap = this.rules.list.exec(src)) {
- src = src.substring(cap[0].length);
- bull = cap[2];
- isordered = bull.length > 1;
-
- listStart = {
- type: 'list_start',
- ordered: isordered,
- start: isordered ? +bull : '',
- loose: false
- };
+ while (suffLen < l) {
+ var currChar = str.charAt(l - suffLen - 1);
- this.tokens.push(listStart);
+ if (currChar === c && !invert) {
+ suffLen++;
+ } else if (currChar !== c && invert) {
+ suffLen++;
+ } else {
+ break;
+ }
+ }
- // Get each top-level item.
- cap = cap[0].match(this.rules.item);
+ return str.substr(0, l - suffLen);
+ }
- listItems = [];
- next = false;
- l = cap.length;
- i = 0;
+ function findClosingBracket(str, b) {
+ if (str.indexOf(b[1]) === -1) {
+ return -1;
+ }
- for (; i < l; i++) {
- item = cap[i];
-
- // Remove the list item's bullet
- // so it is seen as the next token.
- space = item.length;
- item = item.replace(/^ *([*+-]|\d+\.) */, '');
-
- // Outdent whatever the
- // list item contains. Hacky.
- if (~item.indexOf('\n ')) {
- space -= item.length;
- item = !this.options.pedantic
- ? item.replace(new RegExp('^ {1,' + space + '}', 'gm'), '')
- : item.replace(/^ {1,4}/gm, '');
- }
+ var l = str.length;
+ var level = 0,
+ i = 0;
- // Determine whether the next list item belongs here.
- // Backpedal if it does not belong in this list.
- if (i !== l - 1) {
- b = block.bullet.exec(cap[i + 1])[0];
- if (bull.length > 1 ? b.length === 1
- : (b.length > 1 || (this.options.smartLists && b !== bull))) {
- src = cap.slice(i + 1).join('\n') + src;
- i = l - 1;
- }
- }
+ for (; i < l; i++) {
+ if (str[i] === '\\') {
+ i++;
+ } else if (str[i] === b[0]) {
+ level++;
+ } else if (str[i] === b[1]) {
+ level--;
- // Determine whether item is loose or not.
- // Use: /(^|\n)(?! )[^\n]+\n\n(?!\s*$)/
- // for discount behavior.
- loose = next || /\n\n(?!\s*$)/.test(item);
- if (i !== l - 1) {
- next = item.charAt(item.length - 1) === '\n';
- if (!loose) loose = next;
+ if (level < 0) {
+ return i;
}
+ }
+ }
- if (loose) {
- listStart.loose = true;
- }
+ return -1;
+ }
- // Check for task list items
- istask = /^\[[ xX]\] /.test(item);
- ischecked = undefined;
- if (istask) {
- ischecked = item[1] !== ' ';
- item = item.replace(/^\[[ xX]\] +/, '');
- }
+ function checkSanitizeDeprecation(opt) {
+ if (opt && opt.sanitize && !opt.silent) {
+ console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options');
+ }
+ }
- t = {
- type: 'list_item_start',
- task: istask,
- checked: ischecked,
- loose: loose
- };
+ var helpers = {
+ escape: escape,
+ unescape: unescape,
+ edit: edit,
+ cleanUrl: cleanUrl,
+ resolveUrl: resolveUrl,
+ noopTest: noopTest,
+ merge: merge,
+ splitCells: splitCells,
+ rtrim: rtrim,
+ findClosingBracket: findClosingBracket,
+ checkSanitizeDeprecation: checkSanitizeDeprecation
+ };
- listItems.push(t);
- this.tokens.push(t);
+ var noopTest$1 = helpers.noopTest,
+ edit$1 = helpers.edit,
+ merge$1 = helpers.merge;
+ /**
+ * Block-Level Grammar
+ */
+
+ var block = {
+ newline: /^\n+/,
+ code: /^( {4}[^\n]+\n*)+/,
+ fences: /^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,
+ hr: /^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,
+ heading: /^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,
+ blockquote: /^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,
+ list: /^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,
+ html: '^ {0,3}(?:' // optional indentation
+ + '<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)' // (1)
+ + '|comment[^\\n]*(\\n+|$)' // (2)
+ + '|<\\?[\\s\\S]*?\\?>\\n*' // (3)
+ + '|<![A-Z][\\s\\S]*?>\\n*' // (4)
+ + '|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*' // (5)
+ + '|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)' // (6)
+ + '|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)' // (7) open tag
+ + '|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)' // (7) closing tag
+ + ')',
+ def: /^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,
+ nptable: noopTest$1,
+ table: noopTest$1,
+ lheading: /^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,
+ // regex template, placeholders will be replaced according to different paragraph
+ // interruption rules of commonmark and the original markdown spec:
+ _paragraph: /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,
+ text: /^[^\n]+/
+ };
+ block._label = /(?!\s*\])(?:\\[\[\]]|[^\[\]])+/;
+ block._title = /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;
+ block.def = edit$1(block.def).replace('label', block._label).replace('title', block._title).getRegex();
+ block.bullet = /(?:[*+-]|\d{1,9}\.)/;
+ block.item = /^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/;
+ block.item = edit$1(block.item, 'gm').replace(/bull/g, block.bullet).getRegex();
+ block.list = edit$1(block.list).replace(/bull/g, block.bullet).replace('hr', '\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))').replace('def', '\\n+(?=' + block.def.source + ')').getRegex();
+ block._tag = 'address|article|aside|base|basefont|blockquote|body|caption' + '|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption' + '|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe' + '|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option' + '|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr' + '|track|ul';
+ block._comment = /<!--(?!-?>)[\s\S]*?-->/;
+ block.html = edit$1(block.html, 'i').replace('comment', block._comment).replace('tag', block._tag).replace('attribute', / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();
+ block.paragraph = edit$1(block._paragraph).replace('hr', block.hr).replace('heading', ' {0,3}#{1,6} +').replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs
+ .replace('blockquote', ' {0,3}>').replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n').replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt
+ .replace('html', '</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)').replace('tag', block._tag) // pars can be interrupted by type (6) html blocks
+ .getRegex();
+ block.blockquote = edit$1(block.blockquote).replace('paragraph', block.paragraph).getRegex();
+ /**
+ * Normal Block Grammar
+ */
+
+ block.normal = merge$1({}, block);
+ /**
+ * GFM Block Grammar
+ */
+
+ block.gfm = merge$1({}, block.normal, {
+ nptable: /^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,
+ table: /^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/
+ });
+ /**
+ * Pedantic grammar (original John Gruber's loose markdown specification)
+ */
+
+ block.pedantic = merge$1({}, block.normal, {
+ html: edit$1('^ *(?:comment *(?:\\n|\\s*$)' + '|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)' // closed tag
+ + '|<tag(?:"[^"]*"|\'[^\']*\'|\\s[^\'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))').replace('comment', block._comment).replace(/tag/g, '(?!(?:' + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub' + '|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)' + '\\b)\\w+(?!:|[^\\w\\s@]*@)\\b').getRegex(),
+ def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
+ heading: /^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,
+ fences: noopTest$1,
+ // fences not supported
+ paragraph: edit$1(block.normal._paragraph).replace('hr', block.hr).replace('heading', ' *#{1,6} *[^\n]').replace('lheading', block.lheading).replace('blockquote', ' {0,3}>').replace('|fences', '').replace('|list', '').replace('|html', '').getRegex()
+ });
+ /**
+ * Inline-Level Grammar
+ */
+
+ var inline = {
+ escape: /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,
+ autolink: /^<(scheme:[^\s\x00-\x1f<>]*|email)>/,
+ url: noopTest$1,
+ tag: '^comment' + '|^</[a-zA-Z][\\w:-]*\\s*>' // self-closing tag
+ + '|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>' // open tag
+ + '|^<\\?[\\s\\S]*?\\?>' // processing instruction, e.g. <?php ?>
+ + '|^<![a-zA-Z]+\\s[\\s\\S]*?>' // declaration, e.g. <!DOCTYPE html>
+ + '|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>',
+ // CDATA section
+ link: /^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,
+ reflink: /^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,
+ nolink: /^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,
+ strong: /^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,
+ em: /^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,
+ code: /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,
+ br: /^( {2,}|\\)\n(?!\s*$)/,
+ del: noopTest$1,
+ text: /^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/
+ }; // list of punctuation marks from common mark spec
+ // without ` and ] to workaround Rule 17 (inline code blocks/links)
+
+ inline._punctuation = '!"#$%&\'()*+,\\-./:;<=>?@\\[^_{|}~';
+ inline.em = edit$1(inline.em).replace(/punctuation/g, inline._punctuation).getRegex();
+ inline._escapes = /\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;
+ inline._scheme = /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;
+ inline._email = /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;
+ inline.autolink = edit$1(inline.autolink).replace('scheme', inline._scheme).replace('email', inline._email).getRegex();
+ inline._attribute = /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;
+ inline.tag = edit$1(inline.tag).replace('comment', block._comment).replace('attribute', inline._attribute).getRegex();
+ inline._label = /(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;
+ inline._href = /<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/;
+ inline._title = /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;
+ inline.link = edit$1(inline.link).replace('label', inline._label).replace('href', inline._href).replace('title', inline._title).getRegex();
+ inline.reflink = edit$1(inline.reflink).replace('label', inline._label).getRegex();
+ /**
+ * Normal Inline Grammar
+ */
+
+ inline.normal = merge$1({}, inline);
+ /**
+ * Pedantic Inline Grammar
+ */
+
+ inline.pedantic = merge$1({}, inline.normal, {
+ strong: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,
+ em: /^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,
+ link: edit$1(/^!?\[(label)\]\((.*?)\)/).replace('label', inline._label).getRegex(),
+ reflink: edit$1(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace('label', inline._label).getRegex()
+ });
+ /**
+ * GFM Inline Grammar
+ */
+
+ inline.gfm = merge$1({}, inline.normal, {
+ escape: edit$1(inline.escape).replace('])', '~|])').getRegex(),
+ _extended_email: /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,
+ url: /^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,
+ _backpedal: /(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,
+ del: /^~+(?=\S)([\s\S]*?\S)~+/,
+ text: /^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/
+ });
+ inline.gfm.url = edit$1(inline.gfm.url, 'i').replace('email', inline.gfm._extended_email).getRegex();
+ /**
+ * GFM + Line Breaks Inline Grammar
+ */
+
+ inline.breaks = merge$1({}, inline.gfm, {
+ br: edit$1(inline.br).replace('{2,}', '*').getRegex(),
+ text: edit$1(inline.gfm.text).replace('\\b_', '\\b_| {2,}\\n').replace(/\{2,\}/g, '*').getRegex()
+ });
+ var rules = {
+ block: block,
+ inline: inline
+ };
- // Recurse.
- this.token(item, false);
+ var defaults$1 = defaults.defaults;
+ var block$1 = rules.block;
+ var rtrim$1 = helpers.rtrim,
+ splitCells$1 = helpers.splitCells,
+ escape$1 = helpers.escape;
+ /**
+ * Block Lexer
+ */
+
+ var Lexer_1 =
+ /*#__PURE__*/
+ function () {
+ function Lexer(options) {
+ this.tokens = [];
+ this.tokens.links = Object.create(null);
+ this.options = options || defaults$1;
+ this.rules = block$1.normal;
- this.tokens.push({
- type: 'list_item_end'
- });
+ if (this.options.pedantic) {
+ this.rules = block$1.pedantic;
+ } else if (this.options.gfm) {
+ this.rules = block$1.gfm;
}
+ }
+ /**
+ * Expose Block Rules
+ */
- if (listStart.loose) {
- l = listItems.length;
- i = 0;
- for (; i < l; i++) {
- listItems[i].loose = true;
- }
- }
- this.tokens.push({
- type: 'list_end'
- });
+ /**
+ * Static Lex Method
+ */
+ Lexer.lex = function lex(src, options) {
+ var lexer = new Lexer(options);
+ return lexer.lex(src);
+ };
- continue;
- }
+ var _proto = Lexer.prototype;
- // html
- if (cap = this.rules.html.exec(src)) {
- src = src.substring(cap[0].length);
- this.tokens.push({
- type: this.options.sanitize
- ? 'paragraph'
- : 'html',
- pre: !this.options.sanitizer
- && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'),
- text: cap[0]
- });
- continue;
- }
+ /**
+ * Preprocessing
+ */
+ _proto.lex = function lex(src) {
+ src = src.replace(/\r\n|\r/g, '\n').replace(/\t/g, ' ');
+ return this.token(src, true);
+ };
- // def
- if (top && (cap = this.rules.def.exec(src))) {
- src = src.substring(cap[0].length);
- if (cap[3]) cap[3] = cap[3].substring(1, cap[3].length - 1);
- tag = cap[1].toLowerCase().replace(/\s+/g, ' ');
- if (!this.tokens.links[tag]) {
- this.tokens.links[tag] = {
- href: cap[2],
- title: cap[3]
- };
- }
- continue;
- }
+ /**
+ * Lexing
+ */
+ _proto.token = function token(src, top) {
+ src = src.replace(/^ +$/gm, '');
+ var next, loose, cap, bull, b, item, listStart, listItems, t, space, i, tag, l, isordered, istask, ischecked;
+
+ while (src) {
+ // newline
+ if (cap = this.rules.newline.exec(src)) {
+ src = src.substring(cap[0].length);
+
+ if (cap[0].length > 1) {
+ this.tokens.push({
+ type: 'space'
+ });
+ }
+ } // code
- // table (gfm)
- if (cap = this.rules.table.exec(src)) {
- item = {
- type: 'table',
- header: splitCells(cap[1].replace(/^ *| *\| *$/g, '')),
- align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
- cells: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : []
- };
- if (item.header.length === item.align.length) {
- src = src.substring(cap[0].length);
+ if (cap = this.rules.code.exec(src)) {
+ var lastToken = this.tokens[this.tokens.length - 1];
+ src = src.substring(cap[0].length); // An indented code block cannot interrupt a paragraph.
- for (i = 0; i < item.align.length; i++) {
- if (/^ *-+: *$/.test(item.align[i])) {
- item.align[i] = 'right';
- } else if (/^ *:-+: *$/.test(item.align[i])) {
- item.align[i] = 'center';
- } else if (/^ *:-+ *$/.test(item.align[i])) {
- item.align[i] = 'left';
+ if (lastToken && lastToken.type === 'paragraph') {
+ lastToken.text += '\n' + cap[0].trimRight();
} else {
- item.align[i] = null;
+ cap = cap[0].replace(/^ {4}/gm, '');
+ this.tokens.push({
+ type: 'code',
+ codeBlockStyle: 'indented',
+ text: !this.options.pedantic ? rtrim$1(cap, '\n') : cap
+ });
}
+
+ continue;
+ } // fences
+
+
+ if (cap = this.rules.fences.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'code',
+ lang: cap[2] ? cap[2].trim() : cap[2],
+ text: cap[3] || ''
+ });
+ continue;
+ } // heading
+
+
+ if (cap = this.rules.heading.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'heading',
+ depth: cap[1].length,
+ text: cap[2]
+ });
+ continue;
+ } // table no leading pipe (gfm)
+
+
+ if (cap = this.rules.nptable.exec(src)) {
+ item = {
+ type: 'table',
+ header: splitCells$1(cap[1].replace(/^ *| *\| *$/g, '')),
+ align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
+ cells: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : []
+ };
+
+ if (item.header.length === item.align.length) {
+ src = src.substring(cap[0].length);
+
+ for (i = 0; i < item.align.length; i++) {
+ if (/^ *-+: *$/.test(item.align[i])) {
+ item.align[i] = 'right';
+ } else if (/^ *:-+: *$/.test(item.align[i])) {
+ item.align[i] = 'center';
+ } else if (/^ *:-+ *$/.test(item.align[i])) {
+ item.align[i] = 'left';
+ } else {
+ item.align[i] = null;
+ }
+ }
+
+ for (i = 0; i < item.cells.length; i++) {
+ item.cells[i] = splitCells$1(item.cells[i], item.header.length);
+ }
+
+ this.tokens.push(item);
+ continue;
+ }
+ } // hr
+
+
+ if (cap = this.rules.hr.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'hr'
+ });
+ continue;
+ } // blockquote
+
+
+ if (cap = this.rules.blockquote.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'blockquote_start'
+ });
+ cap = cap[0].replace(/^ *> ?/gm, ''); // Pass `top` to keep the current
+ // "toplevel" state. This is exactly
+ // how markdown.pl works.
+
+ this.token(cap, top);
+ this.tokens.push({
+ type: 'blockquote_end'
+ });
+ continue;
+ } // list
+
+
+ if (cap = this.rules.list.exec(src)) {
+ src = src.substring(cap[0].length);
+ bull = cap[2];
+ isordered = bull.length > 1;
+ listStart = {
+ type: 'list_start',
+ ordered: isordered,
+ start: isordered ? +bull : '',
+ loose: false
+ };
+ this.tokens.push(listStart); // Get each top-level item.
+
+ cap = cap[0].match(this.rules.item);
+ listItems = [];
+ next = false;
+ l = cap.length;
+ i = 0;
+
+ for (; i < l; i++) {
+ item = cap[i]; // Remove the list item's bullet
+ // so it is seen as the next token.
+
+ space = item.length;
+ item = item.replace(/^ *([*+-]|\d+\.) */, ''); // Outdent whatever the
+ // list item contains. Hacky.
+
+ if (~item.indexOf('\n ')) {
+ space -= item.length;
+ item = !this.options.pedantic ? item.replace(new RegExp('^ {1,' + space + '}', 'gm'), '') : item.replace(/^ {1,4}/gm, '');
+ } // Determine whether the next list item belongs here.
+ // Backpedal if it does not belong in this list.
+
+
+ if (i !== l - 1) {
+ b = block$1.bullet.exec(cap[i + 1])[0];
+
+ if (bull.length > 1 ? b.length === 1 : b.length > 1 || this.options.smartLists && b !== bull) {
+ src = cap.slice(i + 1).join('\n') + src;
+ i = l - 1;
+ }
+ } // Determine whether item is loose or not.
+ // Use: /(^|\n)(?! )[^\n]+\n\n(?!\s*$)/
+ // for discount behavior.
+
+
+ loose = next || /\n\n(?!\s*$)/.test(item);
+
+ if (i !== l - 1) {
+ next = item.charAt(item.length - 1) === '\n';
+ if (!loose) loose = next;
+ }
+
+ if (loose) {
+ listStart.loose = true;
+ } // Check for task list items
+
+
+ istask = /^\[[ xX]\] /.test(item);
+ ischecked = undefined;
+
+ if (istask) {
+ ischecked = item[1] !== ' ';
+ item = item.replace(/^\[[ xX]\] +/, '');
+ }
+
+ t = {
+ type: 'list_item_start',
+ task: istask,
+ checked: ischecked,
+ loose: loose
+ };
+ listItems.push(t);
+ this.tokens.push(t); // Recurse.
+
+ this.token(item, false);
+ this.tokens.push({
+ type: 'list_item_end'
+ });
+ }
+
+ if (listStart.loose) {
+ l = listItems.length;
+ i = 0;
+
+ for (; i < l; i++) {
+ listItems[i].loose = true;
+ }
+ }
+
+ this.tokens.push({
+ type: 'list_end'
+ });
+ continue;
+ } // html
+
+
+ if (cap = this.rules.html.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: this.options.sanitize ? 'paragraph' : 'html',
+ pre: !this.options.sanitizer && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'),
+ text: this.options.sanitize ? this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape$1(cap[0]) : cap[0]
+ });
+ continue;
+ } // def
+
+
+ if (top && (cap = this.rules.def.exec(src))) {
+ src = src.substring(cap[0].length);
+ if (cap[3]) cap[3] = cap[3].substring(1, cap[3].length - 1);
+ tag = cap[1].toLowerCase().replace(/\s+/g, ' ');
+
+ if (!this.tokens.links[tag]) {
+ this.tokens.links[tag] = {
+ href: cap[2],
+ title: cap[3]
+ };
+ }
+
+ continue;
+ } // table (gfm)
+
+
+ if (cap = this.rules.table.exec(src)) {
+ item = {
+ type: 'table',
+ header: splitCells$1(cap[1].replace(/^ *| *\| *$/g, '')),
+ align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
+ cells: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : []
+ };
+
+ if (item.header.length === item.align.length) {
+ src = src.substring(cap[0].length);
+
+ for (i = 0; i < item.align.length; i++) {
+ if (/^ *-+: *$/.test(item.align[i])) {
+ item.align[i] = 'right';
+ } else if (/^ *:-+: *$/.test(item.align[i])) {
+ item.align[i] = 'center';
+ } else if (/^ *:-+ *$/.test(item.align[i])) {
+ item.align[i] = 'left';
+ } else {
+ item.align[i] = null;
+ }
+ }
+
+ for (i = 0; i < item.cells.length; i++) {
+ item.cells[i] = splitCells$1(item.cells[i].replace(/^ *\| *| *\| *$/g, ''), item.header.length);
+ }
+
+ this.tokens.push(item);
+ continue;
+ }
+ } // lheading
+
+
+ if (cap = this.rules.lheading.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'heading',
+ depth: cap[2].charAt(0) === '=' ? 1 : 2,
+ text: cap[1]
+ });
+ continue;
+ } // top-level paragraph
+
+
+ if (top && (cap = this.rules.paragraph.exec(src))) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'paragraph',
+ text: cap[1].charAt(cap[1].length - 1) === '\n' ? cap[1].slice(0, -1) : cap[1]
+ });
+ continue;
+ } // text
+
+
+ if (cap = this.rules.text.exec(src)) {
+ // Top-level should never reach here.
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'text',
+ text: cap[0]
+ });
+ continue;
}
- for (i = 0; i < item.cells.length; i++) {
- item.cells[i] = splitCells(
- item.cells[i].replace(/^ *\| *| *\| *$/g, ''),
- item.header.length);
+ if (src) {
+ throw new Error('Infinite loop on byte: ' + src.charCodeAt(0));
}
+ }
- this.tokens.push(item);
+ return this.tokens;
+ };
- continue;
+ _createClass(Lexer, null, [{
+ key: "rules",
+ get: function get() {
+ return block$1;
}
+ }]);
+
+ return Lexer;
+ }();
+
+ var defaults$2 = defaults.defaults;
+ var cleanUrl$1 = helpers.cleanUrl,
+ escape$2 = helpers.escape;
+ /**
+ * Renderer
+ */
+
+ var Renderer_1 =
+ /*#__PURE__*/
+ function () {
+ function Renderer(options) {
+ this.options = options || defaults$2;
}
- // lheading
- if (cap = this.rules.lheading.exec(src)) {
- src = src.substring(cap[0].length);
- this.tokens.push({
- type: 'heading',
- depth: cap[2] === '=' ? 1 : 2,
- text: cap[1]
- });
- continue;
- }
+ var _proto = Renderer.prototype;
- // top-level paragraph
- if (top && (cap = this.rules.paragraph.exec(src))) {
- src = src.substring(cap[0].length);
- this.tokens.push({
- type: 'paragraph',
- text: cap[1].charAt(cap[1].length - 1) === '\n'
- ? cap[1].slice(0, -1)
- : cap[1]
- });
- continue;
- }
+ _proto.code = function code(_code, infostring, escaped) {
+ var lang = (infostring || '').match(/\S*/)[0];
- // text
- if (cap = this.rules.text.exec(src)) {
- // Top-level should never reach here.
- src = src.substring(cap[0].length);
- this.tokens.push({
- type: 'text',
- text: cap[0]
- });
- continue;
- }
+ if (this.options.highlight) {
+ var out = this.options.highlight(_code, lang);
- if (src) {
- throw new Error('Infinite loop on byte: ' + src.charCodeAt(0));
- }
- }
+ if (out != null && out !== _code) {
+ escaped = true;
+ _code = out;
+ }
+ }
- return this.tokens;
-};
+ if (!lang) {
+ return '<pre><code>' + (escaped ? _code : escape$2(_code, true)) + '</code></pre>';
+ }
-/**
- * Inline-Level Grammar
- */
+ return '<pre><code class="' + this.options.langPrefix + escape$2(lang, true) + '">' + (escaped ? _code : escape$2(_code, true)) + '</code></pre>\n';
+ };
-var inline = {
- escape: /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,
- autolink: /^<(scheme:[^\s\x00-\x1f<>]*|email)>/,
- url: noop,
- tag: '^comment'
- + '|^</[a-zA-Z][\\w:-]*\\s*>' // self-closing tag
- + '|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>' // open tag
- + '|^<\\?[\\s\\S]*?\\?>' // processing instruction, e.g. <?php ?>
- + '|^<![a-zA-Z]+\\s[\\s\\S]*?>' // declaration, e.g. <!DOCTYPE html>
- + '|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>', // CDATA section
- link: /^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,
- reflink: /^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,
- nolink: /^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,
- strong: /^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,
- em: /^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,
- code: /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,
- br: /^( {2,}|\\)\n(?!\s*$)/,
- del: noop,
- text: /^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/
-};
-
-// list of punctuation marks from common mark spec
-// without ` and ] to workaround Rule 17 (inline code blocks/links)
-inline._punctuation = '!"#$%&\'()*+,\\-./:;<=>?@\\[^_{|}~';
-inline.em = edit(inline.em).replace(/punctuation/g, inline._punctuation).getRegex();
-
-inline._escapes = /\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;
-
-inline._scheme = /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;
-inline._email = /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;
-inline.autolink = edit(inline.autolink)
- .replace('scheme', inline._scheme)
- .replace('email', inline._email)
- .getRegex();
+ _proto.blockquote = function blockquote(quote) {
+ return '<blockquote>\n' + quote + '</blockquote>\n';
+ };
-inline._attribute = /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;
+ _proto.html = function html(_html) {
+ return _html;
+ };
-inline.tag = edit(inline.tag)
- .replace('comment', block._comment)
- .replace('attribute', inline._attribute)
- .getRegex();
+ _proto.heading = function heading(text, level, raw, slugger) {
+ if (this.options.headerIds) {
+ return '<h' + level + ' id="' + this.options.headerPrefix + slugger.slug(raw) + '">' + text + '</h' + level + '>\n';
+ } // ignore IDs
-inline._label = /(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|`(?!`)|[^\[\]\\`])*?/;
-inline._href = /\s*(<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*)/;
-inline._title = /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;
-inline.link = edit(inline.link)
- .replace('label', inline._label)
- .replace('href', inline._href)
- .replace('title', inline._title)
- .getRegex();
+ return '<h' + level + '>' + text + '</h' + level + '>\n';
+ };
-inline.reflink = edit(inline.reflink)
- .replace('label', inline._label)
- .getRegex();
+ _proto.hr = function hr() {
+ return this.options.xhtml ? '<hr/>\n' : '<hr>\n';
+ };
-/**
- * Normal Inline Grammar
- */
+ _proto.list = function list(body, ordered, start) {
+ var type = ordered ? 'ol' : 'ul',
+ startatt = ordered && start !== 1 ? ' start="' + start + '"' : '';
+ return '<' + type + startatt + '>\n' + body + '</' + type + '>\n';
+ };
-inline.normal = merge({}, inline);
+ _proto.listitem = function listitem(text) {
+ return '<li>' + text + '</li>\n';
+ };
-/**
- * Pedantic Inline Grammar
- */
+ _proto.checkbox = function checkbox(checked) {
+ return '<input ' + (checked ? 'checked="" ' : '') + 'disabled="" type="checkbox"' + (this.options.xhtml ? ' /' : '') + '> ';
+ };
-inline.pedantic = merge({}, inline.normal, {
- strong: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,
- em: /^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,
- link: edit(/^!?\[(label)\]\((.*?)\)/)
- .replace('label', inline._label)
- .getRegex(),
- reflink: edit(/^!?\[(label)\]\s*\[([^\]]*)\]/)
- .replace('label', inline._label)
- .getRegex()
-});
+ _proto.paragraph = function paragraph(text) {
+ return '<p>' + text + '</p>\n';
+ };
-/**
- * GFM Inline Grammar
- */
+ _proto.table = function table(header, body) {
+ if (body) body = '<tbody>' + body + '</tbody>';
+ return '<table>\n' + '<thead>\n' + header + '</thead>\n' + body + '</table>\n';
+ };
-inline.gfm = merge({}, inline.normal, {
- escape: edit(inline.escape).replace('])', '~|])').getRegex(),
- _extended_email: /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,
- url: /^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,
- _backpedal: /(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,
- del: /^~+(?=\S)([\s\S]*?\S)~+/,
- text: /^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/
-});
-
-inline.gfm.url = edit(inline.gfm.url, 'i')
- .replace('email', inline.gfm._extended_email)
- .getRegex();
-/**
- * GFM + Line Breaks Inline Grammar
- */
+ _proto.tablerow = function tablerow(content) {
+ return '<tr>\n' + content + '</tr>\n';
+ };
+
+ _proto.tablecell = function tablecell(content, flags) {
+ var type = flags.header ? 'th' : 'td';
+ var tag = flags.align ? '<' + type + ' align="' + flags.align + '">' : '<' + type + '>';
+ return tag + content + '</' + type + '>\n';
+ };
-inline.breaks = merge({}, inline.gfm, {
- br: edit(inline.br).replace('{2,}', '*').getRegex(),
- text: edit(inline.gfm.text).replace(/\{2,\}/g, '*').getRegex()
-});
+ // span level renderer
+ _proto.strong = function strong(text) {
+ return '<strong>' + text + '</strong>';
+ };
-/**
- * Inline Lexer & Compiler
- */
+ _proto.em = function em(text) {
+ return '<em>' + text + '</em>';
+ };
-function InlineLexer(links, options) {
- this.options = options || marked.defaults;
- this.links = links;
- this.rules = inline.normal;
- this.renderer = this.options.renderer || new Renderer();
- this.renderer.options = this.options;
+ _proto.codespan = function codespan(text) {
+ return '<code>' + text + '</code>';
+ };
- if (!this.links) {
- throw new Error('Tokens array requires a `links` property.');
- }
+ _proto.br = function br() {
+ return this.options.xhtml ? '<br/>' : '<br>';
+ };
- if (this.options.pedantic) {
- this.rules = inline.pedantic;
- } else if (this.options.gfm) {
- if (this.options.breaks) {
- this.rules = inline.breaks;
- } else {
- this.rules = inline.gfm;
- }
- }
-}
+ _proto.del = function del(text) {
+ return '<del>' + text + '</del>';
+ };
-/**
- * Expose Inline Rules
- */
+ _proto.link = function link(href, title, text) {
+ href = cleanUrl$1(this.options.sanitize, this.options.baseUrl, href);
-InlineLexer.rules = inline;
+ if (href === null) {
+ return text;
+ }
-/**
- * Static Lexing/Compiling Method
- */
+ var out = '<a href="' + escape$2(href) + '"';
-InlineLexer.output = function(src, links, options) {
- var inline = new InlineLexer(links, options);
- return inline.output(src);
-};
+ if (title) {
+ out += ' title="' + title + '"';
+ }
-/**
- * Lexing/Compiling
- */
+ out += '>' + text + '</a>';
+ return out;
+ };
-InlineLexer.prototype.output = function(src) {
- var out = '',
- link,
- text,
- href,
- title,
- cap,
- prevCapZero;
-
- while (src) {
- // escape
- if (cap = this.rules.escape.exec(src)) {
- src = src.substring(cap[0].length);
- out += escape(cap[1]);
- continue;
- }
+ _proto.image = function image(href, title, text) {
+ href = cleanUrl$1(this.options.sanitize, this.options.baseUrl, href);
- // tag
- if (cap = this.rules.tag.exec(src)) {
- if (!this.inLink && /^<a /i.test(cap[0])) {
- this.inLink = true;
- } else if (this.inLink && /^<\/a>/i.test(cap[0])) {
- this.inLink = false;
- }
- if (!this.inRawBlock && /^<(pre|code|kbd|script)(\s|>)/i.test(cap[0])) {
- this.inRawBlock = true;
- } else if (this.inRawBlock && /^<\/(pre|code|kbd|script)(\s|>)/i.test(cap[0])) {
- this.inRawBlock = false;
+ if (href === null) {
+ return text;
}
- src = src.substring(cap[0].length);
- out += this.options.sanitize
- ? this.options.sanitizer
- ? this.options.sanitizer(cap[0])
- : escape(cap[0])
- : cap[0];
- continue;
- }
+ var out = '<img src="' + href + '" alt="' + text + '"';
- // link
- if (cap = this.rules.link.exec(src)) {
- var lastParenIndex = findClosingBracket(cap[2], '()');
- if (lastParenIndex > -1) {
- var linkLen = cap[0].length - (cap[2].length - lastParenIndex) - (cap[3] || '').length;
- cap[2] = cap[2].substring(0, lastParenIndex);
- cap[0] = cap[0].substring(0, linkLen).trim();
- cap[3] = '';
+ if (title) {
+ out += ' title="' + title + '"';
}
- src = src.substring(cap[0].length);
- this.inLink = true;
- href = cap[2];
- if (this.options.pedantic) {
- link = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(href);
- if (link) {
- href = link[1];
- title = link[3];
- } else {
- title = '';
- }
- } else {
- title = cap[3] ? cap[3].slice(1, -1) : '';
- }
- href = href.trim().replace(/^<([\s\S]*)>$/, '$1');
- out += this.outputLink(cap, {
- href: InlineLexer.escapes(href),
- title: InlineLexer.escapes(title)
- });
- this.inLink = false;
- continue;
- }
+ out += this.options.xhtml ? '/>' : '>';
+ return out;
+ };
- // reflink, nolink
- if ((cap = this.rules.reflink.exec(src))
- || (cap = this.rules.nolink.exec(src))) {
- src = src.substring(cap[0].length);
- link = (cap[2] || cap[1]).replace(/\s+/g, ' ');
- link = this.links[link.toLowerCase()];
- if (!link || !link.href) {
- out += cap[0].charAt(0);
- src = cap[0].substring(1) + src;
- continue;
- }
- this.inLink = true;
- out += this.outputLink(cap, link);
- this.inLink = false;
- continue;
- }
+ _proto.text = function text(_text) {
+ return _text;
+ };
- // strong
- if (cap = this.rules.strong.exec(src)) {
- src = src.substring(cap[0].length);
- out += this.renderer.strong(this.output(cap[4] || cap[3] || cap[2] || cap[1]));
- continue;
+ return Renderer;
+ }();
+
+ /**
+ * Slugger generates header id
+ */
+ var Slugger_1 =
+ /*#__PURE__*/
+ function () {
+ function Slugger() {
+ this.seen = {};
}
+ /**
+ * Convert string to unique id
+ */
- // em
- if (cap = this.rules.em.exec(src)) {
- src = src.substring(cap[0].length);
- out += this.renderer.em(this.output(cap[6] || cap[5] || cap[4] || cap[3] || cap[2] || cap[1]));
- continue;
- }
- // code
- if (cap = this.rules.code.exec(src)) {
- src = src.substring(cap[0].length);
- out += this.renderer.codespan(escape(cap[2].trim(), true));
- continue;
- }
+ var _proto = Slugger.prototype;
- // br
- if (cap = this.rules.br.exec(src)) {
- src = src.substring(cap[0].length);
- out += this.renderer.br();
- continue;
- }
+ _proto.slug = function slug(value) {
+ var slug = value.toLowerCase().trim().replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g, '').replace(/\s/g, '-');
- // del (gfm)
- if (cap = this.rules.del.exec(src)) {
- src = src.substring(cap[0].length);
- out += this.renderer.del(this.output(cap[1]));
- continue;
- }
+ if (this.seen.hasOwnProperty(slug)) {
+ var originalSlug = slug;
- // autolink
- if (cap = this.rules.autolink.exec(src)) {
- src = src.substring(cap[0].length);
- if (cap[2] === '@') {
- text = escape(this.mangle(cap[1]));
- href = 'mailto:' + text;
- } else {
- text = escape(cap[1]);
- href = text;
+ do {
+ this.seen[originalSlug]++;
+ slug = originalSlug + '-' + this.seen[originalSlug];
+ } while (this.seen.hasOwnProperty(slug));
}
- out += this.renderer.link(href, null, text);
- continue;
- }
- // url (gfm)
- if (!this.inLink && (cap = this.rules.url.exec(src))) {
- if (cap[2] === '@') {
- text = escape(cap[0]);
- href = 'mailto:' + text;
- } else {
- // do extended autolink path validation
- do {
- prevCapZero = cap[0];
- cap[0] = this.rules._backpedal.exec(cap[0])[0];
- } while (prevCapZero !== cap[0]);
- text = escape(cap[0]);
- if (cap[1] === 'www.') {
- href = 'http://' + text;
+ this.seen[slug] = 0;
+ return slug;
+ };
+
+ return Slugger;
+ }();
+
+ var defaults$3 = defaults.defaults;
+ var inline$1 = rules.inline;
+ var findClosingBracket$1 = helpers.findClosingBracket,
+ escape$3 = helpers.escape;
+ /**
+ * Inline Lexer & Compiler
+ */
+
+ var InlineLexer_1 =
+ /*#__PURE__*/
+ function () {
+ function InlineLexer(links, options) {
+ this.options = options || defaults$3;
+ this.links = links;
+ this.rules = inline$1.normal;
+ this.options.renderer = this.options.renderer || new Renderer_1();
+ this.renderer = this.options.renderer;
+ this.renderer.options = this.options;
+
+ if (!this.links) {
+ throw new Error('Tokens array requires a `links` property.');
+ }
+
+ if (this.options.pedantic) {
+ this.rules = inline$1.pedantic;
+ } else if (this.options.gfm) {
+ if (this.options.breaks) {
+ this.rules = inline$1.breaks;
} else {
- href = text;
+ this.rules = inline$1.gfm;
}
}
- src = src.substring(cap[0].length);
- out += this.renderer.link(href, null, text);
- continue;
}
+ /**
+ * Expose Inline Rules
+ */
- // text
- if (cap = this.rules.text.exec(src)) {
- src = src.substring(cap[0].length);
- if (this.inRawBlock) {
- out += this.renderer.text(cap[0]);
- } else {
- out += this.renderer.text(escape(this.smartypants(cap[0])));
- }
- continue;
- }
- if (src) {
- throw new Error('Infinite loop on byte: ' + src.charCodeAt(0));
+ /**
+ * Static Lexing/Compiling Method
+ */
+ InlineLexer.output = function output(src, links, options) {
+ var inline = new InlineLexer(links, options);
+ return inline.output(src);
}
- }
-
- return out;
-};
-
-InlineLexer.escapes = function(text) {
- return text ? text.replace(InlineLexer.rules._escapes, '$1') : text;
-};
-
-/**
- * Compile Link
- */
-
-InlineLexer.prototype.outputLink = function(cap, link) {
- var href = link.href,
- title = link.title ? escape(link.title) : null;
+ /**
+ * Lexing/Compiling
+ */
+ ;
+
+ var _proto = InlineLexer.prototype;
+
+ _proto.output = function output(src) {
+ var out = '',
+ link,
+ text,
+ href,
+ title,
+ cap,
+ prevCapZero;
+
+ while (src) {
+ // escape
+ if (cap = this.rules.escape.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += escape$3(cap[1]);
+ continue;
+ } // tag
+
+
+ if (cap = this.rules.tag.exec(src)) {
+ if (!this.inLink && /^<a /i.test(cap[0])) {
+ this.inLink = true;
+ } else if (this.inLink && /^<\/a>/i.test(cap[0])) {
+ this.inLink = false;
+ }
- return cap[0].charAt(0) !== '!'
- ? this.renderer.link(href, title, this.output(cap[1]))
- : this.renderer.image(href, title, escape(cap[1]));
-};
+ if (!this.inRawBlock && /^<(pre|code|kbd|script)(\s|>)/i.test(cap[0])) {
+ this.inRawBlock = true;
+ } else if (this.inRawBlock && /^<\/(pre|code|kbd|script)(\s|>)/i.test(cap[0])) {
+ this.inRawBlock = false;
+ }
-/**
- * Smartypants Transformations
- */
+ src = src.substring(cap[0].length);
+ out += this.renderer.html(this.options.sanitize ? this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape$3(cap[0]) : cap[0]);
+ continue;
+ } // link
-InlineLexer.prototype.smartypants = function(text) {
- if (!this.options.smartypants) return text;
- return text
- // em-dashes
- .replace(/---/g, '\u2014')
- // en-dashes
- .replace(/--/g, '\u2013')
- // opening singles
- .replace(/(^|[-\u2014/(\[{"\s])'/g, '$1\u2018')
- // closing singles & apostrophes
- .replace(/'/g, '\u2019')
- // opening doubles
- .replace(/(^|[-\u2014/(\[{\u2018\s])"/g, '$1\u201c')
- // closing doubles
- .replace(/"/g, '\u201d')
- // ellipses
- .replace(/\.{3}/g, '\u2026');
-};
-/**
- * Mangle Links
- */
+ if (cap = this.rules.link.exec(src)) {
+ var lastParenIndex = findClosingBracket$1(cap[2], '()');
-InlineLexer.prototype.mangle = function(text) {
- if (!this.options.mangle) return text;
- var out = '',
- l = text.length,
- i = 0,
- ch;
-
- for (; i < l; i++) {
- ch = text.charCodeAt(i);
- if (Math.random() > 0.5) {
- ch = 'x' + ch.toString(16);
- }
- out += '&#' + ch + ';';
- }
+ if (lastParenIndex > -1) {
+ var start = cap[0].indexOf('!') === 0 ? 5 : 4;
+ var linkLen = start + cap[1].length + lastParenIndex;
+ cap[2] = cap[2].substring(0, lastParenIndex);
+ cap[0] = cap[0].substring(0, linkLen).trim();
+ cap[3] = '';
+ }
- return out;
-};
+ src = src.substring(cap[0].length);
+ this.inLink = true;
+ href = cap[2];
-/**
- * Renderer
- */
+ if (this.options.pedantic) {
+ link = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(href);
-function Renderer(options) {
- this.options = options || marked.defaults;
-}
-
-Renderer.prototype.code = function(code, infostring, escaped) {
- var lang = (infostring || '').match(/\S*/)[0];
- if (this.options.highlight) {
- var out = this.options.highlight(code, lang);
- if (out != null && out !== code) {
- escaped = true;
- code = out;
- }
- }
-
- if (!lang) {
- return '<pre><code>'
- + (escaped ? code : escape(code, true))
- + '</code></pre>';
- }
+ if (link) {
+ href = link[1];
+ title = link[3];
+ } else {
+ title = '';
+ }
+ } else {
+ title = cap[3] ? cap[3].slice(1, -1) : '';
+ }
- return '<pre><code class="'
- + this.options.langPrefix
- + escape(lang, true)
- + '">'
- + (escaped ? code : escape(code, true))
- + '</code></pre>\n';
-};
-
-Renderer.prototype.blockquote = function(quote) {
- return '<blockquote>\n' + quote + '</blockquote>\n';
-};
-
-Renderer.prototype.html = function(html) {
- return html;
-};
-
-Renderer.prototype.heading = function(text, level, raw, slugger) {
- if (this.options.headerIds) {
- return '<h'
- + level
- + ' id="'
- + this.options.headerPrefix
- + slugger.slug(raw)
- + '">'
- + text
- + '</h'
- + level
- + '>\n';
- }
- // ignore IDs
- return '<h' + level + '>' + text + '</h' + level + '>\n';
-};
-
-Renderer.prototype.hr = function() {
- return this.options.xhtml ? '<hr/>\n' : '<hr>\n';
-};
-
-Renderer.prototype.list = function(body, ordered, start) {
- var type = ordered ? 'ol' : 'ul',
- startatt = (ordered && start !== 1) ? (' start="' + start + '"') : '';
- return '<' + type + startatt + '>\n' + body + '</' + type + '>\n';
-};
-
-Renderer.prototype.listitem = function(text) {
- return '<li>' + text + '</li>\n';
-};
-
-Renderer.prototype.checkbox = function(checked) {
- return '<input '
- + (checked ? 'checked="" ' : '')
- + 'disabled="" type="checkbox"'
- + (this.options.xhtml ? ' /' : '')
- + '> ';
-};
-
-Renderer.prototype.paragraph = function(text) {
- return '<p>' + text + '</p>\n';
-};
-
-Renderer.prototype.table = function(header, body) {
- if (body) body = '<tbody>' + body + '</tbody>';
-
- return '<table>\n'
- + '<thead>\n'
- + header
- + '</thead>\n'
- + body
- + '</table>\n';
-};
-
-Renderer.prototype.tablerow = function(content) {
- return '<tr>\n' + content + '</tr>\n';
-};
-
-Renderer.prototype.tablecell = function(content, flags) {
- var type = flags.header ? 'th' : 'td';
- var tag = flags.align
- ? '<' + type + ' align="' + flags.align + '">'
- : '<' + type + '>';
- return tag + content + '</' + type + '>\n';
-};
-
-// span level renderer
-Renderer.prototype.strong = function(text) {
- return '<strong>' + text + '</strong>';
-};
-
-Renderer.prototype.em = function(text) {
- return '<em>' + text + '</em>';
-};
-
-Renderer.prototype.codespan = function(text) {
- return '<code>' + text + '</code>';
-};
-
-Renderer.prototype.br = function() {
- return this.options.xhtml ? '<br/>' : '<br>';
-};
-
-Renderer.prototype.del = function(text) {
- return '<del>' + text + '</del>';
-};
-
-Renderer.prototype.link = function(href, title, text) {
- href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);
- if (href === null) {
- return text;
- }
- var out = '<a href="' + escape(href) + '"';
- if (title) {
- out += ' title="' + title + '"';
- }
- out += '>' + text + '</a>';
- return out;
-};
-
-Renderer.prototype.image = function(href, title, text) {
- href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);
- if (href === null) {
- return text;
- }
+ href = href.trim().replace(/^<([\s\S]*)>$/, '$1');
+ out += this.outputLink(cap, {
+ href: InlineLexer.escapes(href),
+ title: InlineLexer.escapes(title)
+ });
+ this.inLink = false;
+ continue;
+ } // reflink, nolink
+
+
+ if ((cap = this.rules.reflink.exec(src)) || (cap = this.rules.nolink.exec(src))) {
+ src = src.substring(cap[0].length);
+ link = (cap[2] || cap[1]).replace(/\s+/g, ' ');
+ link = this.links[link.toLowerCase()];
+
+ if (!link || !link.href) {
+ out += cap[0].charAt(0);
+ src = cap[0].substring(1) + src;
+ continue;
+ }
- var out = '<img src="' + href + '" alt="' + text + '"';
- if (title) {
- out += ' title="' + title + '"';
- }
- out += this.options.xhtml ? '/>' : '>';
- return out;
-};
+ this.inLink = true;
+ out += this.outputLink(cap, link);
+ this.inLink = false;
+ continue;
+ } // strong
-Renderer.prototype.text = function(text) {
- return text;
-};
-/**
- * TextRenderer
- * returns only the textual part of the token
- */
+ if (cap = this.rules.strong.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.strong(this.output(cap[4] || cap[3] || cap[2] || cap[1]));
+ continue;
+ } // em
-function TextRenderer() {}
-// no need for block level renderers
+ if (cap = this.rules.em.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.em(this.output(cap[6] || cap[5] || cap[4] || cap[3] || cap[2] || cap[1]));
+ continue;
+ } // code
-TextRenderer.prototype.strong =
-TextRenderer.prototype.em =
-TextRenderer.prototype.codespan =
-TextRenderer.prototype.del =
-TextRenderer.prototype.text = function (text) {
- return text;
-};
-TextRenderer.prototype.link =
-TextRenderer.prototype.image = function(href, title, text) {
- return '' + text;
-};
+ if (cap = this.rules.code.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.codespan(escape$3(cap[2].trim(), true));
+ continue;
+ } // br
-TextRenderer.prototype.br = function() {
- return '';
-};
-/**
- * Parsing & Compiling
- */
+ if (cap = this.rules.br.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.br();
+ continue;
+ } // del (gfm)
-function Parser(options) {
- this.tokens = [];
- this.token = null;
- this.options = options || marked.defaults;
- this.options.renderer = this.options.renderer || new Renderer();
- this.renderer = this.options.renderer;
- this.renderer.options = this.options;
- this.slugger = new Slugger();
-}
-/**
- * Static Parse Method
- */
+ if (cap = this.rules.del.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.del(this.output(cap[1]));
+ continue;
+ } // autolink
-Parser.parse = function(src, options) {
- var parser = new Parser(options);
- return parser.parse(src);
-};
-/**
- * Parse Loop
- */
+ if (cap = this.rules.autolink.exec(src)) {
+ src = src.substring(cap[0].length);
-Parser.prototype.parse = function(src) {
- this.inline = new InlineLexer(src.links, this.options);
- // use an InlineLexer with a TextRenderer to extract pure text
- this.inlineText = new InlineLexer(
- src.links,
- merge({}, this.options, {renderer: new TextRenderer()})
- );
- this.tokens = src.reverse();
-
- var out = '';
- while (this.next()) {
- out += this.tok();
- }
+ if (cap[2] === '@') {
+ text = escape$3(this.mangle(cap[1]));
+ href = 'mailto:' + text;
+ } else {
+ text = escape$3(cap[1]);
+ href = text;
+ }
- return out;
-};
+ out += this.renderer.link(href, null, text);
+ continue;
+ } // url (gfm)
-/**
- * Next Token
- */
-Parser.prototype.next = function() {
- return this.token = this.tokens.pop();
-};
+ if (!this.inLink && (cap = this.rules.url.exec(src))) {
+ if (cap[2] === '@') {
+ text = escape$3(cap[0]);
+ href = 'mailto:' + text;
+ } else {
+ // do extended autolink path validation
+ do {
+ prevCapZero = cap[0];
+ cap[0] = this.rules._backpedal.exec(cap[0])[0];
+ } while (prevCapZero !== cap[0]);
+
+ text = escape$3(cap[0]);
+
+ if (cap[1] === 'www.') {
+ href = 'http://' + text;
+ } else {
+ href = text;
+ }
+ }
-/**
- * Preview Next Token
- */
+ src = src.substring(cap[0].length);
+ out += this.renderer.link(href, null, text);
+ continue;
+ } // text
-Parser.prototype.peek = function() {
- return this.tokens[this.tokens.length - 1] || 0;
-};
-/**
- * Parse Text Tokens
- */
+ if (cap = this.rules.text.exec(src)) {
+ src = src.substring(cap[0].length);
-Parser.prototype.parseText = function() {
- var body = this.token.text;
+ if (this.inRawBlock) {
+ out += this.renderer.text(this.options.sanitize ? this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape$3(cap[0]) : cap[0]);
+ } else {
+ out += this.renderer.text(escape$3(this.smartypants(cap[0])));
+ }
- while (this.peek().type === 'text') {
- body += '\n' + this.next().text;
- }
+ continue;
+ }
- return this.inline.output(body);
-};
+ if (src) {
+ throw new Error('Infinite loop on byte: ' + src.charCodeAt(0));
+ }
+ }
-/**
- * Parse Current Token
- */
+ return out;
+ };
-Parser.prototype.tok = function() {
- switch (this.token.type) {
- case 'space': {
- return '';
- }
- case 'hr': {
- return this.renderer.hr();
+ InlineLexer.escapes = function escapes(text) {
+ return text ? text.replace(InlineLexer.rules._escapes, '$1') : text;
}
- case 'heading': {
- return this.renderer.heading(
- this.inline.output(this.token.text),
- this.token.depth,
- unescape(this.inlineText.output(this.token.text)),
- this.slugger);
+ /**
+ * Compile Link
+ */
+ ;
+
+ _proto.outputLink = function outputLink(cap, link) {
+ var href = link.href,
+ title = link.title ? escape$3(link.title) : null;
+ return cap[0].charAt(0) !== '!' ? this.renderer.link(href, title, this.output(cap[1])) : this.renderer.image(href, title, escape$3(cap[1]));
}
- case 'code': {
- return this.renderer.code(this.token.text,
- this.token.lang,
- this.token.escaped);
+ /**
+ * Smartypants Transformations
+ */
+ ;
+
+ _proto.smartypants = function smartypants(text) {
+ if (!this.options.smartypants) return text;
+ return text // em-dashes
+ .replace(/---/g, "\u2014") // en-dashes
+ .replace(/--/g, "\u2013") // opening singles
+ .replace(/(^|[-\u2014/(\[{"\s])'/g, "$1\u2018") // closing singles & apostrophes
+ .replace(/'/g, "\u2019") // opening doubles
+ .replace(/(^|[-\u2014/(\[{\u2018\s])"/g, "$1\u201C") // closing doubles
+ .replace(/"/g, "\u201D") // ellipses
+ .replace(/\.{3}/g, "\u2026");
}
- case 'table': {
- var header = '',
- body = '',
- i,
- row,
- cell,
- j;
-
- // header
- cell = '';
- for (i = 0; i < this.token.header.length; i++) {
- cell += this.renderer.tablecell(
- this.inline.output(this.token.header[i]),
- { header: true, align: this.token.align[i] }
- );
- }
- header += this.renderer.tablerow(cell);
+ /**
+ * Mangle Links
+ */
+ ;
+
+ _proto.mangle = function mangle(text) {
+ if (!this.options.mangle) return text;
+ var l = text.length;
+ var out = '',
+ i = 0,
+ ch;
- for (i = 0; i < this.token.cells.length; i++) {
- row = this.token.cells[i];
+ for (; i < l; i++) {
+ ch = text.charCodeAt(i);
- cell = '';
- for (j = 0; j < row.length; j++) {
- cell += this.renderer.tablecell(
- this.inline.output(row[j]),
- { header: false, align: this.token.align[j] }
- );
+ if (Math.random() > 0.5) {
+ ch = 'x' + ch.toString(16);
}
- body += this.renderer.tablerow(cell);
+ out += '&#' + ch + ';';
}
- return this.renderer.table(header, body);
- }
- case 'blockquote_start': {
- body = '';
- while (this.next().type !== 'blockquote_end') {
- body += this.tok();
+ return out;
+ };
+
+ _createClass(InlineLexer, null, [{
+ key: "rules",
+ get: function get() {
+ return inline$1;
}
+ }]);
- return this.renderer.blockquote(body);
- }
- case 'list_start': {
- body = '';
- var ordered = this.token.ordered,
- start = this.token.start;
+ return InlineLexer;
+ }();
- while (this.next().type !== 'list_end') {
- body += this.tok();
- }
+ /**
+ * TextRenderer
+ * returns only the textual part of the token
+ */
+ var TextRenderer_1 =
+ /*#__PURE__*/
+ function () {
+ function TextRenderer() {}
- return this.renderer.list(body, ordered, start);
- }
- case 'list_item_start': {
- body = '';
- var loose = this.token.loose;
- var checked = this.token.checked;
- var task = this.token.task;
-
- if (this.token.task) {
- body += this.renderer.checkbox(checked);
- }
+ var _proto = TextRenderer.prototype;
- while (this.next().type !== 'list_item_end') {
- body += !loose && this.token.type === 'text'
- ? this.parseText()
- : this.tok();
- }
- return this.renderer.listitem(body, task, checked);
- }
- case 'html': {
- // TODO parse inline content if parameter markdown=1
- return this.renderer.html(this.token.text);
- }
- case 'paragraph': {
- return this.renderer.paragraph(this.inline.output(this.token.text));
- }
- case 'text': {
- return this.renderer.paragraph(this.parseText());
- }
- default: {
- var errMsg = 'Token with "' + this.token.type + '" type was not found.';
- if (this.options.silent) {
- console.log(errMsg);
- } else {
- throw new Error(errMsg);
- }
- }
- }
-};
+ // no need for block level renderers
+ _proto.strong = function strong(text) {
+ return text;
+ };
-/**
- * Slugger generates header id
- */
+ _proto.em = function em(text) {
+ return text;
+ };
-function Slugger () {
- this.seen = {};
-}
+ _proto.codespan = function codespan(text) {
+ return text;
+ };
-/**
- * Convert string to unique id
- */
+ _proto.del = function del(text) {
+ return text;
+ };
-Slugger.prototype.slug = function (value) {
- var slug = value
- .toLowerCase()
- .trim()
- .replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g, '')
- .replace(/\s/g, '-');
-
- if (this.seen.hasOwnProperty(slug)) {
- var originalSlug = slug;
- do {
- this.seen[originalSlug]++;
- slug = originalSlug + '-' + this.seen[originalSlug];
- } while (this.seen.hasOwnProperty(slug));
- }
- this.seen[slug] = 0;
+ _proto.text = function text(_text) {
+ return _text;
+ };
- return slug;
-};
+ _proto.link = function link(href, title, text) {
+ return '' + text;
+ };
-/**
- * Helpers
- */
+ _proto.image = function image(href, title, text) {
+ return '' + text;
+ };
-function escape(html, encode) {
- if (encode) {
- if (escape.escapeTest.test(html)) {
- return html.replace(escape.escapeReplace, function (ch) { return escape.replacements[ch]; });
- }
- } else {
- if (escape.escapeTestNoEncode.test(html)) {
- return html.replace(escape.escapeReplaceNoEncode, function (ch) { return escape.replacements[ch]; });
- }
- }
+ _proto.br = function br() {
+ return '';
+ };
- return html;
-}
-
-escape.escapeTest = /[&<>"']/;
-escape.escapeReplace = /[&<>"']/g;
-escape.replacements = {
- '&': '&amp;',
- '<': '&lt;',
- '>': '&gt;',
- '"': '&quot;',
- "'": '&#39;'
-};
-
-escape.escapeTestNoEncode = /[<>"']|&(?!#?\w+;)/;
-escape.escapeReplaceNoEncode = /[<>"']|&(?!#?\w+;)/g;
-
-function unescape(html) {
- // explicitly match decimal, hex, and named HTML entities
- return html.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, function(_, n) {
- n = n.toLowerCase();
- if (n === 'colon') return ':';
- if (n.charAt(0) === '#') {
- return n.charAt(1) === 'x'
- ? String.fromCharCode(parseInt(n.substring(2), 16))
- : String.fromCharCode(+n.substring(1));
- }
- return '';
- });
-}
-
-function edit(regex, opt) {
- regex = regex.source || regex;
- opt = opt || '';
- return {
- replace: function(name, val) {
- val = val.source || val;
- val = val.replace(/(^|[^\[])\^/g, '$1');
- regex = regex.replace(name, val);
- return this;
- },
- getRegex: function() {
- return new RegExp(regex, opt);
+ return TextRenderer;
+ }();
+
+ var defaults$4 = defaults.defaults;
+ var merge$2 = helpers.merge,
+ unescape$1 = helpers.unescape;
+ /**
+ * Parsing & Compiling
+ */
+
+ var Parser_1 =
+ /*#__PURE__*/
+ function () {
+ function Parser(options) {
+ this.tokens = [];
+ this.token = null;
+ this.options = options || defaults$4;
+ this.options.renderer = this.options.renderer || new Renderer_1();
+ this.renderer = this.options.renderer;
+ this.renderer.options = this.options;
+ this.slugger = new Slugger_1();
}
- };
-}
+ /**
+ * Static Parse Method
+ */
-function cleanUrl(sanitize, base, href) {
- if (sanitize) {
- try {
- var prot = decodeURIComponent(unescape(href))
- .replace(/[^\w:]/g, '')
- .toLowerCase();
- } catch (e) {
- return null;
- }
- if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0 || prot.indexOf('data:') === 0) {
- return null;
- }
- }
- if (base && !originIndependentUrl.test(href)) {
- href = resolveUrl(base, href);
- }
- try {
- href = encodeURI(href).replace(/%25/g, '%');
- } catch (e) {
- return null;
- }
- return href;
-}
-
-function resolveUrl(base, href) {
- if (!baseUrls[' ' + base]) {
- // we can ignore everything in base after the last slash of its path component,
- // but we might need to add _that_
- // https://tools.ietf.org/html/rfc3986#section-3
- if (/^[^:]+:\/*[^/]*$/.test(base)) {
- baseUrls[' ' + base] = base + '/';
- } else {
- baseUrls[' ' + base] = rtrim(base, '/', true);
- }
- }
- base = baseUrls[' ' + base];
-
- if (href.slice(0, 2) === '//') {
- return base.replace(/:[\s\S]*/, ':') + href;
- } else if (href.charAt(0) === '/') {
- return base.replace(/(:\/*[^/]*)[\s\S]*/, '$1') + href;
- } else {
- return base + href;
- }
-}
-var baseUrls = {};
-var originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;
-
-function noop() {}
-noop.exec = noop;
-
-function merge(obj) {
- var i = 1,
- target,
- key;
-
- for (; i < arguments.length; i++) {
- target = arguments[i];
- for (key in target) {
- if (Object.prototype.hasOwnProperty.call(target, key)) {
- obj[key] = target[key];
- }
- }
- }
- return obj;
-}
-
-function splitCells(tableRow, count) {
- // ensure that every cell-delimiting pipe has a space
- // before it to distinguish it from an escaped pipe
- var row = tableRow.replace(/\|/g, function (match, offset, str) {
- var escaped = false,
- curr = offset;
- while (--curr >= 0 && str[curr] === '\\') escaped = !escaped;
- if (escaped) {
- // odd number of slashes means | is escaped
- // so we leave it alone
- return '|';
- } else {
- // add space before unescaped |
- return ' |';
- }
- }),
- cells = row.split(/ \|/),
- i = 0;
-
- if (cells.length > count) {
- cells.splice(count);
- } else {
- while (cells.length < count) cells.push('');
- }
+ Parser.parse = function parse(tokens, options) {
+ var parser = new Parser(options);
+ return parser.parse(tokens);
+ };
- for (; i < cells.length; i++) {
- // leading or trailing whitespace is ignored per the gfm spec
- cells[i] = cells[i].trim().replace(/\\\|/g, '|');
- }
- return cells;
-}
-
-// Remove trailing 'c's. Equivalent to str.replace(/c*$/, '').
-// /c*$/ is vulnerable to REDOS.
-// invert: Remove suffix of non-c chars instead. Default falsey.
-function rtrim(str, c, invert) {
- if (str.length === 0) {
- return '';
- }
+ var _proto = Parser.prototype;
- // Length of suffix matching the invert condition.
- var suffLen = 0;
+ /**
+ * Parse Loop
+ */
+ _proto.parse = function parse(tokens) {
+ this.inline = new InlineLexer_1(tokens.links, this.options); // use an InlineLexer with a TextRenderer to extract pure text
- // Step left until we fail to match the invert condition.
- while (suffLen < str.length) {
- var currChar = str.charAt(str.length - suffLen - 1);
- if (currChar === c && !invert) {
- suffLen++;
- } else if (currChar !== c && invert) {
- suffLen++;
- } else {
- break;
- }
- }
+ this.inlineText = new InlineLexer_1(tokens.links, merge$2({}, this.options, {
+ renderer: new TextRenderer_1()
+ }));
+ this.tokens = tokens.reverse();
+ var out = '';
- return str.substr(0, str.length - suffLen);
-}
+ while (this.next()) {
+ out += this.tok();
+ }
-function findClosingBracket(str, b) {
- if (str.indexOf(b[1]) === -1) {
- return -1;
- }
- var level = 0;
- for (var i = 0; i < str.length; i++) {
- if (str[i] === '\\') {
- i++;
- } else if (str[i] === b[0]) {
- level++;
- } else if (str[i] === b[1]) {
- level--;
- if (level < 0) {
- return i;
+ return out;
+ };
+
+ /**
+ * Next Token
+ */
+ _proto.next = function next() {
+ this.token = this.tokens.pop();
+ return this.token;
+ };
+
+ /**
+ * Preview Next Token
+ */
+ _proto.peek = function peek() {
+ return this.tokens[this.tokens.length - 1] || 0;
+ };
+
+ /**
+ * Parse Text Tokens
+ */
+ _proto.parseText = function parseText() {
+ var body = this.token.text;
+
+ while (this.peek().type === 'text') {
+ body += '\n' + this.next().text;
}
- }
- }
- return -1;
-}
-/**
- * Marked
- */
+ return this.inline.output(body);
+ };
-function marked(src, opt, callback) {
- // throw error in case of non string input
- if (typeof src === 'undefined' || src === null) {
- throw new Error('marked(): input parameter is undefined or null');
- }
- if (typeof src !== 'string') {
- throw new Error('marked(): input parameter is of type '
- + Object.prototype.toString.call(src) + ', string expected');
- }
+ /**
+ * Parse Current Token
+ */
+ _proto.tok = function tok() {
+ var body = '';
- if (callback || typeof opt === 'function') {
- if (!callback) {
- callback = opt;
- opt = null;
- }
+ switch (this.token.type) {
+ case 'space':
+ {
+ return '';
+ }
- opt = merge({}, marked.defaults, opt || {});
+ case 'hr':
+ {
+ return this.renderer.hr();
+ }
- var highlight = opt.highlight,
- tokens,
- pending,
- i = 0;
+ case 'heading':
+ {
+ return this.renderer.heading(this.inline.output(this.token.text), this.token.depth, unescape$1(this.inlineText.output(this.token.text)), this.slugger);
+ }
- try {
- tokens = Lexer.lex(src, opt);
- } catch (e) {
- return callback(e);
- }
+ case 'code':
+ {
+ return this.renderer.code(this.token.text, this.token.lang, this.token.escaped);
+ }
- pending = tokens.length;
+ case 'table':
+ {
+ var header = '',
+ i,
+ row,
+ cell,
+ j; // header
- var done = function(err) {
- if (err) {
- opt.highlight = highlight;
- return callback(err);
- }
+ cell = '';
- var out;
+ for (i = 0; i < this.token.header.length; i++) {
+ cell += this.renderer.tablecell(this.inline.output(this.token.header[i]), {
+ header: true,
+ align: this.token.align[i]
+ });
+ }
- try {
- out = Parser.parse(tokens, opt);
- } catch (e) {
- err = e;
- }
+ header += this.renderer.tablerow(cell);
+
+ for (i = 0; i < this.token.cells.length; i++) {
+ row = this.token.cells[i];
+ cell = '';
+
+ for (j = 0; j < row.length; j++) {
+ cell += this.renderer.tablecell(this.inline.output(row[j]), {
+ header: false,
+ align: this.token.align[j]
+ });
+ }
+
+ body += this.renderer.tablerow(cell);
+ }
+
+ return this.renderer.table(header, body);
+ }
- opt.highlight = highlight;
+ case 'blockquote_start':
+ {
+ body = '';
+
+ while (this.next().type !== 'blockquote_end') {
+ body += this.tok();
+ }
+
+ return this.renderer.blockquote(body);
+ }
+
+ case 'list_start':
+ {
+ body = '';
+ var ordered = this.token.ordered,
+ start = this.token.start;
+
+ while (this.next().type !== 'list_end') {
+ body += this.tok();
+ }
+
+ return this.renderer.list(body, ordered, start);
+ }
- return err
- ? callback(err)
- : callback(null, out);
+ case 'list_item_start':
+ {
+ body = '';
+ var loose = this.token.loose;
+ var checked = this.token.checked;
+ var task = this.token.task;
+
+ if (this.token.task) {
+ if (loose) {
+ if (this.peek().type === 'text') {
+ var nextToken = this.peek();
+ nextToken.text = this.renderer.checkbox(checked) + ' ' + nextToken.text;
+ } else {
+ this.tokens.push({
+ type: 'text',
+ text: this.renderer.checkbox(checked)
+ });
+ }
+ } else {
+ body += this.renderer.checkbox(checked);
+ }
+ }
+
+ while (this.next().type !== 'list_item_end') {
+ body += !loose && this.token.type === 'text' ? this.parseText() : this.tok();
+ }
+
+ return this.renderer.listitem(body, task, checked);
+ }
+
+ case 'html':
+ {
+ // TODO parse inline content if parameter markdown=1
+ return this.renderer.html(this.token.text);
+ }
+
+ case 'paragraph':
+ {
+ return this.renderer.paragraph(this.inline.output(this.token.text));
+ }
+
+ case 'text':
+ {
+ return this.renderer.paragraph(this.parseText());
+ }
+
+ default:
+ {
+ var errMsg = 'Token with "' + this.token.type + '" type was not found.';
+
+ if (this.options.silent) {
+ console.log(errMsg);
+ } else {
+ throw new Error(errMsg);
+ }
+ }
+ }
};
- if (!highlight || highlight.length < 3) {
- return done();
+ return Parser;
+ }();
+
+ var merge$3 = helpers.merge,
+ checkSanitizeDeprecation$1 = helpers.checkSanitizeDeprecation,
+ escape$4 = helpers.escape;
+ var getDefaults = defaults.getDefaults,
+ changeDefaults = defaults.changeDefaults,
+ defaults$5 = defaults.defaults;
+ /**
+ * Marked
+ */
+
+ function marked(src, opt, callback) {
+ // throw error in case of non string input
+ if (typeof src === 'undefined' || src === null) {
+ throw new Error('marked(): input parameter is undefined or null');
}
- delete opt.highlight;
+ if (typeof src !== 'string') {
+ throw new Error('marked(): input parameter is of type ' + Object.prototype.toString.call(src) + ', string expected');
+ }
- if (!pending) return done();
+ if (callback || typeof opt === 'function') {
+ var _ret = function () {
+ if (!callback) {
+ callback = opt;
+ opt = null;
+ }
- for (; i < tokens.length; i++) {
- (function(token) {
- if (token.type !== 'code') {
- return --pending || done();
+ opt = merge$3({}, marked.defaults, opt || {});
+ checkSanitizeDeprecation$1(opt);
+ var highlight = opt.highlight;
+ var tokens,
+ pending,
+ i = 0;
+
+ try {
+ tokens = Lexer_1.lex(src, opt);
+ } catch (e) {
+ return {
+ v: callback(e)
+ };
}
- return highlight(token.text, token.lang, function(err, code) {
- if (err) return done(err);
- if (code == null || code === token.text) {
- return --pending || done();
+
+ pending = tokens.length;
+
+ var done = function done(err) {
+ if (err) {
+ opt.highlight = highlight;
+ return callback(err);
}
- token.text = code;
- token.escaped = true;
- --pending || done();
- });
- })(tokens[i]);
- }
- return;
- }
- try {
- if (opt) opt = merge({}, marked.defaults, opt);
- return Parser.parse(Lexer.lex(src, opt), opt);
- } catch (e) {
- e.message += '\nPlease report this to https://github.com/markedjs/marked.';
- if ((opt || marked.defaults).silent) {
- return '<p>An error occurred:</p><pre>'
- + escape(e.message + '', true)
- + '</pre>';
- }
- throw e;
- }
-}
+ var out;
-/**
- * Options
- */
+ try {
+ out = Parser_1.parse(tokens, opt);
+ } catch (e) {
+ err = e;
+ }
-marked.options =
-marked.setOptions = function(opt) {
- merge(marked.defaults, opt);
- return marked;
-};
-
-marked.getDefaults = function () {
- return {
- baseUrl: null,
- breaks: false,
- gfm: true,
- headerIds: true,
- headerPrefix: '',
- highlight: null,
- langPrefix: 'language-',
- mangle: true,
- pedantic: false,
- renderer: new Renderer(),
- sanitize: false,
- sanitizer: null,
- silent: false,
- smartLists: false,
- smartypants: false,
- tables: true,
- xhtml: false
- };
-};
+ opt.highlight = highlight;
+ return err ? callback(err) : callback(null, out);
+ };
-marked.defaults = marked.getDefaults();
+ if (!highlight || highlight.length < 3) {
+ return {
+ v: done()
+ };
+ }
-/**
- * Expose
- */
+ delete opt.highlight;
+ if (!pending) return {
+ v: done()
+ };
-marked.Parser = Parser;
-marked.parser = Parser.parse;
+ for (; i < tokens.length; i++) {
+ (function (token) {
+ if (token.type !== 'code') {
+ return --pending || done();
+ }
-marked.Renderer = Renderer;
-marked.TextRenderer = TextRenderer;
+ return highlight(token.text, token.lang, function (err, code) {
+ if (err) return done(err);
-marked.Lexer = Lexer;
-marked.lexer = Lexer.lex;
+ if (code == null || code === token.text) {
+ return --pending || done();
+ }
-marked.InlineLexer = InlineLexer;
-marked.inlineLexer = InlineLexer.output;
+ token.text = code;
+ token.escaped = true;
+ --pending || done();
+ });
+ })(tokens[i]);
+ }
+
+ return {
+ v: void 0
+ };
+ }();
+
+ if (typeof _ret === "object") return _ret.v;
+ }
+
+ try {
+ opt = merge$3({}, marked.defaults, opt || {});
+ checkSanitizeDeprecation$1(opt);
+ return Parser_1.parse(Lexer_1.lex(src, opt), opt);
+ } catch (e) {
+ e.message += '\nPlease report this to https://github.com/markedjs/marked.';
-marked.Slugger = Slugger;
+ if ((opt || marked.defaults).silent) {
+ return '<p>An error occurred:</p><pre>' + escape$4(e.message + '', true) + '</pre>';
+ }
-marked.parse = marked;
+ throw e;
+ }
+ }
+ /**
+ * Options
+ */
+
+
+ marked.options = marked.setOptions = function (opt) {
+ merge$3(marked.defaults, opt);
+ changeDefaults(marked.defaults);
+ return marked;
+ };
-if (typeof module !== 'undefined' && typeof exports === 'object') {
- module.exports = marked;
-} else if (typeof define === 'function' && define.amd) {
- define(function() { return marked; });
-} else {
- root.marked = marked;
-}
-})(this || (typeof window !== 'undefined' ? window : global));
+ marked.getDefaults = getDefaults;
+ marked.defaults = defaults$5;
+ /**
+ * Expose
+ */
+
+ marked.Parser = Parser_1;
+ marked.parser = Parser_1.parse;
+ marked.Renderer = Renderer_1;
+ marked.TextRenderer = TextRenderer_1;
+ marked.Lexer = Lexer_1;
+ marked.lexer = Lexer_1.lex;
+ marked.InlineLexer = InlineLexer_1;
+ marked.inlineLexer = InlineLexer_1.output;
+ marked.Slugger = Slugger_1;
+ marked.parse = marked;
+ var marked_1 = marked;
+
+ return marked_1;
+
+})));
diff --git a/packages/markdown/marked/man/marked.1 b/packages/markdown/marked/man/marked.1
index 848b4424..5cc27ef8 100644
--- a/packages/markdown/marked/man/marked.1
+++ b/packages/markdown/marked/man/marked.1
@@ -8,7 +8,7 @@ marked \- a javascript markdown parser
.B marked
[\-o \fI<output>\fP] [\-i \fI<input>\fP] [\-\-help]
[\-\-tokens] [\-\-pedantic] [\-\-gfm]
-[\-\-breaks] [\-\-tables] [\-\-sanitize]
+[\-\-breaks] [\-\-sanitize]
[\-\-smart\-lists] [\-\-lang\-prefix \fI<prefix>\fP]
[\-\-no\-etc...] [\-\-silent] [\fIfilename\fP]
@@ -72,9 +72,6 @@ Enable github flavored markdown.
.BI \-\-breaks
Enable GFM line breaks. Only works with the gfm option.
.TP
-.BI \-\-tables
-Enable GFM tables. Only works with the gfm option.
-.TP
.BI \-\-sanitize
Sanitize output. Ignore any HTML input.
.TP
diff --git a/packages/markdown/marked/man/marked.1.txt b/packages/markdown/marked/man/marked.1.txt
index ea07ad36..56a8634b 100644
--- a/packages/markdown/marked/man/marked.1.txt
+++ b/packages/markdown/marked/man/marked.1.txt
@@ -4,10 +4,10 @@ NAME
marked - a javascript markdown parser
SYNOPSIS
- marked [-o <output>] [-i <input>] [--help] [--tokens]
- [--pedantic] [--gfm] [--breaks] [--tables] [--sanitize]
- [--smart-lists] [--lang-prefix <prefix>] [--no-etc...] [--silent]
- [filename]
+ marked [-o <output>] [-i <input>] [--help] [--tokens] [--pedantic]
+ [--gfm] [--breaks] [--sanitize] [--smart-lists] [--lang-prefix <pre-
+ fix>] [--no-etc...] [--silent] [filename]
+
DESCRIPTION
marked is a full-featured javascript markdown parser, built for speed.
@@ -56,9 +56,6 @@ OPTIONS
--breaks
Enable GFM line breaks. Only works with the gfm option.
- --tables
- Enable GFM tables. Only works with the gfm option.
-
--sanitize
Sanitize output. Ignore any HTML input.
diff --git a/packages/markdown/marked/marked.min.js b/packages/markdown/marked/marked.min.js
deleted file mode 100644
index 085cfb56..00000000
--- a/packages/markdown/marked/marked.min.js
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * marked - a markdown parser
- * Copyright (c) 2011-2018, Christopher Jeffrey. (MIT Licensed)
- * https://github.com/markedjs/marked
- */
-!function(e){"use strict";var k={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:f,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:f,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:f,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};function a(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||b.defaults,this.rules=k.normal,this.options.pedantic?this.rules=k.pedantic:this.options.gfm&&(this.options.tables?this.rules=k.tables:this.rules=k.gfm)}k._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,k._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,k.def=i(k.def).replace("label",k._label).replace("title",k._title).getRegex(),k.bullet=/(?:[*+-]|\d{1,9}\.)/,k.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,k.item=i(k.item,"gm").replace(/bull/g,k.bullet).getRegex(),k.list=i(k.list).replace(/bull/g,k.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+k.def.source+")").getRegex(),k._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",k._comment=/<!--(?!-?>)[\s\S]*?-->/,k.html=i(k.html,"i").replace("comment",k._comment).replace("tag",k._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),k.paragraph=i(k.paragraph).replace("hr",k.hr).replace("heading",k.heading).replace("lheading",k.lheading).replace("tag",k._tag).getRegex(),k.blockquote=i(k.blockquote).replace("paragraph",k.paragraph).getRegex(),k.normal=d({},k),k.gfm=d({},k.normal,{fences:/^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),k.gfm.paragraph=i(k.paragraph).replace("(?!","(?!"+k.gfm.fences.source.replace("\\1","\\2")+"|"+k.list.source.replace("\\1","\\3")+"|").getRegex(),k.tables=d({},k.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),k.pedantic=d({},k.normal,{html:i("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",k._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),a.rules=k,a.lex=function(e,t){return new a(t).lex(e)},a.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},a.prototype.token=function(e,t){var n,r,s,i,l,o,a,h,p,u,c,g,f,d,m,b;for(e=e.replace(/^ +$/gm,"");e;)if((s=this.rules.newline.exec(e))&&(e=e.substring(s[0].length),1<s[0].length&&this.tokens.push({type:"space"})),s=this.rules.code.exec(e))e=e.substring(s[0].length),s=s[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?s:y(s,"\n")});else if(s=this.rules.fences.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"code",lang:s[2]?s[2].trim():s[2],text:s[3]||""});else if(s=this.rules.heading.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"heading",depth:s[1].length,text:s[2]});else if((s=this.rules.nptable.exec(e))&&(o={type:"table",header:x(s[1].replace(/^ *| *\| *$/g,"")),align:s[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:s[3]?s[3].replace(/\n$/,"").split("\n"):[]}).header.length===o.align.length){for(e=e.substring(s[0].length),c=0;c<o.align.length;c++)/^ *-+: *$/.test(o.align[c])?o.align[c]="right":/^ *:-+: *$/.test(o.align[c])?o.align[c]="center":/^ *:-+ *$/.test(o.align[c])?o.align[c]="left":o.align[c]=null;for(c=0;c<o.cells.length;c++)o.cells[c]=x(o.cells[c],o.header.length);this.tokens.push(o)}else if(s=this.rules.hr.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"hr"});else if(s=this.rules.blockquote.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"blockquote_start"}),s=s[0].replace(/^ *> ?/gm,""),this.token(s,t),this.tokens.push({type:"blockquote_end"});else if(s=this.rules.list.exec(e)){for(e=e.substring(s[0].length),a={type:"list_start",ordered:d=1<(i=s[2]).length,start:d?+i:"",loose:!1},this.tokens.push(a),n=!(h=[]),f=(s=s[0].match(this.rules.item)).length,c=0;c<f;c++)u=(o=s[c]).length,~(o=o.replace(/^ *([*+-]|\d+\.) */,"")).indexOf("\n ")&&(u-=o.length,o=this.options.pedantic?o.replace(/^ {1,4}/gm,""):o.replace(new RegExp("^ {1,"+u+"}","gm"),"")),c!==f-1&&(l=k.bullet.exec(s[c+1])[0],(1<i.length?1===l.length:1<l.length||this.options.smartLists&&l!==i)&&(e=s.slice(c+1).join("\n")+e,c=f-1)),r=n||/\n\n(?!\s*$)/.test(o),c!==f-1&&(n="\n"===o.charAt(o.length-1),r||(r=n)),r&&(a.loose=!0),b=void 0,(m=/^\[[ xX]\] /.test(o))&&(b=" "!==o[1],o=o.replace(/^\[[ xX]\] +/,"")),p={type:"list_item_start",task:m,checked:b,loose:r},h.push(p),this.tokens.push(p),this.token(o,!1),this.tokens.push({type:"list_item_end"});if(a.loose)for(f=h.length,c=0;c<f;c++)h[c].loose=!0;this.tokens.push({type:"list_end"})}else if(s=this.rules.html.exec(e))e=e.substring(s[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===s[1]||"script"===s[1]||"style"===s[1]),text:s[0]});else if(t&&(s=this.rules.def.exec(e)))e=e.substring(s[0].length),s[3]&&(s[3]=s[3].substring(1,s[3].length-1)),g=s[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[g]||(this.tokens.links[g]={href:s[2],title:s[3]});else if((s=this.rules.table.exec(e))&&(o={type:"table",header:x(s[1].replace(/^ *| *\| *$/g,"")),align:s[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:s[3]?s[3].replace(/\n$/,"").split("\n"):[]}).header.length===o.align.length){for(e=e.substring(s[0].length),c=0;c<o.align.length;c++)/^ *-+: *$/.test(o.align[c])?o.align[c]="right":/^ *:-+: *$/.test(o.align[c])?o.align[c]="center":/^ *:-+ *$/.test(o.align[c])?o.align[c]="left":o.align[c]=null;for(c=0;c<o.cells.length;c++)o.cells[c]=x(o.cells[c].replace(/^ *\| *| *\| *$/g,""),o.header.length);this.tokens.push(o)}else if(s=this.rules.lheading.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"heading",depth:"="===s[2]?1:2,text:s[1]});else if(t&&(s=this.rules.paragraph.exec(e)))e=e.substring(s[0].length),this.tokens.push({type:"paragraph",text:"\n"===s[1].charAt(s[1].length-1)?s[1].slice(0,-1):s[1]});else if(s=this.rules.text.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"text",text:s[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var n={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:f,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:f,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/};function p(e,t){if(this.options=t||b.defaults,this.links=e,this.rules=n.normal,this.renderer=this.options.renderer||new r,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=n.pedantic:this.options.gfm&&(this.options.breaks?this.rules=n.breaks:this.rules=n.gfm)}function r(e){this.options=e||b.defaults}function s(){}function h(e){this.tokens=[],this.token=null,this.options=e||b.defaults,this.options.renderer=this.options.renderer||new r,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new t}function t(){this.seen={}}function u(e,t){if(t){if(u.escapeTest.test(e))return e.replace(u.escapeReplace,function(e){return u.replacements[e]})}else if(u.escapeTestNoEncode.test(e))return e.replace(u.escapeReplaceNoEncode,function(e){return u.replacements[e]});return e}function c(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function i(n,e){return n=n.source||n,e=e||"",{replace:function(e,t){return t=(t=t.source||t).replace(/(^|[^\[])\^/g,"$1"),n=n.replace(e,t),this},getRegex:function(){return new RegExp(n,e)}}}function l(e,t,n){if(e){try{var r=decodeURIComponent(c(n)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!g.test(n)&&(n=function(e,t){o[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?o[" "+e]=e+"/":o[" "+e]=y(e,"/",!0));return e=o[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}n._punctuation="!\"#$%&'()*+,\\-./:;<=>?@\\[^_{|}~",n.em=i(n.em).replace(/punctuation/g,n._punctuation).getRegex(),n._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,n._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,n._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,n.autolink=i(n.autolink).replace("scheme",n._scheme).replace("email",n._email).getRegex(),n._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,n.tag=i(n.tag).replace("comment",k._comment).replace("attribute",n._attribute).getRegex(),n._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|`(?!`)|[^\[\]\\`])*?/,n._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*)/,n._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,n.link=i(n.link).replace("label",n._label).replace("href",n._href).replace("title",n._title).getRegex(),n.reflink=i(n.reflink).replace("label",n._label).getRegex(),n.normal=d({},n),n.pedantic=d({},n.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:i(/^!?\[(label)\]\((.*?)\)/).replace("label",n._label).getRegex(),reflink:i(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",n._label).getRegex()}),n.gfm=d({},n.normal,{escape:i(n.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),n.gfm.url=i(n.gfm.url,"i").replace("email",n.gfm._extended_email).getRegex(),n.breaks=d({},n.gfm,{br:i(n.br).replace("{2,}","*").getRegex(),text:i(n.gfm.text).replace(/\{2,\}/g,"*").getRegex()}),p.rules=n,p.output=function(e,t,n){return new p(t,n).output(e)},p.prototype.output=function(e){for(var t,n,r,s,i,l,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=u(i[1]);else if(i=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(i[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(i[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(this.inRawBlock=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):u(i[0]):i[0];else if(i=this.rules.link.exec(e)){var a=m(i[2],"()");if(-1<a){var h=i[0].length-(i[2].length-a)-(i[3]||"").length;i[2]=i[2].substring(0,a),i[0]=i[0].substring(0,h).trim(),i[3]=""}e=e.substring(i[0].length),this.inLink=!0,r=i[2],s=this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r))?(r=t[1],t[3]):"":i[3]?i[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),o+=this.outputLink(i,{href:p.escapes(r),title:p.escapes(s)}),this.inLink=!1}else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[4]||i[3]||i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[6]||i[5]||i[4]||i[3]||i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(u(i[2].trim(),!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),r="@"===i[2]?"mailto:"+(n=u(this.mangle(i[1]))):n=u(i[1]),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.text.exec(e))e=e.substring(i[0].length),this.inRawBlock?o+=this.renderer.text(i[0]):o+=this.renderer.text(u(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===i[2])r="mailto:"+(n=u(i[0]));else{for(;l=i[0],i[0]=this.rules._backpedal.exec(i[0])[0],l!==i[0];);n=u(i[0]),r="www."===i[1]?"http://"+n:n}e=e.substring(i[0].length),o+=this.renderer.link(r,null,n)}return o},p.escapes=function(e){return e?e.replace(p.rules._escapes,"$1"):e},p.prototype.outputLink=function(e,t){var n=t.href,r=t.title?u(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,u(e[1]))},p.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},p.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,s=0;s<r;s++)t=e.charCodeAt(s),.5<Math.random()&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},r.prototype.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var s=this.options.highlight(e,r);null!=s&&s!==e&&(n=!0,e=s)}return r?'<pre><code class="'+this.options.langPrefix+u(r,!0)+'">'+(n?e:u(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:u(e,!0))+"</code></pre>"},r.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},r.prototype.html=function(e){return e},r.prototype.heading=function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},r.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},r.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"},r.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},r.prototype.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},r.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},r.prototype.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},r.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},r.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},r.prototype.strong=function(e){return"<strong>"+e+"</strong>"},r.prototype.em=function(e){return"<em>"+e+"</em>"},r.prototype.codespan=function(e){return"<code>"+e+"</code>"},r.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},r.prototype.del=function(e){return"<del>"+e+"</del>"},r.prototype.link=function(e,t,n){if(null===(e=l(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<a href="'+u(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"},r.prototype.image=function(e,t,n){if(null===(e=l(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},r.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.prototype.br=function(){return""},h.parse=function(e,t){return new h(t).parse(e)},h.prototype.parse=function(e){this.inline=new p(e.links,this.options),this.inlineText=new p(e.links,d({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},h.prototype.next=function(){return this.token=this.tokens.pop()},h.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},h.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},h.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,c(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,s="",i="";for(n="",e=0;e<this.token.header.length;e++)n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(s+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",r=0;r<t.length;r++)n+=this.renderer.tablecell(this.inline.output(t[r]),{header:!1,align:this.token.align[r]});i+=this.renderer.tablerow(n)}return this.renderer.table(s,i);case"blockquote_start":for(i="";"blockquote_end"!==this.next().type;)i+=this.tok();return this.renderer.blockquote(i);case"list_start":i="";for(var l=this.token.ordered,o=this.token.start;"list_end"!==this.next().type;)i+=this.tok();return this.renderer.list(i,l,o);case"list_item_start":i="";var a=this.token.loose,h=this.token.checked,p=this.token.task;for(this.token.task&&(i+=this.renderer.checkbox(h));"list_item_end"!==this.next().type;)i+=a||"text"!==this.token.type?this.tok():this.parseText();return this.renderer.listitem(i,p,h);case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText());default:var u='Token with "'+this.token.type+'" type was not found.';if(!this.options.silent)throw new Error(u);console.log(u)}},t.prototype.slug=function(e){var t=e.toLowerCase().trim().replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t))for(var n=t;this.seen[n]++,t=n+"-"+this.seen[n],this.seen.hasOwnProperty(t););return this.seen[t]=0,t},u.escapeTest=/[&<>"']/,u.escapeReplace=/[&<>"']/g,u.replacements={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},u.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,u.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var o={},g=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function f(){}function d(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function x(e,t){var n=e.replace(/\|/g,function(e,t,n){for(var r=!1,s=t;0<=--s&&"\\"===n[s];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function y(e,t,n){if(0===e.length)return"";for(var r=0;r<e.length;){var s=e.charAt(e.length-r-1);if(s!==t||n){if(s===t||!n)break;r++}else r++}return e.substr(0,e.length-r)}function m(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=0,r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&--n<0)return r;return-1}function b(e,n,r){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(r||"function"==typeof n){r||(r=n,n=null);var s,i,l=(n=d({},b.defaults,n||{})).highlight,t=0;try{s=a.lex(e,n)}catch(e){return r(e)}i=s.length;var o=function(t){if(t)return n.highlight=l,r(t);var e;try{e=h.parse(s,n)}catch(e){t=e}return n.highlight=l,t?r(t):r(null,e)};if(!l||l.length<3)return o();if(delete n.highlight,!i)return o();for(;t<s.length;t++)!function(n){"code"!==n.type?--i||o():l(n.text,n.lang,function(e,t){return e?o(e):null==t||t===n.text?--i||o():(n.text=t,n.escaped=!0,void(--i||o()))})}(s[t])}else try{return n&&(n=d({},b.defaults,n)),h.parse(a.lex(e,n),n)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(n||b.defaults).silent)return"<p>An error occurred:</p><pre>"+u(e.message+"",!0)+"</pre>";throw e}}f.exec=f,b.options=b.setOptions=function(e){return d(b.defaults,e),b},b.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new r,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},b.defaults=b.getDefaults(),b.Parser=h,b.parser=h.parse,b.Renderer=r,b.TextRenderer=s,b.Lexer=a,b.lexer=a.lex,b.InlineLexer=p,b.inlineLexer=p.output,b.Slugger=t,b.parse=b,"undefined"!=typeof module&&"object"==typeof exports?module.exports=b:"function"==typeof define&&define.amd?define(function(){return b}):e.marked=b}(this||("undefined"!=typeof window?window:global)); \ No newline at end of file
diff --git a/packages/markdown/marked/package-lock.json b/packages/markdown/marked/package-lock.json
new file mode 100644
index 00000000..31e4191c
--- /dev/null
+++ b/packages/markdown/marked/package-lock.json
@@ -0,0 +1,3751 @@
+{
+ "name": "marked",
+ "version": "0.8.0",
+ "lockfileVersion": 1,
+ "requires": true,
+ "dependencies": {
+ "@babel/code-frame": {
+ "version": "7.5.5",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz",
+ "integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==",
+ "dev": true,
+ "requires": {
+ "@babel/highlight": "^7.0.0"
+ }
+ },
+ "@babel/core": {
+ "version": "7.7.5",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.7.5.tgz",
+ "integrity": "sha512-M42+ScN4+1S9iB6f+TL7QBpoQETxbclx+KNoKJABghnKYE+fMzSGqst0BZJc8CpI625bwPwYgUyRvxZ+0mZzpw==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.5.5",
+ "@babel/generator": "^7.7.4",
+ "@babel/helpers": "^7.7.4",
+ "@babel/parser": "^7.7.5",
+ "@babel/template": "^7.7.4",
+ "@babel/traverse": "^7.7.4",
+ "@babel/types": "^7.7.4",
+ "convert-source-map": "^1.7.0",
+ "debug": "^4.1.0",
+ "json5": "^2.1.0",
+ "lodash": "^4.17.13",
+ "resolve": "^1.3.2",
+ "semver": "^5.4.1",
+ "source-map": "^0.5.0"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ },
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "dev": true
+ }
+ }
+ },
+ "@babel/generator": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.7.4.tgz",
+ "integrity": "sha512-m5qo2WgdOJeyYngKImbkyQrnUN1mPceaG5BV+G0E3gWsa4l/jCSryWJdM2x8OuGAOyh+3d5pVYfZWCiNFtynxg==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.7.4",
+ "jsesc": "^2.5.1",
+ "lodash": "^4.17.13",
+ "source-map": "^0.5.0"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-annotate-as-pure": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.7.4.tgz",
+ "integrity": "sha512-2BQmQgECKzYKFPpiycoF9tlb5HA4lrVyAmLLVK177EcQAqjVLciUb2/R+n1boQ9y5ENV3uz2ZqiNw7QMBBw1Og==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-builder-binary-assignment-operator-visitor": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.7.4.tgz",
+ "integrity": "sha512-Biq/d/WtvfftWZ9Uf39hbPBYDUo986m5Bb4zhkeYDGUllF43D+nUe5M6Vuo6/8JDK/0YX/uBdeoQpyaNhNugZQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-explode-assignable-expression": "^7.7.4",
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-call-delegate": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.7.4.tgz",
+ "integrity": "sha512-8JH9/B7J7tCYJ2PpWVpw9JhPuEVHztagNVuQAFBVFYluRMlpG7F1CgKEgGeL6KFqcsIa92ZYVj6DSc0XwmN1ZA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-hoist-variables": "^7.7.4",
+ "@babel/traverse": "^7.7.4",
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-create-regexp-features-plugin": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.7.4.tgz",
+ "integrity": "sha512-Mt+jBKaxL0zfOIWrfQpnfYCN7/rS6GKx6CCCfuoqVVd+17R8zNDlzVYmIi9qyb2wOk002NsmSTDymkIygDUH7A==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-regex": "^7.4.4",
+ "regexpu-core": "^4.6.0"
+ }
+ },
+ "@babel/helper-define-map": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.7.4.tgz",
+ "integrity": "sha512-v5LorqOa0nVQUvAUTUF3KPastvUt/HzByXNamKQ6RdJRTV7j8rLL+WB5C/MzzWAwOomxDhYFb1wLLxHqox86lg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-function-name": "^7.7.4",
+ "@babel/types": "^7.7.4",
+ "lodash": "^4.17.13"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-explode-assignable-expression": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.7.4.tgz",
+ "integrity": "sha512-2/SicuFrNSXsZNBxe5UGdLr+HZg+raWBLE9vC98bdYOKX/U6PY0mdGlYUJdtTDPSU0Lw0PNbKKDpwYHJLn2jLg==",
+ "dev": true,
+ "requires": {
+ "@babel/traverse": "^7.7.4",
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-function-name": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.7.4.tgz",
+ "integrity": "sha512-AnkGIdiBhEuiwdoMnKm7jfPfqItZhgRaZfMg1XX3bS25INOnLPjPG1Ppnajh8eqgt5kPJnfqrRHqFqmjKDZLzQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-get-function-arity": "^7.7.4",
+ "@babel/template": "^7.7.4",
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-get-function-arity": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.7.4.tgz",
+ "integrity": "sha512-QTGKEdCkjgzgfJ3bAyRwF4yyT3pg+vDgan8DSivq1eS0gwi+KGKE5x8kRcbeFTb/673mkO5SN1IZfmCfA5o+EA==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-hoist-variables": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.7.4.tgz",
+ "integrity": "sha512-wQC4xyvc1Jo/FnLirL6CEgPgPCa8M74tOdjWpRhQYapz5JC7u3NYU1zCVoVAGCE3EaIP9T1A3iW0WLJ+reZlpQ==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-member-expression-to-functions": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.7.4.tgz",
+ "integrity": "sha512-9KcA1X2E3OjXl/ykfMMInBK+uVdfIVakVe7W7Lg3wfXUNyS3Q1HWLFRwZIjhqiCGbslummPDnmb7vIekS0C1vw==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-module-imports": {
+ "version": "7.7.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.7.0.tgz",
+ "integrity": "sha512-Dv3hLKIC1jyfTkClvyEkYP2OlkzNvWs5+Q8WgPbxM5LMeorons7iPP91JM+DU7tRbhqA1ZeooPaMFvQrn23RHw==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.7.0"
+ }
+ },
+ "@babel/helper-module-transforms": {
+ "version": "7.7.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.7.5.tgz",
+ "integrity": "sha512-A7pSxyJf1gN5qXVcidwLWydjftUN878VkalhXX5iQDuGyiGK3sOrrKKHF4/A4fwHtnsotv/NipwAeLzY4KQPvw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-module-imports": "^7.7.4",
+ "@babel/helper-simple-access": "^7.7.4",
+ "@babel/helper-split-export-declaration": "^7.7.4",
+ "@babel/template": "^7.7.4",
+ "@babel/types": "^7.7.4",
+ "lodash": "^4.17.13"
+ },
+ "dependencies": {
+ "@babel/helper-module-imports": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.7.4.tgz",
+ "integrity": "sha512-dGcrX6K9l8258WFjyDLJwuVKxR4XZfU0/vTUgOQYWEnRD8mgr+p4d6fCUMq/ys0h4CCt/S5JhbvtyErjWouAUQ==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.7.4"
+ }
+ },
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-optimise-call-expression": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.7.4.tgz",
+ "integrity": "sha512-VB7gWZ2fDkSuqW6b1AKXkJWO5NyNI3bFL/kK79/30moK57blr6NbH8xcl2XcKCwOmJosftWunZqfO84IGq3ZZg==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-plugin-utils": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz",
+ "integrity": "sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA==",
+ "dev": true
+ },
+ "@babel/helper-regex": {
+ "version": "7.5.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.5.5.tgz",
+ "integrity": "sha512-CkCYQLkfkiugbRDO8eZn6lRuR8kzZoGXCg3149iTk5se7g6qykSpy3+hELSwquhu+TgHn8nkLiBwHvNX8Hofcw==",
+ "dev": true,
+ "requires": {
+ "lodash": "^4.17.13"
+ }
+ },
+ "@babel/helper-remap-async-to-generator": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.7.4.tgz",
+ "integrity": "sha512-Sk4xmtVdM9sA/jCI80f+KS+Md+ZHIpjuqmYPk1M7F/upHou5e4ReYmExAiu6PVe65BhJPZA2CY9x9k4BqE5klw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-annotate-as-pure": "^7.7.4",
+ "@babel/helper-wrap-function": "^7.7.4",
+ "@babel/template": "^7.7.4",
+ "@babel/traverse": "^7.7.4",
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-replace-supers": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.7.4.tgz",
+ "integrity": "sha512-pP0tfgg9hsZWo5ZboYGuBn/bbYT/hdLPVSS4NMmiRJdwWhP0IznPwN9AE1JwyGsjSPLC364I0Qh5p+EPkGPNpg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-member-expression-to-functions": "^7.7.4",
+ "@babel/helper-optimise-call-expression": "^7.7.4",
+ "@babel/traverse": "^7.7.4",
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-simple-access": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.7.4.tgz",
+ "integrity": "sha512-zK7THeEXfan7UlWsG2A6CI/L9jVnI5+xxKZOdej39Y0YtDYKx9raHk5F2EtK9K8DHRTihYwg20ADt9S36GR78A==",
+ "dev": true,
+ "requires": {
+ "@babel/template": "^7.7.4",
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-split-export-declaration": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.7.4.tgz",
+ "integrity": "sha512-guAg1SXFcVr04Guk9eq0S4/rWS++sbmyqosJzVs8+1fH5NI+ZcmkaSkc7dmtAFbHFva6yRJnjW3yAcGxjueDug==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helper-wrap-function": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.7.4.tgz",
+ "integrity": "sha512-VsfzZt6wmsocOaVU0OokwrIytHND55yvyT4BPB9AIIgwr8+x7617hetdJTsuGwygN5RC6mxA9EJztTjuwm2ofg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-function-name": "^7.7.4",
+ "@babel/template": "^7.7.4",
+ "@babel/traverse": "^7.7.4",
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/helpers": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.7.4.tgz",
+ "integrity": "sha512-ak5NGZGJ6LV85Q1Zc9gn2n+ayXOizryhjSUBTdu5ih1tlVCJeuQENzc4ItyCVhINVXvIT/ZQ4mheGIsfBkpskg==",
+ "dev": true,
+ "requires": {
+ "@babel/template": "^7.7.4",
+ "@babel/traverse": "^7.7.4",
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/highlight": {
+ "version": "7.5.0",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz",
+ "integrity": "sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==",
+ "dev": true,
+ "requires": {
+ "chalk": "^2.0.0",
+ "esutils": "^2.0.2",
+ "js-tokens": "^4.0.0"
+ }
+ },
+ "@babel/parser": {
+ "version": "7.7.5",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.7.5.tgz",
+ "integrity": "sha512-KNlOe9+/nk4i29g0VXgl8PEXIRms5xKLJeuZ6UptN0fHv+jDiriG+y94X6qAgWTR0h3KaoM1wK5G5h7MHFRSig==",
+ "dev": true
+ },
+ "@babel/plugin-proposal-async-generator-functions": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.7.4.tgz",
+ "integrity": "sha512-1ypyZvGRXriY/QP668+s8sFr2mqinhkRDMPSQLNghCQE+GAkFtp+wkHVvg2+Hdki8gwP+NFzJBJ/N1BfzCCDEw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-remap-async-to-generator": "^7.7.4",
+ "@babel/plugin-syntax-async-generators": "^7.7.4"
+ }
+ },
+ "@babel/plugin-proposal-dynamic-import": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.7.4.tgz",
+ "integrity": "sha512-StH+nGAdO6qDB1l8sZ5UBV8AC3F2VW2I8Vfld73TMKyptMU9DY5YsJAS8U81+vEtxcH3Y/La0wG0btDrhpnhjQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-syntax-dynamic-import": "^7.7.4"
+ }
+ },
+ "@babel/plugin-proposal-json-strings": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.7.4.tgz",
+ "integrity": "sha512-wQvt3akcBTfLU/wYoqm/ws7YOAQKu8EVJEvHip/mzkNtjaclQoCCIqKXFP5/eyfnfbQCDV3OLRIK3mIVyXuZlw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-syntax-json-strings": "^7.7.4"
+ }
+ },
+ "@babel/plugin-proposal-object-rest-spread": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.7.4.tgz",
+ "integrity": "sha512-rnpnZR3/iWKmiQyJ3LKJpSwLDcX/nSXhdLk4Aq/tXOApIvyu7qoabrige0ylsAJffaUC51WiBu209Q0U+86OWQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-syntax-object-rest-spread": "^7.7.4"
+ }
+ },
+ "@babel/plugin-proposal-optional-catch-binding": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.7.4.tgz",
+ "integrity": "sha512-DyM7U2bnsQerCQ+sejcTNZh8KQEUuC3ufzdnVnSiUv/qoGJp2Z3hanKL18KDhsBT5Wj6a7CMT5mdyCNJsEaA9w==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-syntax-optional-catch-binding": "^7.7.4"
+ }
+ },
+ "@babel/plugin-proposal-unicode-property-regex": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.7.4.tgz",
+ "integrity": "sha512-cHgqHgYvffluZk85dJ02vloErm3Y6xtH+2noOBOJ2kXOJH3aVCDnj5eR/lVNlTnYu4hndAPJD3rTFjW3qee0PA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-create-regexp-features-plugin": "^7.7.4",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-async-generators": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.7.4.tgz",
+ "integrity": "sha512-Li4+EjSpBgxcsmeEF8IFcfV/+yJGxHXDirDkEoyFjumuwbmfCVHUt0HuowD/iGM7OhIRyXJH9YXxqiH6N815+g==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-dynamic-import": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.7.4.tgz",
+ "integrity": "sha512-jHQW0vbRGvwQNgyVxwDh4yuXu4bH1f5/EICJLAhl1SblLs2CDhrsmCk+v5XLdE9wxtAFRyxx+P//Iw+a5L/tTg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-json-strings": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.7.4.tgz",
+ "integrity": "sha512-QpGupahTQW1mHRXddMG5srgpHWqRLwJnJZKXTigB9RPFCCGbDGCgBeM/iC82ICXp414WeYx/tD54w7M2qRqTMg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-object-rest-spread": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.7.4.tgz",
+ "integrity": "sha512-mObR+r+KZq0XhRVS2BrBKBpr5jqrqzlPvS9C9vuOf5ilSwzloAl7RPWLrgKdWS6IreaVrjHxTjtyqFiOisaCwg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-optional-catch-binding": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.7.4.tgz",
+ "integrity": "sha512-4ZSuzWgFxqHRE31Glu+fEr/MirNZOMYmD/0BhBWyLyOOQz/gTAl7QmWm2hX1QxEIXsr2vkdlwxIzTyiYRC4xcQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-top-level-await": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.7.4.tgz",
+ "integrity": "sha512-wdsOw0MvkL1UIgiQ/IFr3ETcfv1xb8RMM0H9wbiDyLaJFyiDg5oZvDLCXosIXmFeIlweML5iOBXAkqddkYNizg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-arrow-functions": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.7.4.tgz",
+ "integrity": "sha512-zUXy3e8jBNPiffmqkHRNDdZM2r8DWhCB7HhcoyZjiK1TxYEluLHAvQuYnTT+ARqRpabWqy/NHkO6e3MsYB5YfA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-async-to-generator": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.7.4.tgz",
+ "integrity": "sha512-zpUTZphp5nHokuy8yLlyafxCJ0rSlFoSHypTUWgpdwoDXWQcseaect7cJ8Ppk6nunOM6+5rPMkod4OYKPR5MUg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-module-imports": "^7.7.4",
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-remap-async-to-generator": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/helper-module-imports": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.7.4.tgz",
+ "integrity": "sha512-dGcrX6K9l8258WFjyDLJwuVKxR4XZfU0/vTUgOQYWEnRD8mgr+p4d6fCUMq/ys0h4CCt/S5JhbvtyErjWouAUQ==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.7.4"
+ }
+ },
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/plugin-transform-block-scoped-functions": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.7.4.tgz",
+ "integrity": "sha512-kqtQzwtKcpPclHYjLK//3lH8OFsCDuDJBaFhVwf8kqdnF6MN4l618UDlcA7TfRs3FayrHj+svYnSX8MC9zmUyQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-block-scoping": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.7.4.tgz",
+ "integrity": "sha512-2VBe9u0G+fDt9B5OV5DQH4KBf5DoiNkwFKOz0TCvBWvdAN2rOykCTkrL+jTLxfCAm76l9Qo5OqL7HBOx2dWggg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "lodash": "^4.17.13"
+ }
+ },
+ "@babel/plugin-transform-classes": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.7.4.tgz",
+ "integrity": "sha512-sK1mjWat7K+buWRuImEzjNf68qrKcrddtpQo3swi9j7dUcG6y6R6+Di039QN2bD1dykeswlagupEmpOatFHHUg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-annotate-as-pure": "^7.7.4",
+ "@babel/helper-define-map": "^7.7.4",
+ "@babel/helper-function-name": "^7.7.4",
+ "@babel/helper-optimise-call-expression": "^7.7.4",
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-replace-supers": "^7.7.4",
+ "@babel/helper-split-export-declaration": "^7.7.4",
+ "globals": "^11.1.0"
+ }
+ },
+ "@babel/plugin-transform-computed-properties": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.7.4.tgz",
+ "integrity": "sha512-bSNsOsZnlpLLyQew35rl4Fma3yKWqK3ImWMSC/Nc+6nGjC9s5NFWAer1YQ899/6s9HxO2zQC1WoFNfkOqRkqRQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-destructuring": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.7.4.tgz",
+ "integrity": "sha512-4jFMXI1Cu2aXbcXXl8Lr6YubCn6Oc7k9lLsu8v61TZh+1jny2BWmdtvY9zSUlLdGUvcy9DMAWyZEOqjsbeg/wA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-dotall-regex": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.7.4.tgz",
+ "integrity": "sha512-mk0cH1zyMa/XHeb6LOTXTbG7uIJ8Rrjlzu91pUx/KS3JpcgaTDwMS8kM+ar8SLOvlL2Lofi4CGBAjCo3a2x+lw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-create-regexp-features-plugin": "^7.7.4",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-duplicate-keys": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.7.4.tgz",
+ "integrity": "sha512-g1y4/G6xGWMD85Tlft5XedGaZBCIVN+/P0bs6eabmcPP9egFleMAo65OOjlhcz1njpwagyY3t0nsQC9oTFegJA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-exponentiation-operator": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.7.4.tgz",
+ "integrity": "sha512-MCqiLfCKm6KEA1dglf6Uqq1ElDIZwFuzz1WH5mTf8k2uQSxEJMbOIEh7IZv7uichr7PMfi5YVSrr1vz+ipp7AQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-builder-binary-assignment-operator-visitor": "^7.7.4",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-for-of": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.7.4.tgz",
+ "integrity": "sha512-zZ1fD1B8keYtEcKF+M1TROfeHTKnijcVQm0yO/Yu1f7qoDoxEIc/+GX6Go430Bg84eM/xwPFp0+h4EbZg7epAA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-function-name": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.7.4.tgz",
+ "integrity": "sha512-E/x09TvjHNhsULs2IusN+aJNRV5zKwxu1cpirZyRPw+FyyIKEHPXTsadj48bVpc1R5Qq1B5ZkzumuFLytnbT6g==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-function-name": "^7.7.4",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-literals": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.7.4.tgz",
+ "integrity": "sha512-X2MSV7LfJFm4aZfxd0yLVFrEXAgPqYoDG53Br/tCKiKYfX0MjVjQeWPIhPHHsCqzwQANq+FLN786fF5rgLS+gw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-member-expression-literals": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.7.4.tgz",
+ "integrity": "sha512-9VMwMO7i69LHTesL0RdGy93JU6a+qOPuvB4F4d0kR0zyVjJRVJRaoaGjhtki6SzQUu8yen/vxPKN6CWnCUw6bA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-modules-amd": {
+ "version": "7.7.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.7.5.tgz",
+ "integrity": "sha512-CT57FG4A2ZUNU1v+HdvDSDrjNWBrtCmSH6YbbgN3Lrf0Di/q/lWRxZrE72p3+HCCz9UjfZOEBdphgC0nzOS6DQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-module-transforms": "^7.7.5",
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "babel-plugin-dynamic-import-node": "^2.3.0"
+ }
+ },
+ "@babel/plugin-transform-modules-commonjs": {
+ "version": "7.7.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.7.5.tgz",
+ "integrity": "sha512-9Cq4zTFExwFhQI6MT1aFxgqhIsMWQWDVwOgLzl7PTWJHsNaqFvklAU+Oz6AQLAS0dJKTwZSOCo20INwktxpi3Q==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-module-transforms": "^7.7.5",
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-simple-access": "^7.7.4",
+ "babel-plugin-dynamic-import-node": "^2.3.0"
+ }
+ },
+ "@babel/plugin-transform-modules-systemjs": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.7.4.tgz",
+ "integrity": "sha512-y2c96hmcsUi6LrMqvmNDPBBiGCiQu0aYqpHatVVu6kD4mFEXKjyNxd/drc18XXAf9dv7UXjrZwBVmTTGaGP8iw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-hoist-variables": "^7.7.4",
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "babel-plugin-dynamic-import-node": "^2.3.0"
+ }
+ },
+ "@babel/plugin-transform-modules-umd": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.7.4.tgz",
+ "integrity": "sha512-u2B8TIi0qZI4j8q4C51ktfO7E3cQ0qnaXFI1/OXITordD40tt17g/sXqgNNCcMTcBFKrUPcGDx+TBJuZxLx7tw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-module-transforms": "^7.7.4",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-named-capturing-groups-regex": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.7.4.tgz",
+ "integrity": "sha512-jBUkiqLKvUWpv9GLSuHUFYdmHg0ujC1JEYoZUfeOOfNydZXp1sXObgyPatpcwjWgsdBGsagWW0cdJpX/DO2jMw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-create-regexp-features-plugin": "^7.7.4"
+ }
+ },
+ "@babel/plugin-transform-new-target": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.7.4.tgz",
+ "integrity": "sha512-CnPRiNtOG1vRodnsyGX37bHQleHE14B9dnnlgSeEs3ek3fHN1A1SScglTCg1sfbe7sRQ2BUcpgpTpWSfMKz3gg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-object-super": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.7.4.tgz",
+ "integrity": "sha512-ho+dAEhC2aRnff2JCA0SAK7V2R62zJd/7dmtoe7MHcso4C2mS+vZjn1Pb1pCVZvJs1mgsvv5+7sT+m3Bysb6eg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-replace-supers": "^7.7.4"
+ }
+ },
+ "@babel/plugin-transform-parameters": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.7.4.tgz",
+ "integrity": "sha512-VJwhVePWPa0DqE9vcfptaJSzNDKrWU/4FbYCjZERtmqEs05g3UMXnYMZoXja7JAJ7Y7sPZipwm/pGApZt7wHlw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-call-delegate": "^7.7.4",
+ "@babel/helper-get-function-arity": "^7.7.4",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-property-literals": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.7.4.tgz",
+ "integrity": "sha512-MatJhlC4iHsIskWYyawl53KuHrt+kALSADLQQ/HkhTjX954fkxIEh4q5slL4oRAnsm/eDoZ4q0CIZpcqBuxhJQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-regenerator": {
+ "version": "7.7.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.7.5.tgz",
+ "integrity": "sha512-/8I8tPvX2FkuEyWbjRCt4qTAgZK0DVy8QRguhA524UH48RfGJy94On2ri+dCuwOpcerPRl9O4ebQkRcVzIaGBw==",
+ "dev": true,
+ "requires": {
+ "regenerator-transform": "^0.14.0"
+ }
+ },
+ "@babel/plugin-transform-reserved-words": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.7.4.tgz",
+ "integrity": "sha512-OrPiUB5s5XvkCO1lS7D8ZtHcswIC57j62acAnJZKqGGnHP+TIc/ljQSrgdX/QyOTdEK5COAhuc820Hi1q2UgLQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-shorthand-properties": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.7.4.tgz",
+ "integrity": "sha512-q+suddWRfIcnyG5YiDP58sT65AJDZSUhXQDZE3r04AuqD6d/XLaQPPXSBzP2zGerkgBivqtQm9XKGLuHqBID6Q==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-spread": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.7.4.tgz",
+ "integrity": "sha512-8OSs0FLe5/80cndziPlg4R0K6HcWSM0zyNhHhLsmw/Nc5MaA49cAsnoJ/t/YZf8qkG7fD+UjTRaApVDB526d7Q==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-sticky-regex": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.7.4.tgz",
+ "integrity": "sha512-Ls2NASyL6qtVe1H1hXts9yuEeONV2TJZmplLONkMPUG158CtmnrzW5Q5teibM5UVOFjG0D3IC5mzXR6pPpUY7A==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-regex": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-template-literals": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.7.4.tgz",
+ "integrity": "sha512-sA+KxLwF3QwGj5abMHkHgshp9+rRz+oY9uoRil4CyLtgEuE/88dpkeWgNk5qKVsJE9iSfly3nvHapdRiIS2wnQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-annotate-as-pure": "^7.7.4",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-typeof-symbol": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.7.4.tgz",
+ "integrity": "sha512-KQPUQ/7mqe2m0B8VecdyaW5XcQYaePyl9R7IsKd+irzj6jvbhoGnRE+M0aNkyAzI07VfUQ9266L5xMARitV3wg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-unicode-regex": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.7.4.tgz",
+ "integrity": "sha512-N77UUIV+WCvE+5yHw+oks3m18/umd7y392Zv7mYTpFqHtkpcc+QUz+gLJNTWVlWROIWeLqY0f3OjZxV5TcXnRw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-create-regexp-features-plugin": "^7.7.4",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/preset-env": {
+ "version": "7.7.6",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.7.6.tgz",
+ "integrity": "sha512-k5hO17iF/Q7tR9Jv8PdNBZWYW6RofxhnxKjBMc0nG4JTaWvOTiPoO/RLFwAKcA4FpmuBFm6jkoqaRJLGi0zdaQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-module-imports": "^7.7.4",
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-proposal-async-generator-functions": "^7.7.4",
+ "@babel/plugin-proposal-dynamic-import": "^7.7.4",
+ "@babel/plugin-proposal-json-strings": "^7.7.4",
+ "@babel/plugin-proposal-object-rest-spread": "^7.7.4",
+ "@babel/plugin-proposal-optional-catch-binding": "^7.7.4",
+ "@babel/plugin-proposal-unicode-property-regex": "^7.7.4",
+ "@babel/plugin-syntax-async-generators": "^7.7.4",
+ "@babel/plugin-syntax-dynamic-import": "^7.7.4",
+ "@babel/plugin-syntax-json-strings": "^7.7.4",
+ "@babel/plugin-syntax-object-rest-spread": "^7.7.4",
+ "@babel/plugin-syntax-optional-catch-binding": "^7.7.4",
+ "@babel/plugin-syntax-top-level-await": "^7.7.4",
+ "@babel/plugin-transform-arrow-functions": "^7.7.4",
+ "@babel/plugin-transform-async-to-generator": "^7.7.4",
+ "@babel/plugin-transform-block-scoped-functions": "^7.7.4",
+ "@babel/plugin-transform-block-scoping": "^7.7.4",
+ "@babel/plugin-transform-classes": "^7.7.4",
+ "@babel/plugin-transform-computed-properties": "^7.7.4",
+ "@babel/plugin-transform-destructuring": "^7.7.4",
+ "@babel/plugin-transform-dotall-regex": "^7.7.4",
+ "@babel/plugin-transform-duplicate-keys": "^7.7.4",
+ "@babel/plugin-transform-exponentiation-operator": "^7.7.4",
+ "@babel/plugin-transform-for-of": "^7.7.4",
+ "@babel/plugin-transform-function-name": "^7.7.4",
+ "@babel/plugin-transform-literals": "^7.7.4",
+ "@babel/plugin-transform-member-expression-literals": "^7.7.4",
+ "@babel/plugin-transform-modules-amd": "^7.7.5",
+ "@babel/plugin-transform-modules-commonjs": "^7.7.5",
+ "@babel/plugin-transform-modules-systemjs": "^7.7.4",
+ "@babel/plugin-transform-modules-umd": "^7.7.4",
+ "@babel/plugin-transform-named-capturing-groups-regex": "^7.7.4",
+ "@babel/plugin-transform-new-target": "^7.7.4",
+ "@babel/plugin-transform-object-super": "^7.7.4",
+ "@babel/plugin-transform-parameters": "^7.7.4",
+ "@babel/plugin-transform-property-literals": "^7.7.4",
+ "@babel/plugin-transform-regenerator": "^7.7.5",
+ "@babel/plugin-transform-reserved-words": "^7.7.4",
+ "@babel/plugin-transform-shorthand-properties": "^7.7.4",
+ "@babel/plugin-transform-spread": "^7.7.4",
+ "@babel/plugin-transform-sticky-regex": "^7.7.4",
+ "@babel/plugin-transform-template-literals": "^7.7.4",
+ "@babel/plugin-transform-typeof-symbol": "^7.7.4",
+ "@babel/plugin-transform-unicode-regex": "^7.7.4",
+ "@babel/types": "^7.7.4",
+ "browserslist": "^4.6.0",
+ "core-js-compat": "^3.4.7",
+ "invariant": "^2.2.2",
+ "js-levenshtein": "^1.1.3",
+ "semver": "^5.5.0"
+ },
+ "dependencies": {
+ "@babel/helper-module-imports": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.7.4.tgz",
+ "integrity": "sha512-dGcrX6K9l8258WFjyDLJwuVKxR4XZfU0/vTUgOQYWEnRD8mgr+p4d6fCUMq/ys0h4CCt/S5JhbvtyErjWouAUQ==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.7.4"
+ }
+ },
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ },
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "dev": true
+ }
+ }
+ },
+ "@babel/template": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.7.4.tgz",
+ "integrity": "sha512-qUzihgVPguAzXCK7WXw8pqs6cEwi54s3E+HrejlkuWO6ivMKx9hZl3Y2fSXp9i5HgyWmj7RKP+ulaYnKM4yYxw==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.0.0",
+ "@babel/parser": "^7.7.4",
+ "@babel/types": "^7.7.4"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/traverse": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.7.4.tgz",
+ "integrity": "sha512-P1L58hQyupn8+ezVA2z5KBm4/Zr4lCC8dwKCMYzsa5jFMDMQAzaBNy9W5VjB+KAmBjb40U7a/H6ao+Xo+9saIw==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.5.5",
+ "@babel/generator": "^7.7.4",
+ "@babel/helper-function-name": "^7.7.4",
+ "@babel/helper-split-export-declaration": "^7.7.4",
+ "@babel/parser": "^7.7.4",
+ "@babel/types": "^7.7.4",
+ "debug": "^4.1.0",
+ "globals": "^11.1.0",
+ "lodash": "^4.17.13"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz",
+ "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@babel/types": {
+ "version": "7.7.1",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.1.tgz",
+ "integrity": "sha512-kN/XdANDab9x1z5gcjDc9ePpxexkt+1EQ2MQUiM4XnMvQfvp87/+6kY4Ko2maLXH+tei/DgJ/ybFITeqqRwDiA==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.13",
+ "to-fast-properties": "^2.0.0"
+ }
+ },
+ "@markedjs/html-differ": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@markedjs/html-differ/-/html-differ-3.0.0.tgz",
+ "integrity": "sha512-ubvgDumynqq6PnWyEPeBqLmEcrXR5w48AlQK8uj2M9IY04GNZhQGBL7sX2UI2IW8EKX5nRimFvv2iEKyPTSc4g==",
+ "dev": true,
+ "requires": {
+ "chalk": "^2.4.2",
+ "coa": "^2.0.2",
+ "diff": "^4.0.1",
+ "parse5-sax-parser": "^5.1.0"
+ }
+ },
+ "@types/concat-stream": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@types/concat-stream/-/concat-stream-1.6.0.tgz",
+ "integrity": "sha1-OU2+C7X+5Gs42JZzXoto7yOQ0A0=",
+ "dev": true,
+ "requires": {
+ "@types/node": "*"
+ }
+ },
+ "@types/estree": {
+ "version": "0.0.39",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz",
+ "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==",
+ "dev": true
+ },
+ "@types/form-data": {
+ "version": "0.0.33",
+ "resolved": "https://registry.npmjs.org/@types/form-data/-/form-data-0.0.33.tgz",
+ "integrity": "sha1-yayFsqX9GENbjIXZ7LUObWyJP/g=",
+ "dev": true,
+ "requires": {
+ "@types/node": "*"
+ }
+ },
+ "@types/node": {
+ "version": "9.6.5",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.5.tgz",
+ "integrity": "sha512-NOLEgsT6UiDTjnWG5Hd2Mg25LRyz/oe8ql3wbjzgSFeRzRROhPmtlsvIrei4B46UjERF0td9SZ1ZXPLOdcrBHg==",
+ "dev": true
+ },
+ "@types/q": {
+ "version": "1.5.2",
+ "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.2.tgz",
+ "integrity": "sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw==",
+ "dev": true
+ },
+ "@types/qs": {
+ "version": "6.5.3",
+ "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.5.3.tgz",
+ "integrity": "sha512-Jugo5V/1bS0fRhy2z8+cUAHEyWOATaz4rbyLVvcFs7+dXp5HfwpEwzF1Q11bB10ApUqHf+yTauxI0UXQDwGrbA==",
+ "dev": true
+ },
+ "abbrev": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
+ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
+ "dev": true
+ },
+ "acorn": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz",
+ "integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==",
+ "dev": true
+ },
+ "acorn-jsx": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.1.0.tgz",
+ "integrity": "sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==",
+ "dev": true
+ },
+ "ajv": {
+ "version": "6.10.2",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz",
+ "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==",
+ "dev": true,
+ "requires": {
+ "fast-deep-equal": "^2.0.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ }
+ },
+ "ansi-escapes": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.0.tgz",
+ "integrity": "sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg==",
+ "dev": true,
+ "requires": {
+ "type-fest": "^0.8.1"
+ }
+ },
+ "ansi-regex": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
+ "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
+ "dev": true
+ },
+ "ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dev": true,
+ "requires": {
+ "color-convert": "^1.9.0"
+ }
+ },
+ "argparse": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.9.tgz",
+ "integrity": "sha1-c9g7wmP4bpf4zE9rrhsOkKfSLIY=",
+ "dev": true,
+ "requires": {
+ "sprintf-js": "~1.0.2"
+ }
+ },
+ "array-find-index": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz",
+ "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=",
+ "dev": true
+ },
+ "array-includes": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.0.tgz",
+ "integrity": "sha512-ONOEQoKrvXPKk7Su92Co0YMqYO32FfqJTzkKU9u2UpIXyYZIzLSvpdg4AwvSw4mSUW0czu6inK+zby6Oj6gDjQ==",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.0-next.0"
+ }
+ },
+ "array.prototype.flat": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.2.tgz",
+ "integrity": "sha512-VXjh7lAL4KXKF2hY4FnEW9eRW6IhdvFW1sN/JwLbmECbCgACCnBHNyP3lFiYuttr0jxRN9Bsc5+G27dMseSWqQ==",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.15.0",
+ "function-bind": "^1.1.1"
+ },
+ "dependencies": {
+ "es-abstract": {
+ "version": "1.16.3",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.16.3.tgz",
+ "integrity": "sha512-WtY7Fx5LiOnSYgF5eg/1T+GONaGmpvpPdCpSnYij+U2gDTL0UPfWrhDw7b2IYb+9NQJsYpCA0wOQvZfsd6YwRw==",
+ "dev": true,
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.1.4",
+ "is-regex": "^1.0.4",
+ "object-inspect": "^1.7.0",
+ "object-keys": "^1.1.1",
+ "string.prototype.trimleft": "^2.1.0",
+ "string.prototype.trimright": "^2.1.0"
+ }
+ }
+ }
+ },
+ "asap": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
+ "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=",
+ "dev": true
+ },
+ "astral-regex": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz",
+ "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==",
+ "dev": true
+ },
+ "asynckit": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
+ "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=",
+ "dev": true
+ },
+ "babel-plugin-dynamic-import-node": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.0.tgz",
+ "integrity": "sha512-o6qFkpeQEBxcqt0XYlWzAVxNCSCZdUgcR8IRlhD/8DylxjjO4foPcvTW0GGKa/cVt3rvxZ7o5ippJ+/0nvLhlQ==",
+ "dev": true,
+ "requires": {
+ "object.assign": "^4.1.0"
+ }
+ },
+ "balanced-match": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
+ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
+ "dev": true
+ },
+ "boolbase": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
+ "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=",
+ "dev": true
+ },
+ "brace-expansion": {
+ "version": "1.1.8",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz",
+ "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=",
+ "dev": true,
+ "requires": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "browserslist": {
+ "version": "4.8.2",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.8.2.tgz",
+ "integrity": "sha512-+M4oeaTplPm/f1pXDw84YohEv7B1i/2Aisei8s4s6k3QsoSHa7i5sz8u/cGQkkatCPxMASKxPualR4wwYgVboA==",
+ "dev": true,
+ "requires": {
+ "caniuse-lite": "^1.0.30001015",
+ "electron-to-chromium": "^1.3.322",
+ "node-releases": "^1.1.42"
+ }
+ },
+ "buffer-from": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
+ "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",
+ "dev": true
+ },
+ "callsites": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "dev": true
+ },
+ "caniuse-lite": {
+ "version": "1.0.30001015",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001015.tgz",
+ "integrity": "sha512-/xL2AbW/XWHNu1gnIrO8UitBGoFthcsDgU9VLK1/dpsoxbaD5LscHozKze05R6WLsBvLhqv78dAPozMFQBYLbQ==",
+ "dev": true
+ },
+ "caseless": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
+ "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dev": true,
+ "requires": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ }
+ },
+ "chardet": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
+ "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==",
+ "dev": true
+ },
+ "cheerio": {
+ "version": "1.0.0-rc.3",
+ "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.3.tgz",
+ "integrity": "sha512-0td5ijfUPuubwLUu0OBoe98gZj8C/AA+RW3v67GPlGOrvxWjZmBXiBCRU+I8VEiNyJzjth40POfHiz2RB3gImA==",
+ "dev": true,
+ "requires": {
+ "css-select": "~1.2.0",
+ "dom-serializer": "~0.1.1",
+ "entities": "~1.1.1",
+ "htmlparser2": "^3.9.1",
+ "lodash": "^4.15.0",
+ "parse5": "^3.0.1"
+ },
+ "dependencies": {
+ "parse5": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz",
+ "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==",
+ "dev": true,
+ "requires": {
+ "@types/node": "*"
+ }
+ }
+ }
+ },
+ "cli-cursor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
+ "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==",
+ "dev": true,
+ "requires": {
+ "restore-cursor": "^3.1.0"
+ }
+ },
+ "cli-width": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz",
+ "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=",
+ "dev": true
+ },
+ "coa": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/coa/-/coa-2.0.2.tgz",
+ "integrity": "sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA==",
+ "dev": true,
+ "requires": {
+ "@types/q": "^1.5.1",
+ "chalk": "^2.4.1",
+ "q": "^1.1.2"
+ }
+ },
+ "color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dev": true,
+ "requires": {
+ "color-name": "1.1.3"
+ }
+ },
+ "color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
+ "dev": true
+ },
+ "combined-stream": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
+ "dev": true,
+ "requires": {
+ "delayed-stream": "~1.0.0"
+ }
+ },
+ "commander": {
+ "version": "2.20.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
+ "dev": true
+ },
+ "commenting": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/commenting/-/commenting-1.1.0.tgz",
+ "integrity": "sha512-YeNK4tavZwtH7jEgK1ZINXzLKm6DZdEMfsaaieOsCAN0S8vsY7UeuO3Q7d/M018EFgE+IeUAuBOKkFccBZsUZA==",
+ "dev": true
+ },
+ "commonmark": {
+ "version": "0.29.0",
+ "resolved": "https://registry.npmjs.org/commonmark/-/commonmark-0.29.0.tgz",
+ "integrity": "sha512-Wc3kvAIm0EK85pHsM95Fev31wEN6/zQpwd2qcLDL8psjHRoUFvUeGHevIJAdToWUuFoX8WI/gmeDauqy32xgJQ==",
+ "dev": true,
+ "requires": {
+ "entities": "~ 1.1.1",
+ "mdurl": "~ 1.0.1",
+ "minimist": "~ 1.2.0",
+ "string.prototype.repeat": "^0.2.0"
+ }
+ },
+ "concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
+ "dev": true
+ },
+ "concat-stream": {
+ "version": "1.6.2",
+ "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",
+ "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",
+ "dev": true,
+ "requires": {
+ "buffer-from": "^1.0.0",
+ "inherits": "^2.0.3",
+ "readable-stream": "^2.2.2",
+ "typedarray": "^0.0.6"
+ },
+ "dependencies": {
+ "readable-stream": {
+ "version": "2.3.6",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
+ "dev": true,
+ "requires": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.3",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
+ "util-deprecate": "~1.0.1"
+ }
+ },
+ "string_decoder": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
+ "dev": true,
+ "requires": {
+ "safe-buffer": "~5.1.0"
+ }
+ }
+ }
+ },
+ "contains-path": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz",
+ "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=",
+ "dev": true
+ },
+ "convert-source-map": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz",
+ "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==",
+ "dev": true,
+ "requires": {
+ "safe-buffer": "~5.1.1"
+ }
+ },
+ "core-js-compat": {
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.5.0.tgz",
+ "integrity": "sha512-E7iJB72svRjJTnm9HDvujzNVMCm3ZcDYEedkJ/sDTNsy/0yooCd9Cg7GSzE7b4e0LfIkjijdB1tqg0pGwxWeWg==",
+ "dev": true,
+ "requires": {
+ "browserslist": "^4.8.2",
+ "semver": "^6.3.0"
+ }
+ },
+ "core-util-is": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
+ "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
+ "dev": true
+ },
+ "cross-spawn": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
+ "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
+ "dev": true,
+ "requires": {
+ "nice-try": "^1.0.4",
+ "path-key": "^2.0.1",
+ "semver": "^5.5.0",
+ "shebang-command": "^1.2.0",
+ "which": "^1.2.9"
+ },
+ "dependencies": {
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "dev": true
+ }
+ }
+ },
+ "css-select": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz",
+ "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=",
+ "dev": true,
+ "requires": {
+ "boolbase": "~1.0.0",
+ "css-what": "2.1",
+ "domutils": "1.5.1",
+ "nth-check": "~1.0.1"
+ }
+ },
+ "css-what": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz",
+ "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==",
+ "dev": true
+ },
+ "debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "dev": true,
+ "requires": {
+ "ms": "^2.1.1"
+ }
+ },
+ "deep-is": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz",
+ "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=",
+ "dev": true
+ },
+ "define-properties": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
+ "dev": true,
+ "requires": {
+ "object-keys": "^1.0.12"
+ }
+ },
+ "delayed-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
+ "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
+ "dev": true
+ },
+ "diff": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.1.tgz",
+ "integrity": "sha512-s2+XdvhPCOF01LRQBC8hf4vhbVmI2CGS5aZnxLJlT5FtdhPCDFq80q++zK2KlrVorVDdL5BOGZ/VfLrVtYNF+Q==",
+ "dev": true
+ },
+ "doctrine": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
+ "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2"
+ }
+ },
+ "dom-serializer": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz",
+ "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==",
+ "dev": true,
+ "requires": {
+ "domelementtype": "^1.3.0",
+ "entities": "^1.1.1"
+ }
+ },
+ "domelementtype": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz",
+ "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==",
+ "dev": true
+ },
+ "domhandler": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz",
+ "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==",
+ "dev": true,
+ "requires": {
+ "domelementtype": "1"
+ }
+ },
+ "domutils": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz",
+ "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=",
+ "dev": true,
+ "requires": {
+ "dom-serializer": "0",
+ "domelementtype": "1"
+ }
+ },
+ "electron-to-chromium": {
+ "version": "1.3.322",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.322.tgz",
+ "integrity": "sha512-Tc8JQEfGQ1MzfSzI/bTlSr7btJv/FFO7Yh6tanqVmIWOuNCu6/D1MilIEgLtmWqIrsv+o4IjpLAhgMBr/ncNAA==",
+ "dev": true
+ },
+ "emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "dev": true
+ },
+ "entities": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.1.tgz",
+ "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA=",
+ "dev": true
+ },
+ "error-ex": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
+ "dev": true,
+ "requires": {
+ "is-arrayish": "^0.2.1"
+ }
+ },
+ "es-abstract": {
+ "version": "1.17.0-next.1",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.0-next.1.tgz",
+ "integrity": "sha512-7MmGr03N7Rnuid6+wyhD9sHNE2n4tFSwExnU2lQl3lIo2ShXWGePY80zYaoMOmILWv57H0amMjZGHNzzGG70Rw==",
+ "dev": true,
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.1.4",
+ "is-regex": "^1.0.4",
+ "object-inspect": "^1.7.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.0",
+ "string.prototype.trimleft": "^2.1.0",
+ "string.prototype.trimright": "^2.1.0"
+ }
+ },
+ "es-to-primitive": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
+ "dev": true,
+ "requires": {
+ "is-callable": "^1.1.4",
+ "is-date-object": "^1.0.1",
+ "is-symbol": "^1.0.2"
+ }
+ },
+ "escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
+ "dev": true
+ },
+ "eslint": {
+ "version": "6.7.2",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.7.2.tgz",
+ "integrity": "sha512-qMlSWJaCSxDFr8fBPvJM9kJwbazrhNcBU3+DszDW1OlEwKBBRWsJc7NJFelvwQpanHCR14cOLD41x8Eqvo3Nng==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.0.0",
+ "ajv": "^6.10.0",
+ "chalk": "^2.1.0",
+ "cross-spawn": "^6.0.5",
+ "debug": "^4.0.1",
+ "doctrine": "^3.0.0",
+ "eslint-scope": "^5.0.0",
+ "eslint-utils": "^1.4.3",
+ "eslint-visitor-keys": "^1.1.0",
+ "espree": "^6.1.2",
+ "esquery": "^1.0.1",
+ "esutils": "^2.0.2",
+ "file-entry-cache": "^5.0.1",
+ "functional-red-black-tree": "^1.0.1",
+ "glob-parent": "^5.0.0",
+ "globals": "^12.1.0",
+ "ignore": "^4.0.6",
+ "import-fresh": "^3.0.0",
+ "imurmurhash": "^0.1.4",
+ "inquirer": "^7.0.0",
+ "is-glob": "^4.0.0",
+ "js-yaml": "^3.13.1",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "levn": "^0.3.0",
+ "lodash": "^4.17.14",
+ "minimatch": "^3.0.4",
+ "mkdirp": "^0.5.1",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.8.3",
+ "progress": "^2.0.0",
+ "regexpp": "^2.0.1",
+ "semver": "^6.1.2",
+ "strip-ansi": "^5.2.0",
+ "strip-json-comments": "^3.0.1",
+ "table": "^5.2.3",
+ "text-table": "^0.2.0",
+ "v8-compile-cache": "^2.0.3"
+ },
+ "dependencies": {
+ "eslint-utils": {
+ "version": "1.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz",
+ "integrity": "sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==",
+ "dev": true,
+ "requires": {
+ "eslint-visitor-keys": "^1.1.0"
+ }
+ },
+ "globals": {
+ "version": "12.3.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-12.3.0.tgz",
+ "integrity": "sha512-wAfjdLgFsPZsklLJvOBUBmzYE8/CwhEqSBEMRXA3qxIiNtyqvjYurAtIfDh6chlEPUfmTY3MnZh5Hfh4q0UlIw==",
+ "dev": true,
+ "requires": {
+ "type-fest": "^0.8.1"
+ }
+ }
+ }
+ },
+ "eslint-config-standard": {
+ "version": "14.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-14.1.0.tgz",
+ "integrity": "sha512-EF6XkrrGVbvv8hL/kYa/m6vnvmUT+K82pJJc4JJVMM6+Qgqh0pnwprSxdduDLB9p/7bIxD+YV5O0wfb8lmcPbA==",
+ "dev": true
+ },
+ "eslint-import-resolver-node": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz",
+ "integrity": "sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==",
+ "dev": true,
+ "requires": {
+ "debug": "^2.6.9",
+ "resolve": "^1.5.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dev": true,
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
+ "dev": true
+ }
+ }
+ },
+ "eslint-module-utils": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.5.0.tgz",
+ "integrity": "sha512-kCo8pZaNz2dsAW7nCUjuVoI11EBXXpIzfNxmaoLhXoRDOnqXLC4iSGVRdZPhOitfbdEfMEfKOiENaK6wDPZEGw==",
+ "dev": true,
+ "requires": {
+ "debug": "^2.6.9",
+ "pkg-dir": "^2.0.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dev": true,
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
+ "dev": true
+ }
+ }
+ },
+ "eslint-plugin-es": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-2.0.0.tgz",
+ "integrity": "sha512-f6fceVtg27BR02EYnBhgWLFQfK6bN4Ll0nQFrBHOlCsAyxeZkn0NHns5O0YZOPrV1B3ramd6cgFwaoFLcSkwEQ==",
+ "dev": true,
+ "requires": {
+ "eslint-utils": "^1.4.2",
+ "regexpp": "^3.0.0"
+ },
+ "dependencies": {
+ "regexpp": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.0.0.tgz",
+ "integrity": "sha512-Z+hNr7RAVWxznLPuA7DIh8UNX1j9CDrUQxskw9IrBE1Dxue2lyXT+shqEIeLUjrokxIP8CMy1WkjgG3rTsd5/g==",
+ "dev": true
+ }
+ }
+ },
+ "eslint-plugin-import": {
+ "version": "2.19.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.19.1.tgz",
+ "integrity": "sha512-x68131aKoCZlCae7rDXKSAQmbT5DQuManyXo2sK6fJJ0aK5CWAkv6A6HJZGgqC8IhjQxYPgo6/IY4Oz8AFsbBw==",
+ "dev": true,
+ "requires": {
+ "array-includes": "^3.0.3",
+ "array.prototype.flat": "^1.2.1",
+ "contains-path": "^0.1.0",
+ "debug": "^2.6.9",
+ "doctrine": "1.5.0",
+ "eslint-import-resolver-node": "^0.3.2",
+ "eslint-module-utils": "^2.4.1",
+ "has": "^1.0.3",
+ "minimatch": "^3.0.4",
+ "object.values": "^1.1.0",
+ "read-pkg-up": "^2.0.0",
+ "resolve": "^1.12.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dev": true,
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "doctrine": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz",
+ "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "isarray": "^1.0.0"
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
+ "dev": true
+ },
+ "resolve": {
+ "version": "1.13.1",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.13.1.tgz",
+ "integrity": "sha512-CxqObCX8K8YtAhOBRg+lrcdn+LK+WYOS8tSjqSFbjtrI5PnS63QPhZl4+yKfrU9tdsbMu9Anr/amegT87M9Z6w==",
+ "dev": true,
+ "requires": {
+ "path-parse": "^1.0.6"
+ }
+ }
+ }
+ },
+ "eslint-plugin-node": {
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-10.0.0.tgz",
+ "integrity": "sha512-1CSyM/QCjs6PXaT18+zuAXsjXGIGo5Rw630rSKwokSs2jrYURQc4R5JZpoanNCqwNmepg+0eZ9L7YiRUJb8jiQ==",
+ "dev": true,
+ "requires": {
+ "eslint-plugin-es": "^2.0.0",
+ "eslint-utils": "^1.4.2",
+ "ignore": "^5.1.1",
+ "minimatch": "^3.0.4",
+ "resolve": "^1.10.1",
+ "semver": "^6.1.0"
+ },
+ "dependencies": {
+ "ignore": {
+ "version": "5.1.4",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz",
+ "integrity": "sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A==",
+ "dev": true
+ }
+ }
+ },
+ "eslint-plugin-promise": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-4.2.1.tgz",
+ "integrity": "sha512-VoM09vT7bfA7D+upt+FjeBO5eHIJQBUWki1aPvB+vbNiHS3+oGIJGIeyBtKQTME6UPXXy3vV07OL1tHd3ANuDw==",
+ "dev": true
+ },
+ "eslint-plugin-standard": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-4.0.1.tgz",
+ "integrity": "sha512-v/KBnfyaOMPmZc/dmc6ozOdWqekGp7bBGq4jLAecEfPGmfKiWS4sA8sC0LqiV9w5qmXAtXVn4M3p1jSyhY85SQ==",
+ "dev": true
+ },
+ "eslint-scope": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz",
+ "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==",
+ "dev": true,
+ "requires": {
+ "esrecurse": "^4.1.0",
+ "estraverse": "^4.1.1"
+ }
+ },
+ "eslint-utils": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.2.tgz",
+ "integrity": "sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q==",
+ "dev": true,
+ "requires": {
+ "eslint-visitor-keys": "^1.0.0"
+ }
+ },
+ "eslint-visitor-keys": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz",
+ "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==",
+ "dev": true
+ },
+ "espree": {
+ "version": "6.1.2",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-6.1.2.tgz",
+ "integrity": "sha512-2iUPuuPP+yW1PZaMSDM9eyVf8D5P0Hi8h83YtZ5bPc/zHYjII5khoixIUTMO794NOY8F/ThF1Bo8ncZILarUTA==",
+ "dev": true,
+ "requires": {
+ "acorn": "^7.1.0",
+ "acorn-jsx": "^5.1.0",
+ "eslint-visitor-keys": "^1.1.0"
+ }
+ },
+ "esprima": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
+ "dev": true
+ },
+ "esquery": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz",
+ "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==",
+ "dev": true,
+ "requires": {
+ "estraverse": "^4.0.0"
+ }
+ },
+ "esrecurse": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz",
+ "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==",
+ "dev": true,
+ "requires": {
+ "estraverse": "^4.1.0"
+ }
+ },
+ "estraverse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
+ "dev": true
+ },
+ "estree-walker": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz",
+ "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==",
+ "dev": true
+ },
+ "esutils": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
+ "dev": true
+ },
+ "external-editor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz",
+ "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==",
+ "dev": true,
+ "requires": {
+ "chardet": "^0.7.0",
+ "iconv-lite": "^0.4.24",
+ "tmp": "^0.0.33"
+ }
+ },
+ "fast-deep-equal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
+ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
+ "dev": true
+ },
+ "fast-json-stable-stringify": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz",
+ "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=",
+ "dev": true
+ },
+ "fast-levenshtein": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
+ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
+ "dev": true
+ },
+ "figures": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/figures/-/figures-3.1.0.tgz",
+ "integrity": "sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg==",
+ "dev": true,
+ "requires": {
+ "escape-string-regexp": "^1.0.5"
+ }
+ },
+ "file-entry-cache": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz",
+ "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==",
+ "dev": true,
+ "requires": {
+ "flat-cache": "^2.0.1"
+ }
+ },
+ "find-up": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
+ "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
+ "dev": true,
+ "requires": {
+ "locate-path": "^2.0.0"
+ }
+ },
+ "flat-cache": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz",
+ "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==",
+ "dev": true,
+ "requires": {
+ "flatted": "^2.0.0",
+ "rimraf": "2.6.3",
+ "write": "1.0.3"
+ }
+ },
+ "flatted": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz",
+ "integrity": "sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==",
+ "dev": true
+ },
+ "form-data": {
+ "version": "2.5.1",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz",
+ "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==",
+ "dev": true,
+ "requires": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.6",
+ "mime-types": "^2.1.12"
+ }
+ },
+ "front-matter": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/front-matter/-/front-matter-3.0.2.tgz",
+ "integrity": "sha512-iBGZaWyzqgsrPGsqrXZP6N4hp5FzSKDi18nfAoYpgz3qK5sAwFv/ojmn3VS60SOgLvq6CtojNqy0y6ZNz05IzQ==",
+ "dev": true,
+ "requires": {
+ "js-yaml": "^3.13.1"
+ }
+ },
+ "fs.realpath": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
+ "dev": true
+ },
+ "function-bind": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
+ "dev": true
+ },
+ "functional-red-black-tree": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
+ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=",
+ "dev": true
+ },
+ "get-port": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz",
+ "integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=",
+ "dev": true
+ },
+ "glob": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
+ "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
+ "dev": true,
+ "requires": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
+ },
+ "glob-parent": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz",
+ "integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==",
+ "dev": true,
+ "requires": {
+ "is-glob": "^4.0.1"
+ }
+ },
+ "globals": {
+ "version": "11.12.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "dev": true
+ },
+ "graceful-fs": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz",
+ "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==",
+ "dev": true
+ },
+ "has": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
+ "dev": true,
+ "requires": {
+ "function-bind": "^1.1.1"
+ }
+ },
+ "has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
+ "dev": true
+ },
+ "has-symbols": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
+ "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
+ "dev": true
+ },
+ "hosted-git-info": {
+ "version": "2.8.5",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz",
+ "integrity": "sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==",
+ "dev": true
+ },
+ "htmlparser2": {
+ "version": "3.10.1",
+ "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz",
+ "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==",
+ "dev": true,
+ "requires": {
+ "domelementtype": "^1.3.1",
+ "domhandler": "^2.3.0",
+ "domutils": "^1.5.1",
+ "entities": "^1.1.1",
+ "inherits": "^2.0.1",
+ "readable-stream": "^3.1.1"
+ }
+ },
+ "http-basic": {
+ "version": "8.1.3",
+ "resolved": "https://registry.npmjs.org/http-basic/-/http-basic-8.1.3.tgz",
+ "integrity": "sha512-/EcDMwJZh3mABI2NhGfHOGOeOZITqfkEO4p/xK+l3NpyncIHUQBoMvCSF/b5GqvKtySC2srL/GGG3+EtlqlmCw==",
+ "dev": true,
+ "requires": {
+ "caseless": "^0.12.0",
+ "concat-stream": "^1.6.2",
+ "http-response-object": "^3.0.1",
+ "parse-cache-control": "^1.0.1"
+ }
+ },
+ "http-response-object": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/http-response-object/-/http-response-object-3.0.2.tgz",
+ "integrity": "sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==",
+ "dev": true,
+ "requires": {
+ "@types/node": "^10.0.3"
+ },
+ "dependencies": {
+ "@types/node": {
+ "version": "10.17.4",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.4.tgz",
+ "integrity": "sha512-F2pgg+LcIr/elguz+x+fdBX5KeZXGUOp7TV8M0TVIrDezYLFRNt8oMTyps0VQ1kj5WGGoR18RdxnRDHXrIFHMQ==",
+ "dev": true
+ }
+ }
+ },
+ "iconv-lite": {
+ "version": "0.4.24",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
+ "dev": true,
+ "requires": {
+ "safer-buffer": ">= 2.1.2 < 3"
+ }
+ },
+ "ignore": {
+ "version": "4.0.6",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
+ "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
+ "dev": true
+ },
+ "import-fresh": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",
+ "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==",
+ "dev": true,
+ "requires": {
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
+ }
+ },
+ "imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=",
+ "dev": true
+ },
+ "inflight": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
+ "dev": true,
+ "requires": {
+ "once": "^1.3.0",
+ "wrappy": "1"
+ }
+ },
+ "inherits": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
+ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
+ "dev": true
+ },
+ "inquirer": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.0.0.tgz",
+ "integrity": "sha512-rSdC7zelHdRQFkWnhsMu2+2SO41mpv2oF2zy4tMhmiLWkcKbOAs87fWAJhVXttKVwhdZvymvnuM95EyEXg2/tQ==",
+ "dev": true,
+ "requires": {
+ "ansi-escapes": "^4.2.1",
+ "chalk": "^2.4.2",
+ "cli-cursor": "^3.1.0",
+ "cli-width": "^2.0.0",
+ "external-editor": "^3.0.3",
+ "figures": "^3.0.0",
+ "lodash": "^4.17.15",
+ "mute-stream": "0.0.8",
+ "run-async": "^2.2.0",
+ "rxjs": "^6.4.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^5.1.0",
+ "through": "^2.3.6"
+ },
+ "dependencies": {
+ "lodash": {
+ "version": "4.17.15",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
+ "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
+ "dev": true
+ }
+ }
+ },
+ "invariant": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
+ "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",
+ "dev": true,
+ "requires": {
+ "loose-envify": "^1.0.0"
+ }
+ },
+ "is-arrayish": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
+ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=",
+ "dev": true
+ },
+ "is-callable": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz",
+ "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==",
+ "dev": true
+ },
+ "is-date-object": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz",
+ "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=",
+ "dev": true
+ },
+ "is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
+ "dev": true
+ },
+ "is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "dev": true
+ },
+ "is-glob": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
+ "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
+ "dev": true,
+ "requires": {
+ "is-extglob": "^2.1.1"
+ }
+ },
+ "is-promise": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz",
+ "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=",
+ "dev": true
+ },
+ "is-reference": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.1.4.tgz",
+ "integrity": "sha512-uJA/CDPO3Tao3GTrxYn6AwkM4nUPJiGGYu5+cB8qbC7WGFlrKZbiRo7SFKxUAEpFUfiHofWCXBUNhvYJMh+6zw==",
+ "dev": true,
+ "requires": {
+ "@types/estree": "0.0.39"
+ }
+ },
+ "is-regex": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz",
+ "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=",
+ "dev": true,
+ "requires": {
+ "has": "^1.0.1"
+ }
+ },
+ "is-symbol": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
+ "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
+ "dev": true,
+ "requires": {
+ "has-symbols": "^1.0.1"
+ }
+ },
+ "isarray": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
+ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
+ "dev": true
+ },
+ "isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
+ "dev": true
+ },
+ "jasmine": {
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-3.5.0.tgz",
+ "integrity": "sha512-DYypSryORqzsGoMazemIHUfMkXM7I7easFaxAvNM3Mr6Xz3Fy36TupTrAOxZWN8MVKEU5xECv22J4tUQf3uBzQ==",
+ "dev": true,
+ "requires": {
+ "glob": "^7.1.4",
+ "jasmine-core": "~3.5.0"
+ }
+ },
+ "jasmine-core": {
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.5.0.tgz",
+ "integrity": "sha512-nCeAiw37MIMA9w9IXso7bRaLl+c/ef3wnxsoSAlYrzS+Ot0zTG6nU8G/cIfGkqpkjX2wNaIW9RFG0TwIFnG6bA==",
+ "dev": true
+ },
+ "js-levenshtein": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.6.tgz",
+ "integrity": "sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g==",
+ "dev": true
+ },
+ "js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "dev": true
+ },
+ "js-yaml": {
+ "version": "3.13.1",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
+ "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
+ "dev": true,
+ "requires": {
+ "argparse": "^1.0.7",
+ "esprima": "^4.0.0"
+ }
+ },
+ "jsesc": {
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
+ "dev": true
+ },
+ "json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true
+ },
+ "json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
+ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=",
+ "dev": true
+ },
+ "json5": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.1.tgz",
+ "integrity": "sha512-l+3HXD0GEI3huGq1njuqtzYK8OYJyXMkOLtQ53pjWh89tvWS2h6l+1zMkYWqlb57+SiQodKZyvMEFb2X+KrFhQ==",
+ "dev": true,
+ "requires": {
+ "minimist": "^1.2.0"
+ }
+ },
+ "levn": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
+ "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=",
+ "dev": true,
+ "requires": {
+ "prelude-ls": "~1.1.2",
+ "type-check": "~0.3.2"
+ }
+ },
+ "linkify-it": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz",
+ "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==",
+ "dev": true,
+ "requires": {
+ "uc.micro": "^1.0.1"
+ }
+ },
+ "load-json-file": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
+ "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=",
+ "dev": true,
+ "requires": {
+ "graceful-fs": "^4.1.2",
+ "parse-json": "^2.2.0",
+ "pify": "^2.0.0",
+ "strip-bom": "^3.0.0"
+ }
+ },
+ "locate-path": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz",
+ "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=",
+ "dev": true,
+ "requires": {
+ "p-locate": "^2.0.0",
+ "path-exists": "^3.0.0"
+ }
+ },
+ "lodash": {
+ "version": "4.17.14",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.14.tgz",
+ "integrity": "sha512-mmKYbW3GLuJeX+iGP+Y7Gp1AiGHGbXHCOh/jZmrawMmsE7MS4znI3RL2FsjbqOyMayHInjOeykW7PEajUk1/xw==",
+ "dev": true
+ },
+ "loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "dev": true,
+ "requires": {
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ }
+ },
+ "magic-string": {
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.4.tgz",
+ "integrity": "sha512-oycWO9nEVAP2RVPbIoDoA4Y7LFIJ3xRYov93gAyJhZkET1tNuB0u7uWkZS2LpBWTJUWnmau/To8ECWRC+jKNfw==",
+ "dev": true,
+ "requires": {
+ "sourcemap-codec": "^1.4.4"
+ }
+ },
+ "markdown": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/markdown/-/markdown-0.5.0.tgz",
+ "integrity": "sha1-KCBbVlqK51kt4gdGPWY33BgnIrI=",
+ "dev": true,
+ "requires": {
+ "nopt": "~2.1.1"
+ }
+ },
+ "markdown-it": {
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-10.0.0.tgz",
+ "integrity": "sha512-YWOP1j7UbDNz+TumYP1kpwnP0aEa711cJjrAQrzd0UXlbJfc5aAq0F/PZHjiioqDC1NKgvIMX+o+9Bk7yuM2dg==",
+ "dev": true,
+ "requires": {
+ "argparse": "^1.0.7",
+ "entities": "~2.0.0",
+ "linkify-it": "^2.0.0",
+ "mdurl": "^1.0.1",
+ "uc.micro": "^1.0.5"
+ },
+ "dependencies": {
+ "entities": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.0.tgz",
+ "integrity": "sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw==",
+ "dev": true
+ }
+ }
+ },
+ "mdurl": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz",
+ "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=",
+ "dev": true
+ },
+ "mime-db": {
+ "version": "1.40.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz",
+ "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==",
+ "dev": true
+ },
+ "mime-types": {
+ "version": "2.1.24",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz",
+ "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==",
+ "dev": true,
+ "requires": {
+ "mime-db": "1.40.0"
+ }
+ },
+ "mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "dev": true
+ },
+ "minimatch": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
+ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
+ "dev": true,
+ "requires": {
+ "brace-expansion": "^1.1.7"
+ }
+ },
+ "minimist": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
+ "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
+ "dev": true
+ },
+ "mkdirp": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
+ "dev": true,
+ "requires": {
+ "minimist": "0.0.8"
+ },
+ "dependencies": {
+ "minimist": {
+ "version": "0.0.8",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
+ "dev": true
+ }
+ }
+ },
+ "moment": {
+ "version": "2.24.0",
+ "resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz",
+ "integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==",
+ "dev": true
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true
+ },
+ "mute-stream": {
+ "version": "0.0.8",
+ "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
+ "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==",
+ "dev": true
+ },
+ "natural-compare": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
+ "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
+ "dev": true
+ },
+ "nice-try": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
+ "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
+ "dev": true
+ },
+ "node-fetch": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
+ "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==",
+ "dev": true
+ },
+ "node-releases": {
+ "version": "1.1.42",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.42.tgz",
+ "integrity": "sha512-OQ/ESmUqGawI2PRX+XIRao44qWYBBfN54ImQYdWVTQqUckuejOg76ysSqDBK8NG3zwySRVnX36JwDQ6x+9GxzA==",
+ "dev": true,
+ "requires": {
+ "semver": "^6.3.0"
+ }
+ },
+ "nopt": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/nopt/-/nopt-2.1.2.tgz",
+ "integrity": "sha1-bMzZd7gBMqB3MdbozljCyDA8+a8=",
+ "dev": true,
+ "requires": {
+ "abbrev": "1"
+ }
+ },
+ "normalize-package-data": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
+ "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
+ "dev": true,
+ "requires": {
+ "hosted-git-info": "^2.1.4",
+ "resolve": "^1.10.0",
+ "semver": "2 || 3 || 4 || 5",
+ "validate-npm-package-license": "^3.0.1"
+ },
+ "dependencies": {
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "dev": true
+ }
+ }
+ },
+ "nth-check": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",
+ "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==",
+ "dev": true,
+ "requires": {
+ "boolbase": "~1.0.0"
+ }
+ },
+ "object-inspect": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz",
+ "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==",
+ "dev": true
+ },
+ "object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "dev": true
+ },
+ "object.assign": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",
+ "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.2",
+ "function-bind": "^1.1.1",
+ "has-symbols": "^1.0.0",
+ "object-keys": "^1.0.11"
+ }
+ },
+ "object.values": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.0.tgz",
+ "integrity": "sha512-8mf0nKLAoFX6VlNVdhGj31SVYpaNFtUnuoOXWyFEstsWRgU837AK+JYM0iAxwkSzGRbwn8cbFmgbyxj1j4VbXg==",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.12.0",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3"
+ },
+ "dependencies": {
+ "es-abstract": {
+ "version": "1.16.3",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.16.3.tgz",
+ "integrity": "sha512-WtY7Fx5LiOnSYgF5eg/1T+GONaGmpvpPdCpSnYij+U2gDTL0UPfWrhDw7b2IYb+9NQJsYpCA0wOQvZfsd6YwRw==",
+ "dev": true,
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.1.4",
+ "is-regex": "^1.0.4",
+ "object-inspect": "^1.7.0",
+ "object-keys": "^1.1.1",
+ "string.prototype.trimleft": "^2.1.0",
+ "string.prototype.trimright": "^2.1.0"
+ }
+ }
+ }
+ },
+ "once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
+ "dev": true,
+ "requires": {
+ "wrappy": "1"
+ }
+ },
+ "onetime": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz",
+ "integrity": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==",
+ "dev": true,
+ "requires": {
+ "mimic-fn": "^2.1.0"
+ }
+ },
+ "optionator": {
+ "version": "0.8.3",
+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz",
+ "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==",
+ "dev": true,
+ "requires": {
+ "deep-is": "~0.1.3",
+ "fast-levenshtein": "~2.0.6",
+ "levn": "~0.3.0",
+ "prelude-ls": "~1.1.2",
+ "type-check": "~0.3.2",
+ "word-wrap": "~1.2.3"
+ }
+ },
+ "os-tmpdir": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
+ "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
+ "dev": true
+ },
+ "p-limit": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
+ "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
+ "dev": true,
+ "requires": {
+ "p-try": "^1.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz",
+ "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
+ "dev": true,
+ "requires": {
+ "p-limit": "^1.1.0"
+ }
+ },
+ "p-try": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",
+ "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=",
+ "dev": true
+ },
+ "parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "dev": true,
+ "requires": {
+ "callsites": "^3.0.0"
+ }
+ },
+ "parse-cache-control": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz",
+ "integrity": "sha1-juqz5U+laSD+Fro493+iGqzC104=",
+ "dev": true
+ },
+ "parse-json": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
+ "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
+ "dev": true,
+ "requires": {
+ "error-ex": "^1.2.0"
+ }
+ },
+ "parse5": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.0.tgz",
+ "integrity": "sha512-fxNG2sQjHvlVAYmzBZS9YlDp6PTSSDwa98vkD4QgVDDCAo84z5X1t5XyJQ62ImdLXx5NdIIfihey6xpum9/gRQ==",
+ "dev": true
+ },
+ "parse5-sax-parser": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/parse5-sax-parser/-/parse5-sax-parser-5.1.0.tgz",
+ "integrity": "sha512-VEhdEDhBkoSILPmsZ96SoIIUow3hZbtgQsqXw7r8DxxnqsCIO0fwkT9mWgBcf9SPjVUh92liuEprHrrYzXBPWQ==",
+ "dev": true,
+ "requires": {
+ "parse5": "^5.1.0"
+ }
+ },
+ "path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
+ "dev": true
+ },
+ "path-is-absolute": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
+ "dev": true
+ },
+ "path-key": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
+ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=",
+ "dev": true
+ },
+ "path-parse": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
+ "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
+ "dev": true
+ },
+ "path-type": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz",
+ "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=",
+ "dev": true,
+ "requires": {
+ "pify": "^2.0.0"
+ }
+ },
+ "pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
+ "dev": true
+ },
+ "pkg-dir": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz",
+ "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=",
+ "dev": true,
+ "requires": {
+ "find-up": "^2.1.0"
+ }
+ },
+ "prelude-ls": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
+ "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
+ "dev": true
+ },
+ "private": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz",
+ "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==",
+ "dev": true
+ },
+ "process-nextick-args": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
+ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
+ "dev": true
+ },
+ "progress": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
+ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
+ "dev": true
+ },
+ "promise": {
+ "version": "8.0.3",
+ "resolved": "https://registry.npmjs.org/promise/-/promise-8.0.3.tgz",
+ "integrity": "sha512-HeRDUL1RJiLhyA0/grn+PTShlBAcLuh/1BJGtrvjwbvRDCTLLMEz9rOGCV+R3vHY4MixIuoMEd9Yq/XvsTPcjw==",
+ "dev": true,
+ "requires": {
+ "asap": "~2.0.6"
+ }
+ },
+ "punycode": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
+ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
+ "dev": true
+ },
+ "q": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz",
+ "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=",
+ "dev": true
+ },
+ "qs": {
+ "version": "6.9.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.0.tgz",
+ "integrity": "sha512-27RP4UotQORTpmNQDX8BHPukOnBP3p1uUJY5UnDhaJB+rMt9iMsok724XL+UHU23bEFOHRMQ2ZhI99qOWUMGFA==",
+ "dev": true
+ },
+ "read-pkg": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz",
+ "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=",
+ "dev": true,
+ "requires": {
+ "load-json-file": "^2.0.0",
+ "normalize-package-data": "^2.3.2",
+ "path-type": "^2.0.0"
+ }
+ },
+ "read-pkg-up": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz",
+ "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=",
+ "dev": true,
+ "requires": {
+ "find-up": "^2.0.0",
+ "read-pkg": "^2.0.0"
+ }
+ },
+ "readable-stream": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.3.0.tgz",
+ "integrity": "sha512-EsI+s3k3XsW+fU8fQACLN59ky34AZ14LoeVZpYwmZvldCFo0r0gnelwF2TcMjLor/BTL5aDJVBMkss0dthToPw==",
+ "dev": true,
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ },
+ "regenerate": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz",
+ "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==",
+ "dev": true
+ },
+ "regenerate-unicode-properties": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz",
+ "integrity": "sha512-LGZzkgtLY79GeXLm8Dp0BVLdQlWICzBnJz/ipWUgo59qBaZ+BHtq51P2q1uVZlppMuUAT37SDk39qUbjTWB7bA==",
+ "dev": true,
+ "requires": {
+ "regenerate": "^1.4.0"
+ }
+ },
+ "regenerator-transform": {
+ "version": "0.14.1",
+ "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.1.tgz",
+ "integrity": "sha512-flVuee02C3FKRISbxhXl9mGzdbWUVHubl1SMaknjxkFB1/iqpJhArQUvRxOOPEc/9tAiX0BaQ28FJH10E4isSQ==",
+ "dev": true,
+ "requires": {
+ "private": "^0.1.6"
+ }
+ },
+ "regexpp": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz",
+ "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==",
+ "dev": true
+ },
+ "regexpu-core": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.6.0.tgz",
+ "integrity": "sha512-YlVaefl8P5BnFYOITTNzDvan1ulLOiXJzCNZxduTIosN17b87h3bvG9yHMoHaRuo88H4mQ06Aodj5VtYGGGiTg==",
+ "dev": true,
+ "requires": {
+ "regenerate": "^1.4.0",
+ "regenerate-unicode-properties": "^8.1.0",
+ "regjsgen": "^0.5.0",
+ "regjsparser": "^0.6.0",
+ "unicode-match-property-ecmascript": "^1.0.4",
+ "unicode-match-property-value-ecmascript": "^1.1.0"
+ }
+ },
+ "regjsgen": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.1.tgz",
+ "integrity": "sha512-5qxzGZjDs9w4tzT3TPhCJqWdCc3RLYwy9J2NB0nm5Lz+S273lvWcpjaTGHsT1dc6Hhfq41uSEOw8wBmxrKOuyg==",
+ "dev": true
+ },
+ "regjsparser": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.0.tgz",
+ "integrity": "sha512-RQ7YyokLiQBomUJuUG8iGVvkgOLxwyZM8k6d3q5SAXpg4r5TZJZigKFvC6PpD+qQ98bCDC5YelPeA3EucDoNeQ==",
+ "dev": true,
+ "requires": {
+ "jsesc": "~0.5.0"
+ },
+ "dependencies": {
+ "jsesc": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
+ "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",
+ "dev": true
+ }
+ }
+ },
+ "resolve": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.11.1.tgz",
+ "integrity": "sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw==",
+ "dev": true,
+ "requires": {
+ "path-parse": "^1.0.6"
+ }
+ },
+ "resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "dev": true
+ },
+ "restore-cursor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
+ "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",
+ "dev": true,
+ "requires": {
+ "onetime": "^5.1.0",
+ "signal-exit": "^3.0.2"
+ }
+ },
+ "rimraf": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
+ "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
+ "dev": true,
+ "requires": {
+ "glob": "^7.1.3"
+ }
+ },
+ "rollup": {
+ "version": "1.27.11",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-1.27.11.tgz",
+ "integrity": "sha512-ENXdvXk8tjtkNTvIvjRzOEu+vv54va7PiDR7VwP8TD+In6J87gKzzFmQMawQixEL2y9rsPEgomUS7ZVkq47Tww==",
+ "dev": true,
+ "requires": {
+ "@types/estree": "*",
+ "@types/node": "*",
+ "acorn": "^7.1.0"
+ }
+ },
+ "rollup-plugin-babel": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/rollup-plugin-babel/-/rollup-plugin-babel-4.3.3.tgz",
+ "integrity": "sha512-tKzWOCmIJD/6aKNz0H1GMM+lW1q9KyFubbWzGiOG540zxPPifnEAHTZwjo0g991Y+DyOZcLqBgqOdqazYE5fkw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-module-imports": "^7.0.0",
+ "rollup-pluginutils": "^2.8.1"
+ }
+ },
+ "rollup-plugin-commonjs": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/rollup-plugin-commonjs/-/rollup-plugin-commonjs-10.1.0.tgz",
+ "integrity": "sha512-jlXbjZSQg8EIeAAvepNwhJj++qJWNJw1Cl0YnOqKtP5Djx+fFGkp3WRh+W0ASCaFG5w1jhmzDxgu3SJuVxPF4Q==",
+ "dev": true,
+ "requires": {
+ "estree-walker": "^0.6.1",
+ "is-reference": "^1.1.2",
+ "magic-string": "^0.25.2",
+ "resolve": "^1.11.0",
+ "rollup-pluginutils": "^2.8.1"
+ }
+ },
+ "rollup-plugin-license": {
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/rollup-plugin-license/-/rollup-plugin-license-0.13.0.tgz",
+ "integrity": "sha512-K1At1InQufYagn1zNTikWG6NorVjdBBoKtJdHqbyV/Z1ksM3wHtWlR/4rqdKxyZjTXNTDzM7mxn7j/HERexLFw==",
+ "dev": true,
+ "requires": {
+ "commenting": "1.1.0",
+ "glob": "7.1.6",
+ "lodash": "4.17.15",
+ "magic-string": "0.25.4",
+ "mkdirp": "0.5.1",
+ "moment": "2.24.0",
+ "spdx-expression-validate": "2.0.0",
+ "spdx-satisfies": "5.0.0"
+ },
+ "dependencies": {
+ "glob": {
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
+ "dev": true,
+ "requires": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
+ },
+ "lodash": {
+ "version": "4.17.15",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
+ "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
+ "dev": true
+ }
+ }
+ },
+ "rollup-pluginutils": {
+ "version": "2.8.2",
+ "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz",
+ "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==",
+ "dev": true,
+ "requires": {
+ "estree-walker": "^0.6.1"
+ }
+ },
+ "run-async": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz",
+ "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=",
+ "dev": true,
+ "requires": {
+ "is-promise": "^2.1.0"
+ }
+ },
+ "rxjs": {
+ "version": "6.5.3",
+ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz",
+ "integrity": "sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==",
+ "dev": true,
+ "requires": {
+ "tslib": "^1.9.0"
+ }
+ },
+ "safe-buffer": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz",
+ "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==",
+ "dev": true
+ },
+ "safer-buffer": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
+ "dev": true
+ },
+ "semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+ "dev": true
+ },
+ "shebang-command": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
+ "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=",
+ "dev": true,
+ "requires": {
+ "shebang-regex": "^1.0.0"
+ }
+ },
+ "shebang-regex": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
+ "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=",
+ "dev": true
+ },
+ "signal-exit": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
+ "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=",
+ "dev": true
+ },
+ "slice-ansi": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz",
+ "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==",
+ "dev": true,
+ "requires": {
+ "ansi-styles": "^3.2.0",
+ "astral-regex": "^1.0.0",
+ "is-fullwidth-code-point": "^2.0.0"
+ },
+ "dependencies": {
+ "is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "dev": true
+ }
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "sourcemap-codec": {
+ "version": "1.4.6",
+ "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.6.tgz",
+ "integrity": "sha512-1ZooVLYFxC448piVLBbtOxFcXwnymH9oUF8nRd3CuYDVvkRBxRl6pB4Mtas5a4drtL+E8LDgFkQNcgIw6tc8Hg==",
+ "dev": true
+ },
+ "spdx-compare": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/spdx-compare/-/spdx-compare-1.0.0.tgz",
+ "integrity": "sha512-C1mDZOX0hnu0ep9dfmuoi03+eOdDoz2yvK79RxbcrVEG1NO1Ph35yW102DHWKN4pk80nwCgeMmSY5L25VE4D9A==",
+ "dev": true,
+ "requires": {
+ "array-find-index": "^1.0.2",
+ "spdx-expression-parse": "^3.0.0",
+ "spdx-ranges": "^2.0.0"
+ }
+ },
+ "spdx-correct": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz",
+ "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==",
+ "dev": true,
+ "requires": {
+ "spdx-expression-parse": "^3.0.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "spdx-exceptions": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz",
+ "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==",
+ "dev": true
+ },
+ "spdx-expression-parse": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz",
+ "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==",
+ "dev": true,
+ "requires": {
+ "spdx-exceptions": "^2.1.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "spdx-expression-validate": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/spdx-expression-validate/-/spdx-expression-validate-2.0.0.tgz",
+ "integrity": "sha512-b3wydZLM+Tc6CFvaRDBOF9d76oGIHNCLYFeHbftFXUWjnfZWganmDmvtM5sm1cRwJc/VDBMLyGGrsLFd1vOxbg==",
+ "dev": true,
+ "requires": {
+ "spdx-expression-parse": "^3.0.0"
+ }
+ },
+ "spdx-license-ids": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz",
+ "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==",
+ "dev": true
+ },
+ "spdx-ranges": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/spdx-ranges/-/spdx-ranges-2.1.1.tgz",
+ "integrity": "sha512-mcdpQFV7UDAgLpXEE/jOMqvK4LBoO0uTQg0uvXUewmEFhpiZx5yJSZITHB8w1ZahKdhfZqP5GPEOKLyEq5p8XA==",
+ "dev": true
+ },
+ "spdx-satisfies": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/spdx-satisfies/-/spdx-satisfies-5.0.0.tgz",
+ "integrity": "sha512-/hGhwh20BeGmkA+P/lm06RvXD94JduwNxtx/oX3B5ClPt1/u/m5MCaDNo1tV3Y9laLkQr/NRde63b9lLMhlNfw==",
+ "dev": true,
+ "requires": {
+ "spdx-compare": "^1.0.0",
+ "spdx-expression-parse": "^3.0.0",
+ "spdx-ranges": "^2.0.0"
+ }
+ },
+ "sprintf-js": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
+ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",
+ "dev": true
+ },
+ "string-width": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",
+ "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==",
+ "dev": true,
+ "requires": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "dependencies": {
+ "strip-ansi": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
+ "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
+ "dev": true,
+ "requires": {
+ "ansi-regex": "^5.0.0"
+ }
+ }
+ }
+ },
+ "string.prototype.repeat": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-0.2.0.tgz",
+ "integrity": "sha1-q6Nt4I3O5qWjN9SbLqHaGyj8Ds8=",
+ "dev": true
+ },
+ "string.prototype.trimleft": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz",
+ "integrity": "sha512-FJ6b7EgdKxxbDxc79cOlok6Afd++TTs5szo+zJTUyow3ycrRfJVE2pq3vcN53XexvKZu/DJMDfeI/qMiZTrjTw==",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.3",
+ "function-bind": "^1.1.1"
+ }
+ },
+ "string.prototype.trimright": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.0.tgz",
+ "integrity": "sha512-fXZTSV55dNBwv16uw+hh5jkghxSnc5oHq+5K/gXgizHwAvMetdAJlHqqoFC1FSDVPYWLkAKl2cxpUT41sV7nSg==",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.3",
+ "function-bind": "^1.1.1"
+ }
+ },
+ "string_decoder": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.2.0.tgz",
+ "integrity": "sha512-6YqyX6ZWEYguAxgZzHGL7SsCeGx3V2TtOTqZz1xSTSWnqsbWwbptafNyvf/ACquZUXV3DANr5BDIwNYe1mN42w==",
+ "dev": true,
+ "requires": {
+ "safe-buffer": "~5.1.0"
+ }
+ },
+ "strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "dev": true,
+ "requires": {
+ "ansi-regex": "^4.1.0"
+ },
+ "dependencies": {
+ "ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "dev": true
+ }
+ }
+ },
+ "strip-bom": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
+ "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=",
+ "dev": true
+ },
+ "strip-json-comments": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz",
+ "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dev": true,
+ "requires": {
+ "has-flag": "^3.0.0"
+ }
+ },
+ "sync-request": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/sync-request/-/sync-request-6.1.0.tgz",
+ "integrity": "sha512-8fjNkrNlNCrVc/av+Jn+xxqfCjYaBoHqCsDz6mt030UMxJGr+GSfCV1dQt2gRtlL63+VPidwDVLr7V2OcTSdRw==",
+ "dev": true,
+ "requires": {
+ "http-response-object": "^3.0.1",
+ "sync-rpc": "^1.2.1",
+ "then-request": "^6.0.0"
+ }
+ },
+ "sync-rpc": {
+ "version": "1.3.6",
+ "resolved": "https://registry.npmjs.org/sync-rpc/-/sync-rpc-1.3.6.tgz",
+ "integrity": "sha512-J8jTXuZzRlvU7HemDgHi3pGnh/rkoqR/OZSjhTyyZrEkkYQbk7Z33AXp37mkPfPpfdOuj7Ex3H/TJM1z48uPQw==",
+ "dev": true,
+ "requires": {
+ "get-port": "^3.1.0"
+ }
+ },
+ "table": {
+ "version": "5.4.6",
+ "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz",
+ "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==",
+ "dev": true,
+ "requires": {
+ "ajv": "^6.10.2",
+ "lodash": "^4.17.14",
+ "slice-ansi": "^2.1.0",
+ "string-width": "^3.0.0"
+ },
+ "dependencies": {
+ "emoji-regex": {
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
+ "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
+ "dev": true
+ },
+ "is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "dev": true
+ },
+ "string-width": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
+ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
+ "dev": true,
+ "requires": {
+ "emoji-regex": "^7.0.1",
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^5.1.0"
+ }
+ }
+ }
+ },
+ "text-table": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
+ "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=",
+ "dev": true
+ },
+ "then-request": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/then-request/-/then-request-6.0.2.tgz",
+ "integrity": "sha512-3ZBiG7JvP3wbDzA9iNY5zJQcHL4jn/0BWtXIkagfz7QgOL/LqjCEOBQuJNZfu0XYnv5JhKh+cDxCPM4ILrqruA==",
+ "dev": true,
+ "requires": {
+ "@types/concat-stream": "^1.6.0",
+ "@types/form-data": "0.0.33",
+ "@types/node": "^8.0.0",
+ "@types/qs": "^6.2.31",
+ "caseless": "~0.12.0",
+ "concat-stream": "^1.6.0",
+ "form-data": "^2.2.0",
+ "http-basic": "^8.1.1",
+ "http-response-object": "^3.0.1",
+ "promise": "^8.0.0",
+ "qs": "^6.4.0"
+ },
+ "dependencies": {
+ "@types/node": {
+ "version": "8.10.58",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.58.tgz",
+ "integrity": "sha512-NNcUk/rAdR7Pie7WiA5NHp345dTkD62qaxqscQXVIjCjog/ZXsrG8Wo7dZMZAzE7PSpA+qR2S3TYTeFCKuBFxQ==",
+ "dev": true
+ }
+ }
+ },
+ "through": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
+ "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",
+ "dev": true
+ },
+ "tmp": {
+ "version": "0.0.33",
+ "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
+ "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
+ "dev": true,
+ "requires": {
+ "os-tmpdir": "~1.0.2"
+ }
+ },
+ "to-fast-properties": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
+ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
+ "dev": true
+ },
+ "tslib": {
+ "version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
+ "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==",
+ "dev": true
+ },
+ "type-check": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
+ "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=",
+ "dev": true,
+ "requires": {
+ "prelude-ls": "~1.1.2"
+ }
+ },
+ "type-fest": {
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",
+ "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",
+ "dev": true
+ },
+ "typedarray": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
+ "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
+ "dev": true
+ },
+ "uc.micro": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz",
+ "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==",
+ "dev": true
+ },
+ "uglify-js": {
+ "version": "3.7.2",
+ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.7.2.tgz",
+ "integrity": "sha512-uhRwZcANNWVLrxLfNFEdltoPNhECUR3lc+UdJoG9CBpMcSnKyWA94tc3eAujB1GcMY5Uwq8ZMp4qWpxWYDQmaA==",
+ "dev": true,
+ "requires": {
+ "commander": "~2.20.3",
+ "source-map": "~0.6.1"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "dev": true
+ }
+ }
+ },
+ "unicode-canonical-property-names-ecmascript": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz",
+ "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==",
+ "dev": true
+ },
+ "unicode-match-property-ecmascript": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz",
+ "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==",
+ "dev": true,
+ "requires": {
+ "unicode-canonical-property-names-ecmascript": "^1.0.4",
+ "unicode-property-aliases-ecmascript": "^1.0.4"
+ }
+ },
+ "unicode-match-property-value-ecmascript": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.1.0.tgz",
+ "integrity": "sha512-hDTHvaBk3RmFzvSl0UVrUmC3PuW9wKVnpoUDYH0JDkSIovzw+J5viQmeYHxVSBptubnr7PbH2e0fnpDRQnQl5g==",
+ "dev": true
+ },
+ "unicode-property-aliases-ecmascript": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz",
+ "integrity": "sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw==",
+ "dev": true
+ },
+ "uri-js": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
+ "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
+ "dev": true,
+ "requires": {
+ "punycode": "^2.1.0"
+ }
+ },
+ "util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
+ "dev": true
+ },
+ "v8-compile-cache": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz",
+ "integrity": "sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==",
+ "dev": true
+ },
+ "validate-npm-package-license": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
+ "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
+ "dev": true,
+ "requires": {
+ "spdx-correct": "^3.0.0",
+ "spdx-expression-parse": "^3.0.0"
+ }
+ },
+ "vuln-regex-detector": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/vuln-regex-detector/-/vuln-regex-detector-1.3.0.tgz",
+ "integrity": "sha512-QWm8buVznZjdcfMuFHYsiNfHd0YQ7dO41G0iEGVPlUng5eZUo8uy+QsVCmbgVZ2b96xprY1Tz9dQD7QtvbFHXw==",
+ "dev": true,
+ "requires": {
+ "sync-request": "^6.0.0"
+ }
+ },
+ "which": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
+ "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
+ "dev": true,
+ "requires": {
+ "isexe": "^2.0.0"
+ }
+ },
+ "word-wrap": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
+ "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
+ "dev": true
+ },
+ "wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
+ "dev": true
+ },
+ "write": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz",
+ "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==",
+ "dev": true,
+ "requires": {
+ "mkdirp": "^0.5.1"
+ }
+ }
+ }
+}
diff --git a/packages/markdown/marked/package.json b/packages/markdown/marked/package.json
index 43cea559..70c0e16e 100644
--- a/packages/markdown/marked/package.json
+++ b/packages/markdown/marked/package.json
@@ -2,13 +2,14 @@
"name": "marked",
"description": "A markdown parser built for speed",
"author": "Christopher Jeffrey",
- "version": "0.6.2",
- "main": "./lib/marked.js",
+ "version": "0.8.0",
+ "main": "./src/marked.js",
"bin": "./bin/marked",
"man": "./man/marked.1",
"files": [
"bin/",
"lib/",
+ "src/",
"man/",
"marked.min.js"
],
@@ -29,41 +30,48 @@
"html"
],
"devDependencies": {
- "@markedjs/html-differ": "^2.0.1",
+ "@babel/core": "^7.7.5",
+ "@babel/preset-env": "^7.7.6",
+ "@markedjs/html-differ": "^3.0.0",
"cheerio": "^1.0.0-rc.3",
- "commonmark": "0.x",
- "eslint": "^5.15.1",
- "eslint-config-standard": "^12.0.0",
- "eslint-plugin-import": "^2.16.0",
- "eslint-plugin-node": "^8.0.1",
- "eslint-plugin-promise": "^4.0.1",
- "eslint-plugin-standard": "^4.0.0",
- "eslint-plugin-vuln-regex-detector": "^1.0.4",
- "front-matter": "^3.0.1",
- "glob-to-regexp": "^0.4.0",
- "jasmine": "^3.3.1",
- "markdown": "0.x",
- "markdown-it": "8.x",
- "node-fetch": "^2.3.0",
- "uglify-js": "^3.4.9"
+ "commonmark": "0.29.x",
+ "eslint": "^6.7.2",
+ "eslint-config-standard": "^14.1.0",
+ "eslint-plugin-import": "^2.19.1",
+ "eslint-plugin-node": "^10.0.0",
+ "eslint-plugin-promise": "^4.2.1",
+ "eslint-plugin-standard": "^4.0.1",
+ "front-matter": "^3.0.2",
+ "jasmine": "^3.5.0",
+ "markdown": "0.5.x",
+ "markdown-it": "10.x",
+ "node-fetch": "^2.6.0",
+ "rollup": "^1.27.11",
+ "rollup-plugin-babel": "^4.3.3",
+ "rollup-plugin-commonjs": "^10.1.0",
+ "rollup-plugin-license": "^0.13.0",
+ "uglify-js": "^3.7.2",
+ "vuln-regex-detector": "^1.3.0"
},
"scripts": {
"test": "jasmine --config=jasmine.json",
+ "test:all": "npm test && npm run test:lint",
"test:unit": "npm test -- test/unit/**/*-spec.js",
"test:specs": "npm test -- test/specs/**/*-spec.js",
- "test:cm": "npm test -- test/specs/commonmark/**/*-spec.js",
- "test:gfm": "npm test -- test/specs/gfm/**/*-spec.js",
- "test:marked": "npm test -- test/specs/marked/**/*-spec.js",
- "test:old": "node test",
"test:lint": "eslint bin/marked .",
- "test:redos": "eslint --plugin vuln-regex-detector --rule '\"vuln-regex-detector/no-vuln-regex\": 2' lib/marked.js",
- "test:node4": "npx node@4 ./node_modules/jasmine/bin/jasmine.js --config=jasmine.json",
- "bench": "node test --bench",
+ "test:redos": "node test/vuln-regex.js",
+ "test:update": "node test/update-specs.js",
+ "bench": "npm run rollup && node test/bench.js",
"lint": "eslint --fix bin/marked .",
- "build": "uglifyjs lib/marked.js -cm --comments /Copyright/ -o marked.min.js",
- "preversion": "npm run build && (git diff --quiet || git commit -am 'minify')"
+ "build:reset": "git checkout upstream/master lib/marked.js lib/marked.esm.js marked.min.js",
+ "build": "npm run rollup && npm run minify",
+ "rollup": "npm run rollup:umd && npm run rollup:esm",
+ "rollup:umd": "rollup -c rollup.config.js",
+ "rollup:esm": "rollup -c rollup.config.esm.js",
+ "minify": "uglifyjs lib/marked.js -cm --comments /Copyright/ -o marked.min.js",
+ "preversion": "npm run build && (git diff --quiet || git commit -am 'build')"
},
"engines": {
- "node": ">=0.10.0"
+ "node": ">= 8.16.2"
}
}
diff --git a/packages/markdown/marked/test/README b/packages/markdown/marked/test/README
deleted file mode 100644
index 51f6560b..00000000
--- a/packages/markdown/marked/test/README
+++ /dev/null
@@ -1,10 +0,0 @@
-In this directory:
-
-#
-# MarkdownTester -- Run tests for Markdown implementations
-#
-# Copyright (c) 2004-2005 John Gruber
-# <http://daringfireball.net/projects/markdown/>
-#
-
-Partially modified for testing purposes.
diff --git a/packages/markdown/marked/test/browser/index.html b/packages/markdown/marked/test/browser/index.html
deleted file mode 100644
index fbde1293..00000000
--- a/packages/markdown/marked/test/browser/index.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<!doctype html>
-<title>marked tests</title>
-<p>testing...</p>
-<script src="marked.js"></script>
-<script src="test.js"></script>
diff --git a/packages/markdown/marked/test/browser/index.js b/packages/markdown/marked/test/browser/index.js
deleted file mode 100644
index 8208fa3f..00000000
--- a/packages/markdown/marked/test/browser/index.js
+++ /dev/null
@@ -1,39 +0,0 @@
-var fs = require('fs'),
- path = require('path');
-
-var testMod = require('../'),
- load = testMod.load;
-
-var express = require('express'),
- app = express();
-
-var files = load();
-
-app.use(function(req, res, next) {
- var setHeader = res.setHeader;
- res.setHeader = function(name) {
- switch (name) {
- case 'Cache-Control':
- case 'Last-Modified':
- case 'ETag':
- return;
- }
- return setHeader.apply(res, arguments);
- };
- next();
-});
-
-app.get('/test.js', function(req, res, next) {
- var test = fs.readFileSync(path.join(__dirname, 'test.js'), 'utf8');
- var testScript = test.replace('__TESTS__', JSON.stringify(files))
- .replace('__MAIN__', testMod.runTests + '')
- .replace('__LIBS__', testMod.testFile + '');
-
- res.contentType('.js');
- res.send(testScript);
-});
-
-app.use(express.static(path.join(__dirname, '/../../lib')));
-app.use(express.static(__dirname));
-
-app.listen(8080);
diff --git a/packages/markdown/marked/test/browser/test.js b/packages/markdown/marked/test/browser/test.js
deleted file mode 100644
index 59917dd4..00000000
--- a/packages/markdown/marked/test/browser/test.js
+++ /dev/null
@@ -1,66 +0,0 @@
-
-;(function() {
- var console = {},
- files = __TESTS__; // eslint-disable-line no-undef
-
- console.log = function(text) {
- var args = Array.prototype.slice.call(arguments, 1),
- i = 0;
-
- text = text.replace(/%\w/g, function() {
- return args[i++] || '';
- });
-
- if (window.console) window.console.log(text);
- document.body.innerHTML += '<pre>' + escape(text) + '</pre>';
- };
-
- if (!Object.keys) {
- Object.keys = function(obj) {
- var out = [],
- key;
-
- for (key in obj) {
- if (Object.prototype.hasOwnProperty.call(obj, key)) {
- out.push(key);
- }
- }
-
- return out;
- };
- }
-
- if (!Array.prototype.forEach) {
- // eslint-disable-next-line no-extend-native
- Array.prototype.forEach = function(callback, context) {
- for (var i = 0; i < this.length; i++) {
- callback.call(context || null, this[i], i, this);
- }
- };
- }
-
- if (!String.prototype.trim) {
- // eslint-disable-next-line no-extend-native
- String.prototype.trim = function() {
- return this.replace(/^\s+|\s+$/g, '');
- };
- }
-
- // eslint-disable-next-line no-unused-vars
- function load() {
- return files;
- }
-
- function escape(html, encode) {
- return html
- .replace(!encode ? /&(?!#?\w+;)/g : /&/g, '&amp;')
- .replace(/</g, '&lt;')
- .replace(/>/g, '&gt;')
- .replace(/"/g, '&quot;')
- .replace(/'/g, '&#39;');
- }
-
- __LIBS__; // eslint-disable-line no-undef, no-unused-expressions
-
- (__MAIN__)(); // eslint-disable-line no-undef
-}).call(this);
diff --git a/packages/markdown/marked/test/helpers/helpers.js b/packages/markdown/marked/test/helpers/helpers.js
deleted file mode 100644
index 44632fcd..00000000
--- a/packages/markdown/marked/test/helpers/helpers.js
+++ /dev/null
@@ -1,26 +0,0 @@
-const marked = require('../../');
-const htmlDiffer = require('./html-differ.js');
-
-beforeEach(() => {
- marked.setOptions(marked.getDefaults());
-
- jasmine.addMatchers({
- toRender: () => {
- return {
- compare: (spec, expected) => {
- const result = {};
- const actual = marked(spec.markdown, spec.options);
- result.pass = htmlDiffer.isEqual(expected, actual);
-
- if (result.pass) {
- result.message = `${spec.markdown}\n------\n\nExpected: Should Fail`;
- } else {
- const diff = htmlDiffer.firstDiff(actual, expected);
- result.message = `Expected: ${diff.expected}\n Actual: ${diff.actual}`;
- }
- return result;
- }
- };
- }
- });
-});
diff --git a/packages/markdown/marked/test/helpers/html-differ.js b/packages/markdown/marked/test/helpers/html-differ.js
deleted file mode 100644
index 44052be4..00000000
--- a/packages/markdown/marked/test/helpers/html-differ.js
+++ /dev/null
@@ -1,38 +0,0 @@
-const HtmlDiffer = require('@markedjs/html-differ').HtmlDiffer;
-const htmlDiffer = new HtmlDiffer({ignoreSelfClosingSlash: true});
-
-module.exports = {
- isEqual: htmlDiffer.isEqual.bind(htmlDiffer),
- firstDiff: (actual, expected, padding) => {
- padding = padding || 30;
- const result = htmlDiffer
- .diffHtml(actual, expected)
- .reduce((obj, diff) => {
- if (diff.added) {
- if (obj.firstIndex === null) {
- obj.firstIndex = obj.expected.length;
- }
- obj.expected += diff.value;
- } else if (diff.removed) {
- if (obj.firstIndex === null) {
- obj.firstIndex = obj.actual.length;
- }
- obj.actual += diff.value;
- } else {
- obj.actual += diff.value;
- obj.expected += diff.value;
- }
-
- return obj;
- }, {
- firstIndex: null,
- actual: '',
- expected: ''
- });
-
- return {
- actual: result.actual.substring(result.firstIndex - padding, result.firstIndex + padding),
- expected: result.expected.substring(result.firstIndex - padding, result.firstIndex + padding)
- };
- }
-};
diff --git a/packages/markdown/marked/test/index.js b/packages/markdown/marked/test/index.js
deleted file mode 100644
index 5027ee5b..00000000
--- a/packages/markdown/marked/test/index.js
+++ /dev/null
@@ -1,551 +0,0 @@
-#!/usr/bin/env node
-'use strict';
-// 'use strict' is here so we can use let and const in node 4
-
-/**
- * marked tests
- * Copyright (c) 2011-2013, Christopher Jeffrey. (MIT Licensed)
- * https://github.com/markedjs/marked
- */
-
-/**
- * Modules
- */
-
-const fs = require('fs');
-const path = require('path');
-const fm = require('front-matter');
-const g2r = require('glob-to-regexp');
-let marked = require('../');
-const htmlDiffer = require('./helpers/html-differ.js');
-
-/**
- * Load Tests
- */
-
-function load(options) {
- options = options || {};
- const dir = path.join(__dirname, 'compiled_tests');
- const glob = g2r(options.glob || '*', { extended: true });
-
- const list = fs
- .readdirSync(dir)
- .filter(file => {
- return path.extname(file) === '.md';
- })
- .sort();
-
- const files = list.reduce((obj, item) => {
- const name = path.basename(item, '.md');
- if (glob.test(name)) {
- const file = path.join(dir, item);
- const content = fm(fs.readFileSync(file, 'utf8'));
-
- obj[name] = {
- options: content.attributes,
- text: content.body,
- html: fs.readFileSync(file.replace(/[^.]+$/, 'html'), 'utf8')
- };
- }
- return obj;
- }, {});
-
- if (options.bench || options.time) {
- if (!options.glob) {
- // Change certain tests to allow
- // comparison to older benchmark times.
- fs.readdirSync(path.join(__dirname, 'new')).forEach(name => {
- if (path.extname(name) === '.html') return;
- if (name === 'main.md') return;
- delete files[name];
- });
- }
-
- if (files['backslash_escapes.md']) {
- files['backslash_escapes.md'] = {
- text: 'hello world \\[how](are you) today'
- };
- }
-
- if (files['main.md']) {
- files['main.md'].text = files['main.md'].text.replace('* * *\n\n', '');
- }
- }
-
- return files;
-}
-
-/**
- * Test Runner
- */
-
-function runTests(engine, options) {
- if (typeof engine !== 'function') {
- options = engine;
- engine = null;
- }
-
- engine = engine || marked;
- options = options || {};
-
- let succeeded = 0;
- let failed = 0;
- const files = options.files || load(options);
- const filenames = Object.keys(files);
-
- if (options.marked) {
- marked.setOptions(options.marked);
- }
-
- for (let i = 0; i < filenames.length; i++) {
- const filename = filenames[i];
- const file = files[filename];
-
- const success = testFile(engine, file, filename, i + 1);
-
- if (success) {
- succeeded++;
- } else {
- failed++;
- if (options.stop) {
- break;
- }
- }
- }
-
- console.log('\n%d/%d tests completed successfully.', succeeded, filenames.length);
- if (failed) console.log('%d/%d tests failed.', failed, filenames.length);
-
- return !failed;
-}
-
-/**
- * Test a file
- */
-
-function testFile(engine, file, filename, index) {
- const opts = Object.keys(file.options);
-
- if (marked._original) {
- marked.defaults = marked._original;
- delete marked._original;
- }
-
- console.log('#%d. Test %s', index, filename);
-
- if (opts.length) {
- marked._original = marked.defaults;
- marked.defaults = {};
- Object.keys(marked._original).forEach(key => {
- marked.defaults[key] = marked._original[key];
- });
- opts.forEach(key => {
- if (marked.defaults.hasOwnProperty(key)) {
- marked.defaults[key] = file.options[key];
- }
- });
- }
-
- const before = process.hrtime();
-
- let text, html, elapsed;
- try {
- text = engine(file.text);
- html = file.html;
- } catch (e) {
- elapsed = process.hrtime(before);
- console.log('\n failed in %dms\n', prettyElapsedTime(elapsed));
- throw e;
- }
-
- elapsed = process.hrtime(before);
-
- if (htmlDiffer.isEqual(text, html)) {
- if (elapsed[0] > 0) {
- console.log('\n failed because it took too long.\n\n passed in %dms\n', prettyElapsedTime(elapsed));
- return false;
- }
- console.log(' passed in %dms', prettyElapsedTime(elapsed));
- return true;
- }
-
- const diff = htmlDiffer.firstDiff(text, html);
-
- console.log('\n failed in %dms', prettyElapsedTime(elapsed));
- console.log(' Expected: %s', diff.expected);
- console.log(' Actual: %s\n', diff.actual);
- return false;
-}
-
-/**
- * Benchmark a function
- */
-
-function bench(name, files, engine) {
- const start = Date.now();
-
- for (let i = 0; i < 1000; i++) {
- for (const filename in files) {
- engine(files[filename].text);
- }
- }
-
- const end = Date.now();
-
- console.log('%s completed in %dms.', name, end - start);
-}
-
-/**
- * Benchmark all engines
- */
-
-function runBench(options) {
- options = options || {};
- const files = load(options);
-
- // Non-GFM, Non-pedantic
- marked.setOptions({
- gfm: false,
- tables: false,
- breaks: false,
- pedantic: false,
- sanitize: false,
- smartLists: false
- });
- if (options.marked) {
- marked.setOptions(options.marked);
- }
- bench('marked', files, marked);
-
- // GFM
- marked.setOptions({
- gfm: true,
- tables: false,
- breaks: false,
- pedantic: false,
- sanitize: false,
- smartLists: false
- });
- if (options.marked) {
- marked.setOptions(options.marked);
- }
- bench('marked (gfm)', files, marked);
-
- // Pedantic
- marked.setOptions({
- gfm: false,
- tables: false,
- breaks: false,
- pedantic: true,
- sanitize: false,
- smartLists: false
- });
- if (options.marked) {
- marked.setOptions(options.marked);
- }
- bench('marked (pedantic)', files, marked);
-
- try {
- bench('commonmark', files, (() => {
- const commonmark = require('commonmark');
- const parser = new commonmark.Parser();
- const writer = new commonmark.HtmlRenderer();
- return function (text) {
- return writer.render(parser.parse(text));
- };
- })());
- } catch (e) {
- console.log('Could not bench commonmark. (Error: %s)', e.message);
- }
-
- try {
- bench('markdown-it', files, (() => {
- const MarkdownIt = require('markdown-it');
- const md = new MarkdownIt();
- return md.render.bind(md);
- })());
- } catch (e) {
- console.log('Could not bench markdown-it. (Error: %s)', e.message);
- }
-
- try {
- bench('markdown.js', files, (() => {
- const markdown = require('markdown').markdown;
- return markdown.toHTML.bind(markdown);
- })());
- } catch (e) {
- console.log('Could not bench markdown.js. (Error: %s)', e.message);
- }
-
- return true;
-}
-
-/**
- * A simple one-time benchmark
- */
-
-function time(options) {
- options = options || {};
- const files = load(options);
- if (options.marked) {
- marked.setOptions(options.marked);
- }
- bench('marked', files, marked);
-
- return true;
-}
-
-/**
- * Markdown Test Suite Fixer
- * This function is responsible for "fixing"
- * the markdown test suite. There are
- * certain aspects of the suite that
- * are strange or might make tests
- * fail for reasons unrelated to
- * conformance.
- */
-
-function fix() {
- ['compiled_tests', 'original', 'new', 'redos'].forEach(dir => {
- try {
- fs.mkdirSync(path.resolve(__dirname, dir));
- } catch (e) {
- // directory already exists
- }
- });
-
- // rm -rf tests
- fs.readdirSync(path.resolve(__dirname, 'compiled_tests')).forEach(file => {
- fs.unlinkSync(path.resolve(__dirname, 'compiled_tests', file));
- });
-
- // cp -r original tests
- fs.readdirSync(path.resolve(__dirname, 'original')).forEach(file => {
- let text = fs.readFileSync(path.resolve(__dirname, 'original', file), 'utf8');
-
- if (path.extname(file) === '.md') {
- if (fm.test(text)) {
- text = fm(text);
- text = `---\n${text.frontmatter}\ngfm: false\n---\n${text.body}`;
- } else {
- text = `---\ngfm: false\n---\n${text}`;
- }
- }
-
- fs.writeFileSync(path.resolve(__dirname, 'compiled_tests', file), text);
- });
-
- // node fix.js
- const dir = path.join(__dirname, 'compiled_tests');
-
- fs.readdirSync(dir).filter(file => {
- return path.extname(file) === '.html';
- }).forEach(file => {
- file = path.join(dir, file);
- let html = fs.readFileSync(file, 'utf8');
-
- // fix unencoded quotes
- html = html
- .replace(/='([^\n']*)'(?=[^<>\n]*>)/g, '=&__APOS__;$1&__APOS__;')
- .replace(/="([^\n"]*)"(?=[^<>\n]*>)/g, '=&__QUOT__;$1&__QUOT__;')
- .replace(/"/g, '&quot;')
- .replace(/'/g, '&#39;')
- .replace(/&__QUOT__;/g, '"')
- .replace(/&__APOS__;/g, '\'');
-
- fs.writeFileSync(file, html);
- });
-
- // turn <hr /> into <hr>
- fs.readdirSync(dir).forEach(file => {
- file = path.join(dir, file);
- let text = fs.readFileSync(file, 'utf8');
-
- text = text.replace(/(<|&lt;)hr\s*\/(>|&gt;)/g, '$1hr$2');
-
- fs.writeFileSync(file, text);
- });
-
- // markdown does some strange things.
- // it does not encode naked `>`, marked does.
- {
- const file = `${dir}/amps_and_angles_encoding.html`;
- const html = fs.readFileSync(file, 'utf8')
- .replace('6 > 5.', '6 &gt; 5.');
-
- fs.writeFileSync(file, html);
- }
-
- // cp new/* tests/
- fs.readdirSync(path.resolve(__dirname, 'new')).forEach(file => {
- fs.writeFileSync(path.resolve(__dirname, 'compiled_tests', file),
- fs.readFileSync(path.resolve(__dirname, 'new', file)));
- });
-
- // cp redos/* tests/
- fs.readdirSync(path.resolve(__dirname, 'redos')).forEach(file => {
- fs.writeFileSync(path.resolve(__dirname, 'compiled_tests', file),
- fs.readFileSync(path.resolve(__dirname, 'redos', file)));
- });
-}
-
-/**
- * Argument Parsing
- */
-
-function parseArg(argv) {
- argv = argv.slice(2);
-
- const options = {};
- const orphans = [];
-
- function getarg() {
- let arg = argv.shift();
-
- if (arg.indexOf('--') === 0) {
- // e.g. --opt
- arg = arg.split('=');
- if (arg.length > 1) {
- // e.g. --opt=val
- argv.unshift(arg.slice(1).join('='));
- }
- arg = arg[0];
- } else if (arg[0] === '-') {
- if (arg.length > 2) {
- // e.g. -abc
- argv = arg.substring(1).split('').map(ch => {
- return `-${ch}`;
- }).concat(argv);
- arg = argv.shift();
- } else {
- // e.g. -a
- }
- } else {
- // e.g. foo
- }
-
- return arg;
- }
-
- while (argv.length) {
- let arg = getarg();
- switch (arg) {
- case '-f':
- case '--fix':
- case 'fix':
- if (options.fix !== false) {
- options.fix = true;
- }
- break;
- case '--no-fix':
- case 'no-fix':
- options.fix = false;
- break;
- case '-b':
- case '--bench':
- options.bench = true;
- break;
- case '-s':
- case '--stop':
- options.stop = true;
- break;
- case '-t':
- case '--time':
- options.time = true;
- break;
- case '-m':
- case '--minified':
- options.minified = true;
- break;
- case '--glob':
- arg = argv.shift();
- options.glob = arg.replace(/^=/, '');
- break;
- default:
- if (arg.indexOf('--') === 0) {
- const opt = camelize(arg.replace(/^--(no-)?/, ''));
- if (!marked.defaults.hasOwnProperty(opt)) {
- continue;
- }
- options.marked = options.marked || {};
- if (arg.indexOf('--no-') === 0) {
- options.marked[opt] = typeof marked.defaults[opt] !== 'boolean'
- ? null
- : false;
- } else {
- options.marked[opt] = typeof marked.defaults[opt] !== 'boolean'
- ? argv.shift()
- : true;
- }
- } else {
- orphans.push(arg);
- }
- break;
- }
- }
-
- return options;
-}
-
-/**
- * Helpers
- */
-
-function camelize(text) {
- return text.replace(/(\w)-(\w)/g, (_, a, b) => a + b.toUpperCase());
-}
-
-/**
- * Main
- */
-
-function main(argv) {
- const opt = parseArg(argv);
-
- if (opt.fix !== false) {
- fix();
- }
-
- if (opt.fix) {
- // only run fix
- return;
- }
-
- if (opt.bench) {
- return runBench(opt);
- }
-
- if (opt.time) {
- return time(opt);
- }
-
- if (opt.minified) {
- marked = require('../marked.min.js');
- }
- return runTests(opt);
-}
-
-/**
- * Execute
- */
-
-if (!module.parent) {
- process.title = 'marked';
- process.exit(main(process.argv.slice()) ? 0 : 1);
-} else {
- exports = main;
- exports.main = main;
- exports.runTests = runTests;
- exports.testFile = testFile;
- exports.runBench = runBench;
- exports.load = load;
- exports.bench = bench;
- module.exports = exports;
-}
-
-// returns time to millisecond granularity
-function prettyElapsedTime(hrtimeElapsed) {
- const seconds = hrtimeElapsed[0];
- const frac = Math.round(hrtimeElapsed[1] / 1e3) / 1e3;
- return seconds * 1e3 + frac;
-}
diff --git a/packages/markdown/marked/test/json-to-files.js b/packages/markdown/marked/test/json-to-files.js
deleted file mode 100644
index d7e72aaf..00000000
--- a/packages/markdown/marked/test/json-to-files.js
+++ /dev/null
@@ -1,62 +0,0 @@
-const path = require('path');
-const fs = require('fs');
-
-const folder = process.argv[2];
-const jsonFile = process.argv[3];
-
-if (!folder || !jsonFile) {
- console.log('node ./json-to-files.js {path to folder} {path to json file}');
- process.exit(1);
-}
-
-const specs = require(jsonFile);
-
-const files = specs.reduce((obj, spec) => {
- if (!obj[spec.section]) {
- obj[spec.section] = {
- md: [],
- html: [],
- options: {}
- };
- }
-
- obj[spec.section].md.push(spec.markdown);
- obj[spec.section].html.push(spec.html);
- Object.assign(obj[spec.section].options, spec.options);
-
- return obj;
-}, {});
-
-try {
- fs.mkdirSync(folder, {recursive: true});
-} catch (ex) {
- // already exists
-}
-
-for (const section in files) {
- const file = files[section];
- const name = section.toLowerCase().replace(' ', '_');
- const frontMatter = Object.keys(file.options).map(opt => {
- let value = file.options[opt];
- if (typeof value !== 'string') {
- value = JSON.stringify(value);
- }
- return `${opt}: ${value}`;
- }).join('\n');
-
- let markdown = file.md.join('\n\n');
- if (frontMatter) {
- markdown = `---\n${frontMatter}\n---\n\n${markdown}`;
- }
- const html = file.html.join('\n\n');
-
- const mdFile = path.resolve(folder, `${name}.md`);
- const htmlFile = path.resolve(folder, `${name}.html`);
-
- if (fs.existsSync(mdFile) || fs.existsSync(htmlFile)) {
- throw new Error(`${name} already exists.`);
- }
-
- fs.writeFileSync(mdFile, markdown);
- fs.writeFileSync(htmlFile, html);
-}
diff --git a/packages/markdown/marked/test/new/adjacent_lists.html b/packages/markdown/marked/test/new/adjacent_lists.html
deleted file mode 100644
index b4cd8f50..00000000
--- a/packages/markdown/marked/test/new/adjacent_lists.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<ul>
-<li>This should be</li>
-<li>An unordered list</li>
-</ul>
-
-<ol>
-<li>This should be</li>
-<li>An unordered list</li>
-</ol>
diff --git a/packages/markdown/marked/test/new/adjacent_lists.md b/packages/markdown/marked/test/new/adjacent_lists.md
deleted file mode 100644
index 3fd460b3..00000000
--- a/packages/markdown/marked/test/new/adjacent_lists.md
+++ /dev/null
@@ -1,5 +0,0 @@
-* This should be
-* An unordered list
-
-1. This should be
-2. An unordered list
diff --git a/packages/markdown/marked/test/new/autolink_lines.html b/packages/markdown/marked/test/new/autolink_lines.html
deleted file mode 100644
index aa2bed4d..00000000
--- a/packages/markdown/marked/test/new/autolink_lines.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<p>hello world
-<a href="http://example.com">http://example.com</a>
-</p>
diff --git a/packages/markdown/marked/test/new/autolink_lines.md b/packages/markdown/marked/test/new/autolink_lines.md
deleted file mode 100644
index c9b61a2c..00000000
--- a/packages/markdown/marked/test/new/autolink_lines.md
+++ /dev/null
@@ -1,2 +0,0 @@
-hello world
-<http://example.com>
diff --git a/packages/markdown/marked/test/new/autolinks.html b/packages/markdown/marked/test/new/autolinks.html
deleted file mode 100644
index 8fa4837e..00000000
--- a/packages/markdown/marked/test/new/autolinks.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<p>(See <a href="https://www.example.com/fhqwhgads">https://www.example.com/fhqwhgads</a>.)</p>
-
-<p>((<a href="http://foo.com">http://foo.com</a>))</p>
-
-<p>((<a href="http://foo.com">http://foo.com</a>.))</p>
-
-<p><a href="HTTP://FOO.COM">HTTP://FOO.COM</a></p>
-
-<p><a href="hTtP://fOo.CoM">hTtP://fOo.CoM</a></p>
-
-<p><del><a href="mailto:hello@email.com">hello@email.com</a></del></p>
-
-<p><strong><a href="mailto:me@example.com">me@example.com</a></strong></p>
-
-<p><strong><a href="mailto:test@test.com">test@test.com</a></strong></p> \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/autolinks.md b/packages/markdown/marked/test/new/autolinks.md
deleted file mode 100644
index 1f5f739c..00000000
--- a/packages/markdown/marked/test/new/autolinks.md
+++ /dev/null
@@ -1,15 +0,0 @@
-(See https://www.example.com/fhqwhgads.)
-
-((http://foo.com))
-
-((http://foo.com.))
-
-HTTP://FOO.COM
-
-hTtP://fOo.CoM
-
-~~hello@email.com~~
-
-**me@example.com**
-
-__test@test.com__ \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/blockquote_list_item.html b/packages/markdown/marked/test/new/blockquote_list_item.html
deleted file mode 100644
index 83cf0bdd..00000000
--- a/packages/markdown/marked/test/new/blockquote_list_item.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<p>This fails in markdown.pl and upskirt:</p>
-
-<ul><li>hello<blockquote><p>world</p></blockquote></li></ul>
diff --git a/packages/markdown/marked/test/new/blockquote_list_item.md b/packages/markdown/marked/test/new/blockquote_list_item.md
deleted file mode 100644
index 19e93829..00000000
--- a/packages/markdown/marked/test/new/blockquote_list_item.md
+++ /dev/null
@@ -1,4 +0,0 @@
-This fails in markdown.pl and upskirt:
-
-* hello
- > world
diff --git a/packages/markdown/marked/test/new/case_insensitive_refs.html b/packages/markdown/marked/test/new/case_insensitive_refs.html
deleted file mode 100644
index c54388ea..00000000
--- a/packages/markdown/marked/test/new/case_insensitive_refs.html
+++ /dev/null
@@ -1 +0,0 @@
-<p><a href="/url">hi</a></p>
diff --git a/packages/markdown/marked/test/new/case_insensitive_refs.md b/packages/markdown/marked/test/new/case_insensitive_refs.md
deleted file mode 100644
index 598915a8..00000000
--- a/packages/markdown/marked/test/new/case_insensitive_refs.md
+++ /dev/null
@@ -1,3 +0,0 @@
-[hi]
-
-[HI]: /url
diff --git a/packages/markdown/marked/test/new/cm_autolinks.html b/packages/markdown/marked/test/new/cm_autolinks.html
deleted file mode 100644
index e7ae0ee4..00000000
--- a/packages/markdown/marked/test/new/cm_autolinks.html
+++ /dev/null
@@ -1,91 +0,0 @@
-<p>Here are some valid autolinks:</p>
-
-<h3 id="example-565">Example 565</h3>
-
-<p><a href="http://foo.bar.baz">http://foo.bar.baz</a></p>
-
-<h3 id="example-566">Example 566</h3>
-
-<p><a href="http://foo.bar.baz/test?q=hello&amp;id=22&amp;boolean">http://foo.bar.baz/test?q=hello&amp;id=22&amp;boolean</a></p>
-
-<h3 id="example-567">Example 567</h3>
-
-<p><a href="irc://foo.bar:2233/baz">irc://foo.bar:2233/baz</a></p>
-
-<h3 id="example-568">Example 568</h3>
-
-<p>Uppercase is also fine:</p>
-
-<p><a href="MAILTO:FOO@BAR.BAZ">MAILTO:FOO@BAR.BAZ</a></p>
-
-<p>Note that many strings that count as absolute URIs for purposes of this spec are not valid URIs, because their schemes are not registered or because of other problems with their syntax:</p>
-
-<h3 id="example-569">Example 569</h3>
-
-<p><a href="a+b+c:d">a+b+c:d</a></p>
-
-<h3 id="example-570">Example 570</h3>
-
-<p><a href="made-up-scheme://foo,bar">made-up-scheme://foo,bar</a></p>
-
-<h3 id="example-571">Example 571</h3>
-
-<p><a href="http://../">http://../</a></p>
-
-<h3 id="example-572">Example 572</h3>
-
-<p><a href="localhost:5001/foo">localhost:5001/foo</a></p>
-
-<h3 id="example-573">Example 573</h3>
-
-<p>Spaces are not allowed in autolinks:</p>
-
-<p>&lt;http://foo.bar/baz bim&gt;</p>
-
-<h3 id="example-574">Example 574</h3>
-
-<p>Backslash-escapes do not work inside autolinks:</p>
-
-<p><a href="http://example.com/%5C%5B%5C">http://example.com/\[\</a></p>
-
-<p>Examples of email autolinks:</p>
-
-<h3 id="example-575">Example 575</h3>
-
-<p><a href="mailto:foo@bar.example.com">foo@bar.example.com</a></p>
-
-<h3 id="example-576">Example 576</h3>
-
-<p><a href="mailto:foo+special@Bar.baz-bar0.com">foo+special@Bar.baz-bar0.com</a></p>
-
-<h3 id="example-577">Example 577</h3>
-
-<p>Backslash-escapes do not work inside email autolinks:</p>
-
-<p>&lt;foo+@bar.example.com&gt;</p>
-
-<p>These are not autolinks:</p>
-
-<h3 id="example-578">Example 578</h3>
-
-<p>&lt;&gt;</p>
-
-<h3 id="example-579">Example 579</h3>
-
-<p>&lt; http://foo.bar &gt;</p>
-
-<h3 id="example-580">Example 580</h3>
-
-<p>&lt;m:abc&gt;</p>
-
-<h3 id="example-581">Example 581</h3>
-
-<p>&lt;foo.bar.baz&gt;</p>
-
-<h3 id="example-582">Example 582</h3>
-
-<p>http://example.com</p>
-
-<h3 id="example-583">Example 583</h3>
-
-<p>foo@bar.example.com</p> \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/cm_autolinks.md b/packages/markdown/marked/test/new/cm_autolinks.md
deleted file mode 100644
index a19d830c..00000000
--- a/packages/markdown/marked/test/new/cm_autolinks.md
+++ /dev/null
@@ -1,96 +0,0 @@
----
-gfm: false
-mangle: false
----
-
-Here are some valid autolinks:
-
-### Example 565
-
-<http://foo.bar.baz>
-
-### Example 566
-
-<http://foo.bar.baz/test?q=hello&id=22&boolean>
-
-### Example 567
-
-<irc://foo.bar:2233/baz>
-
-### Example 568
-
-Uppercase is also fine:
-
-<MAILTO:FOO@BAR.BAZ>
-
-Note that many strings that count as absolute URIs for purposes of this spec are not valid URIs, because their schemes are not registered or because of other problems with their syntax:
-
-### Example 569
-
-<a+b+c:d>
-
-### Example 570
-
-<made-up-scheme://foo,bar>
-
-### Example 571
-
-<http://../>
-
-### Example 572
-
-<localhost:5001/foo>
-
-### Example 573
-
-Spaces are not allowed in autolinks:
-
-<http://foo.bar/baz bim>
-
-### Example 574
-
-Backslash-escapes do not work inside autolinks:
-
-<http://example.com/\[\>
-
-Examples of email autolinks:
-
-### Example 575
-
-<foo@bar.example.com>
-
-### Example 576
-
-<foo+special@Bar.baz-bar0.com>
-
-### Example 577
-
-Backslash-escapes do not work inside email autolinks:
-
-<foo\+@bar.example.com>
-
-These are not autolinks:
-
-### Example 578
-
-<>
-
-### Example 579
-
-< http://foo.bar >
-
-### Example 580
-
-<m:abc>
-
-### Example 581
-
-<foo.bar.baz>
-
-### Example 582
-
-http://example.com
-
-### Example 583
-
-foo@bar.example.com \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/cm_blockquotes.html b/packages/markdown/marked/test/new/cm_blockquotes.html
deleted file mode 100644
index b4d51b1f..00000000
--- a/packages/markdown/marked/test/new/cm_blockquotes.html
+++ /dev/null
@@ -1,233 +0,0 @@
-<h3 id="example-191">Example 191</h3>
-
-<blockquote>
-<h1 id="foo">Foo</h1>
-<p>bar
-baz</p>
-</blockquote>
-
-<h3 id="example-192">Example 192</h3>
-
-<p>The spaces after the <code>&gt;</code> characters can be omitted:</p>
-
-<blockquote>
-<h1 id="bar">Bar</h1>
-<p>bar
-baz</p>
-</blockquote>
-
-<h3 id="example-193">Example 193</h3>
-
-<p>The <code>&gt;</code> characters can be indented 1-3 spaces:</p>
-
-<blockquote>
-<h1 id="baz">Baz</h1>
-<p>bar
-baz</p>
-</blockquote>
-
-<h3 id="example-194">Example 194</h3>
-
-<p>Four spaces gives us a code block:</p>
-
-<pre><code>&gt; # Qux
-&gt; bar
-&gt; baz</code></pre>
-
-<h3 id="example-195">Example 195</h3>
-
-<p>The Laziness clause allows us to omit the <code>&gt;</code> before paragraph continuation text:</p>
-
-<blockquote>
-<h1 id="quux">Quux</h1>
-<p>bar
-baz</p>
-</blockquote>
-
-<h3 id="example-196">Example 196</h3>
-
-<p>A block quote can contain some lazy and some non-lazy continuation lines:</p>
-
-<blockquote>
-<p>bar
-baz
-foo</p>
-</blockquote>
-
-<h3 id="example-197">Example 197</h3>
-
-<p>Laziness only applies to lines that would have been continuations of paragraphs had they been prepended with block quote markers. For example, the <code>&gt;</code> cannot be omitted in the second line of</p>
-
-<blockquote>
-<p>foo</p>
-</blockquote>
-<hr>
-
-<p>without changing the meaning.</p>
-
-<h3 id="example-198">Example 198</h3>
-
-<pre><code>Similarly, if we omit the `&gt;` in the second line then the block quote ends after the first line:
-
-&gt; - foo
-- bar</code></pre>
-
-<h3 id="example-199">Example 199</h3>
-
-<p>For the same reason, we can’t omit the <code>&gt;</code> in front of subsequent lines of an indented or fenced code block:</p>
-
-<blockquote>
-<pre><code>foo</code></pre>
-</blockquote>
-<pre><code>bar</code></pre>
-
-<h3 id="example-200">Example 200</h3>
-
-<pre><code>&gt; ```
-foo
-```
-
-&lt;blockquote&gt;
-&lt;pre&gt;&lt;code&gt;&lt;/code&gt;&lt;/pre&gt;
-&lt;/blockquote&gt;
-&lt;p&gt;foo&lt;/p&gt;
-&lt;pre&gt;&lt;code&gt;&lt;/code&gt;&lt;/pre&gt;</code></pre>
-
-<h3 id="example-201">Example 201</h3>
-<pre><code>&gt; foo
- - bar
-
-&lt;blockquote&gt;
-&lt;p&gt;foo
-- bar&lt;/p&gt;
-&lt;/blockquote&gt;</code></pre>
-
-<h3 id="example-202">Example 202</h3>
-
-<p>A block quote can be empty:</p>
-
-<blockquote>
-</blockquote>
-
-<h3 id="example-203">Example 203</h3>
-
-<blockquote>
-</blockquote>
-
-<h3 id="example-204">Example 204</h3>
-
-<p>A block quote can have initial or final blank lines:</p>
-
-<blockquote>
-<p>foo</p>
-</blockquote>
-
-
-<h3 id="example-205">Example 205</h3>
-
-<p>A blank line always separates block quotes:</p>
-
-<blockquote>
-<p>foo</p>
-</blockquote>
-<blockquote>
-<p>bar</p>
-</blockquote>
-
-<h3 id="example-206">Example 206</h3>
-
-<p>Consecutiveness means that if we put these block quotes together, we get a single block quote:</p>
-
-<blockquote>
-<p>foo
-bar</p>
-</blockquote>
-
-<h3 id="example-207">Example 207</h3>
-
-<p>To get a block quote with two paragraphs, use:</p>
-
-<blockquote>
-<p>foo</p>
-<p>bar</p>
-</blockquote>
-
-<h3 id="example-208">Example 208</h3>
-
-<p>Block quotes can interrupt paragraphs:</p>
-
-<p>foo</p>
-<blockquote>
-<p>bar</p>
-</blockquote>
-
-<h3 id="example-209">Example 209</h3>
-
-<p>In general, blank lines are not needed before or after block quotes:</p>
-
-<blockquote>
-<p>aaa</p>
-</blockquote>
-<hr>
-<blockquote>
-<p>bbb</p>
-</blockquote>
-
-<h3 id="example-210">Example 210</h3>
-
-<p>However, because of laziness, a blank line is needed between a block quote and a following paragraph:</p>
-
-<blockquote>
-<p>bar
-baz</p>
-</blockquote>
-
-<h3 id="example-211">Example 211</h3>
-
-<blockquote>
-<p>bar</p>
-</blockquote>
-<p>baz</p>
-
-<h3 id="example-212">Example 212</h3>
-
-<blockquote>
-<p>bar</p>
-</blockquote>
-<p>baz</p>
-
-<h3 id="example-213">Example 213</h3>
-
-<p>It is a consequence of the Laziness rule that any number of initial <code>&gt;</code>s may be omitted on a continuation line of a nested block quote:</p>
-
-<blockquote>
-<blockquote>
-<blockquote>
-<p>foo
-bar</p>
-</blockquote>
-</blockquote>
-</blockquote>
-
-<h3 id="example-214">Example 214</h3>
-
-<blockquote>
-<blockquote>
-<blockquote>
-<p>foo
-bar
-baz</p>
-</blockquote>
-</blockquote>
-</blockquote>
-
-<h3 id="example-215">Example 215</h3>
-
-<p>When including an indented code block in a block quote, remember that the block quote marker includes both the <code>&gt;</code> and a following space. So five spaces are needed after the <code>&gt;</code>:</p>
-
-<blockquote>
-<pre><code>code</code></pre>
-</blockquote>
-<blockquote>
-<p>not code</p>
-</blockquote>
diff --git a/packages/markdown/marked/test/new/cm_blockquotes.md b/packages/markdown/marked/test/new/cm_blockquotes.md
deleted file mode 100644
index 6a80a6f3..00000000
--- a/packages/markdown/marked/test/new/cm_blockquotes.md
+++ /dev/null
@@ -1,189 +0,0 @@
-### Example 191
-
-> # Foo
-> bar
-> baz
-
-### Example 192
-
-The spaces after the `>` characters can be omitted:
-
-># Bar
->bar
-> baz
-
-### Example 193
-
-The `>` characters can be indented 1-3 spaces:
-
- > # Baz
- > bar
- > baz
-
-### Example 194
-
-Four spaces gives us a code block:
-
- > # Qux
- > bar
- > baz
-
-### Example 195
-
-The Laziness clause allows us to omit the `>` before paragraph continuation text:
-
-> # Quux
-> bar
-baz
-
-### Example 196
-
-A block quote can contain some lazy and some non-lazy continuation lines:
-
-> bar
-baz
-> foo
-
-### Example 197
-
-Laziness only applies to lines that would have been continuations of paragraphs had they been prepended with block quote markers. For example, the `>` cannot be omitted in the second line of
-
-> foo
----
-
-without changing the meaning.
-
-### Example 198
-
- Similarly, if we omit the `>` in the second line then the block quote ends after the first line:
-
- > - foo
- - bar
-
-### Example 199
-
-For the same reason, we can’t omit the `>` in front of subsequent lines of an indented or fenced code block:
-
-> foo
-
- bar
-
-### Example 200
-
- > ```
- foo
- ```
-
- <blockquote>
- <pre><code></code></pre>
- </blockquote>
- <p>foo</p>
- <pre><code></code></pre>
-
-### Example 201
-
- > foo
- - bar
-
- <blockquote>
- <p>foo
- - bar</p>
- </blockquote>
-
-### Example 202
-
-A block quote can be empty:
-
->
-
-### Example 203
-
->
->
->
-
-### Example 204
-
-A block quote can have initial or final blank lines:
-
->
-> foo
->
-
-### Example 205
-
-A blank line always separates block quotes:
-
-> foo
-
-> bar
-
-### Example 206
-
-Consecutiveness means that if we put these block quotes together, we get a single block quote:
-
-> foo
-> bar
-
-### Example 207
-
-To get a block quote with two paragraphs, use:
-
-> foo
->
-> bar
-
-### Example 208
-
-Block quotes can interrupt paragraphs:
-
-foo
-> bar
-
-### Example 209
-
-In general, blank lines are not needed before or after block quotes:
-
-> aaa
-***
-> bbb
-
-### Example 210
-
-However, because of laziness, a blank line is needed between a block quote and a following paragraph:
-
-> bar
-baz
-
-### Example 211
-
-> bar
-
-baz
-
-### Example 212
-
-> bar
->
-baz
-
-### Example 213
-
-It is a consequence of the Laziness rule that any number of initial `>`s may be omitted on a continuation line of a nested block quote:
-
-> > > foo
-bar
-
-### Example 214
-
->>> foo
-> bar
->>baz
-
-### Example 215
-
-When including an indented code block in a block quote, remember that the block quote marker includes both the `>` and a following space. So five spaces are needed after the `>`:
-
-> code
-
-> not code
diff --git a/packages/markdown/marked/test/new/cm_html_blocks.html b/packages/markdown/marked/test/new/cm_html_blocks.html
deleted file mode 100644
index 80fdff57..00000000
--- a/packages/markdown/marked/test/new/cm_html_blocks.html
+++ /dev/null
@@ -1,300 +0,0 @@
-<h1 id="html-blocks">HTML blocks</h1>
-
-<h3 id="example-116">Example 116</h3>
-
-<table><tr><td>
-<pre>
-**Hello**,
-<p><em>world</em>.
-</pre></p>
-</td></tr></table>
-
-<h3 id="example-117">Example 117</h3>
-
-<table>
- <tr>
- <td>
- hi
- </td>
- </tr>
-</table>
-<p>okay.</p>
-
-<h3 id="example-118">Example 118</h3>
-
- <div>
- *hello*
- <foo><a>
-
-<h3 id="example-119">Example 119</h3>
-
-</div>
-*foo*
-
-<h3 id="example-120">Example 120</h3>
-
-<DIV CLASS="foo">
-<p><em>Markdown</em></p>
-</DIV>
-
-<h3 id="example-121">Example 121</h3>
-
-<div id="foo"
- class="bar">
-</div>
-
-<h3 id="example-122">Example 122</h3>
-
-<div id="foo" class="bar
- baz">
-</div>
-
-<h3 id="example-123">Example 123</h3>
-
-<div>
-*foo*
-<p><em>bar</em></p>
-
-<h3 id="example-124">Example 124</h3>
-
-<div id="foo"
-*hi*
-
-<h3 id="example-125">Example 125</h3>
-
-<div class
-foo
-
-<h3 id="example-126">Example 126</h3>
-
-<div *???-&&&-<---
-*foo*
-
-<h3 id="example-127">Example 127</h3>
-
-<div><a href="bar">*foo*</a></div>
-
-<h3 id="example-128">Example 128</h3>
-
-<table><tr><td>
-foo
-</td></tr></table>
-
-<h3 id="example-129">Example 129</h3>
-
-<div></div>
-``` c
-int x = 33;
-```
-
-<h3 id="example-130">Example 130</h3>
-
-<a href="foo">
-*bar*
-</a>
-
-<h3 id="example-131">Example 131</h3>
-
-<Warning>
-*bar*
-</Warning>
-
-<h3 id="example-132">Example 132</h3>
-
-<i class="foo">
-*bar*
-</i>
-
-<h3 id="example-133">Example 133</h3>
-
-</ins>
-*bar*
-
-<h3 id="example-134">Example 134</h3>
-
-<del>
-*foo*
-</del>
-
-<h3 id="example-135">Example 135</h3>
-
-<del>
-<p><em>foo</em></p>
-</del>
-
-<h3 id="example-136">Example 136</h3>
-
-<p><del><em>foo</em></del></p>
-
-<h3 id="example-137">Example 137</h3>
-
-<pre language="haskell"><code>
-import Text.HTML.TagSoup
-
-main :: IO ()
-main = print $ parseTags tags
-</code></pre>
-<p>okay</p>
-
-<h3 id="example-138">Example 138</h3>
-
-<script type="text/javascript">
-// JavaScript example
-
-document.getElementById("demo").innerHTML = "Hello JavaScript!";
-</script>
-<p>okay</p>
-
-<h3 id="example-139">Example 139</h3>
-
-<style
- type="text/css">
-h1 {color:red;}
-
-p {color:blue;}
-</style>
-<p>okay</p>
-
-<h3 id="example-141">Example 141</h3>
-
-<blockquote>
-<div>
-foo
-</blockquote>
-<p>bar</p>
-
-<h3 id="example-142">Example 142</h3>
-
-<ul>
-<li>
-<div>
-</li>
-<li>foo</li>
-</ul>
-
-<h3 id="example-143">Example 143</h3>
-
-<style>p{color:red;}</style>
-<p><em>foo</em></p>
-
-<h3 id="example-144">Example 144</h3>
-
-<!-- foo -->*bar*
-<p><em>baz</em></p>
-
-<h3 id="example-145">Example 145</h3>
-
-<script>
-foo
-</script>1. *bar*
-
-<h3 id="example-146">Example 146</h3>
-
-<!-- Foo
-
-bar
- baz -->
-<p>okay</p>
-
-<h3 id="example-147">Example 147</h3>
-
-<?php
-
- echo '>';
-
-?>
-<p>okay</p>
-
-<h3 id="example-148">Example 148</h3>
-
-<!DOCTYPE html>
-
-<h3 id="example-149">Example 149</h3>
-
-<![CDATA[
-function matchwo(a,b)
-{
- if (a < b && a < 0) then {
- return 1;
-
- } else {
-
- return 0;
- }
-}
-]]>
-<p>okay</p>
-
-<h3 id="example-150">Example 150</h3>
-
- <!-- foo -->
-<pre><code>&lt;!-- foo --&gt;
-</code></pre>
-
-<h3 id="example-151">Example 151</h3>
-
- <div>
-<pre><code>&lt;div&gt;
-</code></pre>
-
-<h3 id="example-152">Example 152</h3>
-
-<p>Foo</p>
-<div>
-bar
-</div>
-
-<h3 id="example-153">Example 153</h3>
-
-<div>
-bar
-</div>
-*foo*
-
-<h3 id="example-154">Example 154</h3>
-
-<p>Foo
-<a href="bar">
-baz</p>
-
-<h3 id="example-155">Example 155</h3>
-
-<div>
-<p><em>Emphasized</em> text.</p>
-</div>
-
-<h3 id="example-156">Example 156</h3>
-
-<div>
-*Emphasized* text.
-</div>
-
-<h3 id="example-157">Example 157</h3>
-
-<table>
-<tr>
-<td>
-Hi
-</td>
-</tr>
-</table>
-
-<h3 id="example-158">Example 158</h3>
-
-<table>
- <tr>
-<pre><code>&lt;td&gt;
- Hi
-&lt;/td&gt;
-</code></pre>
- </tr>
-</table>
-
-<h3 id="example-140">Example 140</h3>
-
-<p>If there is no matching end tag, the block will end at the end of the document (or the enclosing block quote or list item):</p>
-
-<style
- type="text/css">
-
-foo
diff --git a/packages/markdown/marked/test/new/cm_html_blocks.md b/packages/markdown/marked/test/new/cm_html_blocks.md
deleted file mode 100644
index 0372245f..00000000
--- a/packages/markdown/marked/test/new/cm_html_blocks.md
+++ /dev/null
@@ -1,312 +0,0 @@
-HTML blocks
-===================
-
-### Example 116
-
-<table><tr><td>
-<pre>
-**Hello**,
-
-_world_.
-</pre>
-</td></tr></table>
-
-### Example 117
-
-<table>
- <tr>
- <td>
- hi
- </td>
- </tr>
-</table>
-
-okay.
-
-### Example 118
-
- <div>
- *hello*
- <foo><a>
-
-### Example 119
-
-</div>
-*foo*
-
-### Example 120
-
-<DIV CLASS="foo">
-
-*Markdown*
-
-</DIV>
-
-### Example 121
-
-<div id="foo"
- class="bar">
-</div>
-
-### Example 122
-
-<div id="foo" class="bar
- baz">
-</div>
-
-### Example 123
-
-<div>
-*foo*
-
-*bar*
-
-### Example 124
-
-<div id="foo"
-*hi*
-
-### Example 125
-
-<div class
-foo
-
-### Example 126
-
-<div *???-&&&-<---
-*foo*
-
-### Example 127
-
-<div><a href="bar">*foo*</a></div>
-
-### Example 128
-
-<table><tr><td>
-foo
-</td></tr></table>
-
-### Example 129
-
-<div></div>
-``` c
-int x = 33;
-```
-
-### Example 130
-
-<a href="foo">
-*bar*
-</a>
-
-### Example 131
-
-<Warning>
-*bar*
-</Warning>
-
-### Example 132
-
-<i class="foo">
-*bar*
-</i>
-
-### Example 133
-
-</ins>
-*bar*
-
-### Example 134
-
-<del>
-*foo*
-</del>
-
-### Example 135
-
-<del>
-
-*foo*
-
-</del>
-
-### Example 136
-
-<del>*foo*</del>
-
-### Example 137
-
-<pre language="haskell"><code>
-import Text.HTML.TagSoup
-
-main :: IO ()
-main = print $ parseTags tags
-</code></pre>
-okay
-
-### Example 138
-
-<script type="text/javascript">
-// JavaScript example
-
-document.getElementById("demo").innerHTML = "Hello JavaScript!";
-</script>
-okay
-
-### Example 139
-
-<style
- type="text/css">
-h1 {color:red;}
-
-p {color:blue;}
-</style>
-okay
-
-### Example 141
-
-> <div>
-> foo
-
-bar
-
-### Example 142
-
-- <div>
-- foo
-
-### Example 143
-
-<style>p{color:red;}</style>
-*foo*
-
-### Example 144
-
-<!-- foo -->*bar*
-*baz*
-
-### Example 145
-
-<script>
-foo
-</script>1. *bar*
-
-### Example 146
-
-<!-- Foo
-
-bar
- baz -->
-okay
-
-### Example 147
-
-<?php
-
- echo '>';
-
-?>
-okay
-
-### Example 148
-
-<!DOCTYPE html>
-
-### Example 149
-
-<![CDATA[
-function matchwo(a,b)
-{
- if (a < b && a < 0) then {
- return 1;
-
- } else {
-
- return 0;
- }
-}
-]]>
-okay
-
-### Example 150
-
- <!-- foo -->
-
- <!-- foo -->
-
-### Example 151
-
- <div>
-
- <div>
-
-### Example 152
-
-Foo
-<div>
-bar
-</div>
-
-### Example 153
-
-<div>
-bar
-</div>
-*foo*
-
-### Example 154
-
-Foo
-<a href="bar">
-baz
-
-### Example 155
-
-<div>
-
-*Emphasized* text.
-
-</div>
-
-### Example 156
-
-<div>
-*Emphasized* text.
-</div>
-
-### Example 157
-
-<table>
-
-<tr>
-
-<td>
-Hi
-</td>
-
-</tr>
-
-</table>
-
-### Example 158
-
-<table>
-
- <tr>
-
- <td>
- Hi
- </td>
-
- </tr>
-
-</table>
-
-### Example 140
-
-If there is no matching end tag, the block will end at the end of the document (or the enclosing block quote or list item):
-
-<style
- type="text/css">
-
-foo \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/cm_link_defs.html b/packages/markdown/marked/test/new/cm_link_defs.html
deleted file mode 100644
index 8763ca15..00000000
--- a/packages/markdown/marked/test/new/cm_link_defs.html
+++ /dev/null
@@ -1,115 +0,0 @@
-<h3 id="example-159">Example 159</h3>
-
-<p><a href="/url" title="title">foo159</a></p>
-
-<h3 id="example-160">Example 160</h3>
-
-<p><a href="/url" title="the title">foo160</a></p>
-
-<h3 id="example-161">Example 161</h3>
-
-<p><a href="my_(url)" title="title (with parens)">Foo161*bar]</a></p>
-
-<h3 id="example-162">Example 162</h3>
-
-<p><a href="my%20url" title="title">Foo162 bar</a></p>
-
-<h3 id="example-163">Example 163</h3>
-
-<p><a href="/url" title="
-title
-line1
-line2
-">foo163</a></p>
-
-<h3 id="example-164">Example 164</h3>
-
-<p>[foo164]: /url &#39;title</p>
-<p>with blank line&#39;</p>
-<p>[foo164]</p>
-
-<h3 id="example-165">Example 165</h3>
-
-<p><a href="/url">foo165</a></p>
-
-<h3 id="example-166">Example 166</h3>
-
-<p>[foo166]:</p>
-<p>[foo166]</p>
-
-<h3 id="example-167">Example 167</h3>
-
-<pre><code>[foo167]: /url\bar\*baz &quot;foo\&quot;bar\baz&quot;
-
-[foo167]
-
-should render to
-
-&lt;p&gt;&lt;a href=&quot;/url%5Cbar*baz&quot; title=&quot;foo&amp;quot;bar\baz&quot;&gt;foo167&lt;/a&gt;&lt;/p&gt;</code></pre>
-
-<h3 id="example-168">Example 168</h3>
-
-<p><a href="url">foo168</a></p>
-
-<h3 id="example-169">Example 169</h3>
-
-<p><a href="first">foo169</a></p>
-
-<h3 id="example-170">Example 170</h3>
-
-<p><a href="/url">Foo170</a></p>
-
-<h3 id="example-171">Example 171</h3>
-
-<p><a href="/%CF%86%CE%BF%CF%85">αγω</a></p>
-
-<h3 id="example-172">Example 172</h3>
-
-<h3 id="example-173">Example 173</h3>
-
-<p>bar</p>
-
-<h3 id="example-174">Example 174</h3>
-
-<p>[foo174]: /url &quot;title&quot; ok</p>
-
-<h3 id="example-175">Example 175</h3>
-
-<p>&quot;title&quot; ok</p>
-
-<h3 id="example-176">Example 176</h3>
-
-<pre><code>[foo176]: /url &quot;title&quot;
-</code></pre>
-<p>[foo176]</p>
-
-<h3 id="example-177">Example 177</h3>
-
-<pre><code>[foo177]: /url
-</code></pre>
-<p>[foo177]</p>
-
-<h3 id="example-178">Example 178</h3>
-
-<p>Foo
-[bar178]: /baz</p>
-<p>[bar178]</p>
-
-<h3 id="example-179">Example 179</h3>
-
-<h1 id="foo179"><a href="/url">Foo179</a></h1>
-<blockquote>
-<p>bar</p>
-</blockquote>
-
-<h3 id="example-180">Example 180</h3>
-
-<p><a href="/foo-url" title="foo">foo180</a>,
-<a href="/bar-url" title="bar">bar180</a>,
-<a href="/baz-url">baz180</a></p>
-
-<h3 id="example-181">Example 181</h3>
-
-<p><a href="/url">foo181</a></p>
-<blockquote>
-</blockquote> \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/cm_link_defs.md b/packages/markdown/marked/test/new/cm_link_defs.md
deleted file mode 100644
index 74684f21..00000000
--- a/packages/markdown/marked/test/new/cm_link_defs.md
+++ /dev/null
@@ -1,157 +0,0 @@
-### Example 159
-
-[foo159]: /url "title"
-
-[foo159]
-
-### Example 160
-
- [foo160]:
- /url
- 'the title'
-
-[foo160]
-
-### Example 161
-
-[Foo161*bar\]]:my_(url) 'title (with parens)'
-
-[Foo161*bar\]]
-
-### Example 162
-
-[Foo162 bar]:
-<my%20url>
-'title'
-
-[Foo162 bar]
-
-### Example 163
-
-[foo163]: /url '
-title
-line1
-line2
-'
-
-[foo163]
-
-### Example 164
-
-[foo164]: /url 'title
-
-with blank line'
-
-[foo164]
-
-### Example 165
-
-[foo165]:
-/url
-
-[foo165]
-
-### Example 166
-
-[foo166]:
-
-[foo166]
-
-### Example 167
-
- [foo167]: /url\bar\*baz "foo\"bar\baz"
-
- [foo167]
-
- should render to
-
- <p><a href="/url%5Cbar*baz" title="foo&quot;bar\baz">foo167</a></p>
-
-### Example 168
-
-[foo168]
-
-[foo168]: url
-
-### Example 169
-
-[foo169]
-
-[foo169]: first
-[foo169]: second
-
-### Example 170
-
-[FOO170]: /url
-
-[Foo170]
-
-### Example 171
-
-[ΑΓΩ]: /φου
-
-[αγω]
-
-### Example 172
-
-[foo172]: /url
-
-### Example 173
-
-[
-foo173
-]: /url
-bar
-
-### Example 174
-
-[foo174]: /url "title" ok
-
-### Example 175
-
-[foo175]: /url
-"title" ok
-
-### Example 176
-
- [foo176]: /url "title"
-
-[foo176]
-
-### Example 177
-
-```
-[foo177]: /url
-```
-
-[foo177]
-
-### Example 178
-
-Foo
-[bar178]: /baz
-
-[bar178]
-
-### Example 179
-
-# [Foo179]
-[foo179]: /url
-> bar
-
-### Example 180
-
-[foo180]: /foo-url "foo"
-[bar180]: /bar-url
- "bar"
-[baz180]: /baz-url
-
-[foo180],
-[bar180],
-[baz180]
-
-### Example 181
-
-[foo181]
-
-> [foo181]: /url \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/cm_links.html b/packages/markdown/marked/test/new/cm_links.html
deleted file mode 100644
index 08c65e7c..00000000
--- a/packages/markdown/marked/test/new/cm_links.html
+++ /dev/null
@@ -1,397 +0,0 @@
-<h1 id="links">Links</h1>
-
-<h3 id="example-459">Example 459</h3>
-
-<p><a href="/uri" title="title">link</a></p>
-
-<h3 id="example-460">Example 460</h3>
-
-<p><a href="/uri">link</a></p>
-
-<h3 id="example-461">Example 461</h3>
-
-<p><a href="">link</a></p>
-
-<h3 id="example-462">Example 462</h3>
-
-<p><a href="">link</a></p>
-
-<h3 id="example-463">Example 463</h3>
-
-<p>[link](/my uri)</p>
-
-<h3 id="example-464">Example 464</h3>
-
-<p>[link](&lt;/my uri&gt;)</p>
-
-<h3 id="example-465">Example 465</h3>
-
-<p>[link](foo
-bar)</p>
-
-<h3 id="example-466">Example 466</h3>
-
-<p>[link](<foo
-bar>)</p>
-
-<h3 id="example-467">Example 467</h3>
-
-<p><a href="(foo)">link</a></p>
-
-<h3 id="example-4680">Example 4680</h3>
-
-<p>ONE LEVEL of parentheses are allowed without escaping, as long as they are balanced:</p>
-
-<p><a href="foo(bar)">link</a></p>
-
-<h3 id="example-469">Example 469</h3>
-
-<p><a href="foo(and(bar)">link</a></p>
-
-<h3 id="example-470">Example 470</h3>
-
-<p>However, if you have ANY unbalanced parentheses, you need to escape or use the &lt;...&gt; form:</p>
-
-<p><a href="foo(and(bar)">link</a></p>
-
-<h3 id="example-471">Example 471</h3>
-
-<p><a href="foo):">link</a></p>
-
-<h3 id="example-472">Example 472</h3>
-
-<p><a href="#fragment">link</a></p>
-<p><a href="http://example.com#fragment">link</a></p>
-<p><a href="http://example.com?foo=3#frag">link</a></p>
-
-<h3 id="example-473">Example 473</h3>
-
-<p><a href="foo%5Cbar">link</a></p>
-
-<h3 id="example-4740">Example 4740</h3>
-
-<p><a href="foo%20b&auml;">link</a></p>
-
-<h3 id="example-475">Example 475</h3>
-
-<p><a href="%22title%22">link</a></p>
-
-<h3 id="example-476">Example 476</h3>
-
-<p><a href="/url" title="title">link</a>
-<a href="/url" title="title">link</a>
-<a href="/url" title="title">link</a></p>
-
-<h3 id="example-477">Example 477</h3>
-
-<p><a href="/url" title="title &quot;&quot;">link</a></p>
-
-<h3 id="example-479">Example 479</h3>
-
-<p>[link](/url &quot;title &quot;and&quot; title&quot;)</p>
-
-<h3 id="example-480">Example 480</h3>
-
-<p><a href="/url" title="title &quot;and&quot; title">link</a></p>
-
-<h3 id="example-481">Example 481</h3>
-
-<p><a href="/uri" title="title">link</a></p>
-
-<h3 id="example-482">Example 482</h3>
-
-<p>[link] (/uri)</p>
-
-<h3 id="example-4830">Example 4830</h3>
-
-<p>The link text may contain ONE LEVEL of balanced brackets, but not unbalanced ones, unless they are escaped:</p>
-
-<p><a href="/uri">link [foo4830]</a></p>
-
-<h3 id="example-484">Example 484</h3>
-
-<p>[link] bar](/uri)</p>
-
-<h3 id="example-485">Example 485</h3>
-
-<p>[link <a href="/uri">bar</a></p>
-
-<h3 id="example-486">Example 486</h3>
-
-<p><a href="/uri">link [bar</a></p>
-
-<h3 id="example-487">Example 487</h3>
-
-<p><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>
-
-<h3 id="example-488">Example 488</h3>
-
-<p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p>
-
-<h3 id="example-493">Example 493</h3>
-
-<p><a href="baz*">foo *bar</a></p>
-
-<h3 id="example-494">Example 494</h3>
-
-<p><em>foo [bar</em> baz]</p>
-
-<h3 id="example-498">Example 498</h3>
-
-<p><a href="/url" title="title">foo</a></p>
-
-<h3 id="example-4990">Example 4990</h3>
-
-<p><a href="/uri">link [foo499]</a></p>
-
-<h3 id="example-500">Example 500</h3>
-
-<p><a href="/uri">link [bar</a></p>
-
-<h3 id="example-501">Example 501</h3>
-
-<p><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>
-
-<h3 id="example-502">Example 502</h3>
-
-<p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p>
-
-<h3 id="example-5030">Example 5030</h3>
-
-<p><a href="/uri">foo <a href="/uri">bar</a></a></p>
-
-<h3 id="example-504">Example 504</h3>
-
-<p><a href="/uri">foo <em>bar <a href="/uri">baz</a></em></a></p>
-
-<h3 id="example-506">Example 506</h3>
-
-<p><a href="/uri">foo *bar</a></p>
-
-<h3 id="example-510">Example 510</h3>
-
-<p><a href="/url" title="title">foo</a></p>
-
-<h3 id="example-511">Example 511</h3>
-
-<p><a href="/url">Толпой</a> is a Russian word.</p>
-
-<h3 id="example-512">Example 512</h3>
-
-<p><a href="/url">Baz</a></p>
-
-<h3 id="example-513">Example 513</h3>
-
-<p>[foo513] <a href="/url" title="title">bar513</a></p>
-
-<h3 id="example-514">Example 514</h3>
-
-<p>[foo514]
-<a href="/url" title="title">bar514</a></p>
-
-<h3 id="example-515">Example 515</h3>
-
-<p><a href="/url1">bar</a></p>
-
-<h3 id="example-516">Example 516</h3>
-
-<p>[bar][foo!516]</p>
-
-<h3 id="example-517">Example 517</h3>
-
-<p>[foo517][ref[517]</p>
-<p>[ref[517]: /uri</p>
-
-<h3 id="example-518">Example 518</h3>
-
-<p>[foo518][ref[bar518]518]</p>
-<p>[ref[bar518]518]: /uri</p>
-
-<h3 id="example-519">Example 519</h3>
-
-<p>[[[foo519]]]</p>
-<p>[[[foo519]]]: /url</p>
-
-<h3 id="example-520">Example 520</h3>
-
-<p><a href="/uri">foo</a></p>
-
-<h3 id="example-521">Example 521</h3>
-
-<p><a href="/uri">bar\</a></p>
-
-<h3 id="example-522">Example 522</h3>
-
-<p>[]</p>
-<p>[]: /uri</p>
-
-<h3 id="example-523">Example 523</h3>
-
-<p>[
- ]</p>
-<p>[
- ]: /uri</p>
-
-<h3 id="example-524">Example 524</h3>
-
-<p><a href="/url" title="title">foo</a></p>
-
-<h3 id="example-525">Example 525</h3>
-
-<p><a href="/url" title="title"><em>foo</em> bar</a></p>
-
-<h3 id="example-526">Example 526</h3>
-
-<p><a href="/url" title="title">Foo</a></p>
-
-<h3 id="example-527">Example 527</h3>
-
-<p><a href="/url" title="title">foo</a>
-[]</p>
-
-<h3 id="example-528">Example 528</h3>
-
-<p><a href="/url" title="title">foo</a></p>
-
-<h3 id="example-529">Example 529</h3>
-
-<p><a href="/url" title="title"><em>foo</em> bar</a></p>
-
-<h3 id="example-530">Example 530</h3>
-
-<p>[<a href="/url" title="title"><em>foo</em> bar</a>]</p>
-
-<h3 id="example-531">Example 531</h3>
-
-<p>[[bar <a href="/url">foo531</a></p>
-
-<h3 id="example-532">Example 532</h3>
-
-<p><a href="/url" title="title">Foo</a></p>
-
-<h3 id="example-533">Example 533</h3>
-
-<p><a href="/url">foo533</a> bar</p>
-
-<h3 id="example-534">Example 534</h3>
-
-<p>[foo]</p>
-
-<h3 id="example-536">Example 536</h3>
-
-<p><a href="/url2">foo536</a></p>
-
-<h3 id="example-537">Example 537</h3>
-
-<p><a href="/url1">foo537</a></p>
-
-<h3 id="example-538">Example 538</h3>
-
-<p><a href="">foo538</a></p>
-
-<h3 id="example-539">Example 539</h3>
-
-<p><a href="/url1">foo539</a>(not a link)</p>
-
-<h3 id="example-540">Example 540</h3>
-
-<p>[foo540]<a href="/url">bar540</a></p>
-
-<h3 id="example-541">Example 541</h3>
-
-<p><a href="/url2">foo541</a><a href="/url1">baz541</a></p>
-
-<h3 id="example-542">Example 542</h3>
-
-<p>[foo542]<a href="/url1">bar542</a></p>
-
-<h3 id="example-543">Example 543</h3>
-
-<p><img src="/url" alt="foo543" title="title" /></p>
-
-<h3 id="example-5440">Example 5440</h3>
-
-<p><img src="train.jpg" alt="foo *bar*544" title="train &amp; tracks" /></p>
-
-<h3 id="example-5450">Example 5450</h3>
-
-<p><img src="/url2" alt="foo ![bar](/url)" /></p>
-
-<h3 id="example-5460">Example 5460</h3>
-
-<p><img src="/url2" alt="foo [bar](/url)" /></p>
-
-<h3 id="example-5470">Example 5470</h3>
-
-<p><img src="train.jpg" alt="foo *bar*547" title="train &amp; tracks" /></p>
-
-<h3 id="example-5480">Example 5480</h3>
-
-<p><img src="train.jpg" alt="foo *bar*" title="train &amp; tracks" /></p>
-
-<h3 id="example-549">Example 549</h3>
-
-<p><img src="train.jpg" alt="foo" /></p>
-
-<h3 id="example-550">Example 550</h3>
-
-<p>My <img src="/path/to/train.jpg" alt="foo bar" title="title" /></p>
-
-<h3 id="example-551">Example 551</h3>
-
-<p><img src="url" alt="foo" /></p>
-
-<h3 id="example-552">Example 552</h3>
-
-<p><img src="/url" alt="" /></p>
-
-<h3 id="example-553">Example 553</h3>
-
-<p><img src="/url" alt="foo" /></p>
-
-<h3 id="example-554">Example 554</h3>
-
-<p><img src="/url" alt="foo" /></p>
-
-<h3 id="example-555">Example 555</h3>
-
-<p><img src="/url" alt="foo" title="title" /></p>
-
-<h3 id="example-5560">Example 5560</h3>
-
-<p><img src="/url" alt="*foo* bar" title="title" /></p>
-
-<h3 id="example-557">Example 557</h3>
-
-<p><img src="/url" alt="Foo" title="title" /></p>
-
-<h3 id="example-558">Example 558</h3>
-
-<p><img src="/url" alt="foo" title="title" />
-[]</p>
-
-<h3 id="example-559">Example 559</h3>
-
-<p><img src="/url" alt="foo" title="title" /></p>
-
-<h3 id="example-5600">Example 5600</h3>
-
-<p><img src="/url" alt="*foo* bar" title="title" /></p>
-
-<h3 id="example-561">Example 561</h3>
-
-<p>![[foo561]]</p>
-<p>[[foo561]]: /url &quot;title&quot;</p>
-
-<h3 id="example-562">Example 562</h3>
-
-<p><img src="/url" alt="Foo" title="title" /></p>
-
-<h3 id="example-563">Example 563</h3>
-
-<p>![foo]</p>
-
-<h3 id="example-564">Example 564</h3>
-
-<p>!<a href="/url" title="title">foo</a></p>
-
diff --git a/packages/markdown/marked/test/new/cm_links.md b/packages/markdown/marked/test/new/cm_links.md
deleted file mode 100644
index 11e90144..00000000
--- a/packages/markdown/marked/test/new/cm_links.md
+++ /dev/null
@@ -1,515 +0,0 @@
----
-xhtml: true
----
-
-Links
-===================
-
-### Example 459
-
-[link](/uri "title")
-
-### Example 460
-
-[link](/uri)
-
-### Example 461
-
-[link]()
-
-### Example 462
-
-[link](<>)
-
-### Example 463
-
-[link](/my uri)
-
-### Example 464
-
-[link](</my uri>)
-
-### Example 465
-
-[link](foo
-bar)
-
-### Example 466
-
-[link](<foo
-bar>)
-
-### Example 467
-
-[link](\(foo\))
-
-### Example 4680
-
-ONE LEVEL of parentheses are allowed without escaping, as long as they are balanced:
-
-[link](foo(bar))
-
-### Example 469
-
-[link](foo\(and\(bar\))
-
-### Example 470
-
-However, if you have ANY unbalanced parentheses, you need to escape or use the <...> form:
-
-[link](<foo(and(bar)>)
-
-### Example 471
-
-[link](foo\)\:)
-
-### Example 472
-
-[link](#fragment)
-
-[link](http://example.com#fragment)
-
-[link](http://example.com?foo=3#frag)
-
-### Example 473
-
-[link](foo\bar)
-
-### Example 4740
-
-[link](foo%20b&auml;)
-
-### Example 475
-
-[link]("title")
-
-### Example 476
-
-[link](/url "title")
-[link](/url 'title')
-[link](/url (title))
-
-### Example 477
-
-[link](/url "title \"&quot;")
-
-### Example 479
-
-[link](/url "title "and" title")
-
-### Example 480
-
-[link](/url 'title "and" title')
-
-### Example 481
-
-[link]( /uri
- "title" )
-
-### Example 482
-
-[link] (/uri)
-
-### Example 4830
-
-The link text may contain ONE LEVEL of balanced brackets, but not unbalanced ones, unless they are escaped:
-
-[link [foo4830]](/uri)
-
-### Example 484
-
-[link] bar](/uri)
-
-### Example 485
-
-[link [bar](/uri)
-
-### Example 486
-
-[link \[bar](/uri)
-
-### Example 487
-
-[link *foo **bar** `#`*](/uri)
-
-### Example 488
-
-[![moon](moon.jpg)](/uri)
-
-### Example 493
-
-[foo *bar](baz*)
-
-### Example 494
-
-*foo [bar* baz]
-
-### Example 498
-
-[foo][bar]
-
-[bar]: /url "title"
-
-### Example 4990
-
-[link [foo499]][ref499]
-
-[ref499]: /uri
-
-### Example 500
-
-[link \[bar][ref]
-
-[ref]: /uri
-
-### Example 501
-
-[link *foo **bar** `#`*][ref]
-
-[ref]: /uri
-
-### Example 502
-
-[![moon](moon.jpg)][ref]
-
-[ref]: /uri
-
-### Example 5030
-
-[foo [bar](/uri)][ref503]
-
-[ref503]: /uri
-
-### Example 504
-
-[foo *bar [baz][ref504]*][ref504]
-
-[ref504]: /uri
-
-### Example 506
-
-[foo *bar][ref]
-
-[ref]: /uri
-
-### Example 510
-
-[foo][BaR]
-
-[bar]: /url "title"
-
-### Example 511
-
-[Толпой][Толпой] is a Russian word.
-
-[ТОЛПОЙ]: /url
-
-### Example 512
-
-[Foo
- bar]: /url
-
-[Baz][Foo bar]
-
-### Example 513
-
-[foo513] [bar513]
-
-[bar513]: /url "title"
-
-### Example 514
-
-[foo514]
-[bar514]
-
-[bar514]: /url "title"
-
-### Example 515
-
-[foo515]: /url1
-
-[foo515]: /url2
-
-[bar][foo515]
-
-### Example 516
-
-[bar][foo\!516]
-
-[foo!516]: /url
-
-### Example 517
-
-[foo517][ref[517]
-
-[ref[517]: /uri
-
-### Example 518
-
-[foo518][ref[bar518]518]
-
-[ref[bar518]518]: /uri
-
-### Example 519
-
-[[[foo519]]]
-
-[[[foo519]]]: /url
-
-### Example 520
-
-[foo][ref\[]
-
-[ref\[]: /uri
-
-### Example 521
-
-[bar\\]: /uri
-
-[bar\\]
-
-### Example 522
-
-[]
-
-[]: /uri
-
-### Example 523
-
-[
- ]
-
-[
- ]: /uri
-
-### Example 524
-
-[foo][]
-
-[foo]: /url "title"
-
-### Example 525
-
-[*foo* bar][]
-
-[*foo* bar]: /url "title"
-
-### Example 526
-
-[Foo][]
-
-[foo]: /url "title"
-
-### Example 527
-
-[foo]
-[]
-
-[foo]: /url "title"
-
-### Example 528
-
-[foo]
-
-[foo]: /url "title"
-
-### Example 529
-
-[*foo* bar]
-
-[*foo* bar]: /url "title"
-
-### Example 530
-
-[[*foo* bar]]
-
-[*foo* bar]: /url "title"
-
-### Example 531
-
-[[bar [foo531]
-
-[foo531]: /url
-
-### Example 532
-
-[Foo]
-
-[foo]: /url "title"
-
-### Example 533
-
-[foo533] bar
-
-[foo533]: /url
-
-### Example 534
-
-\[foo]
-
-[foo534]: /url "title"
-
-### Example 536
-
-[foo536][bar536]
-
-[foo536]: /url1
-[bar536]: /url2
-
-### Example 537
-
-[foo537][]
-
-[foo537]: /url1
-
-### Example 538
-
-[foo538]()
-
-[foo538]: /url1
-
-### Example 539
-
-[foo539](not a link)
-
-[foo539]: /url1
-
-### Example 540
-
-[foo540][bar540][baz540]
-
-[baz540]: /url
-
-### Example 541
-
-[foo541][bar541][baz541]
-
-[baz541]: /url1
-[bar541]: /url2
-
-### Example 542
-
-[foo542][bar542][baz542]
-
-[baz542]: /url1
-[foo542]: /url2
-
-### Example 543
-
-![foo543](/url "title")
-
-### Example 5440
-
-![foo *bar*544]
-
-[foo *bar*544]: train.jpg "train & tracks"
-
-### Example 5450
-
-![foo ![bar](/url)](/url2)
-
-### Example 5460
-
-![foo [bar](/url)](/url2)
-
-### Example 5470
-
-![foo *bar*547][]
-
-[foo *bar*547]: train.jpg "train & tracks"
-
-### Example 5480
-
-![foo *bar*][foobar548]
-
-[FOOBAR548]: train.jpg "train & tracks"
-
-### Example 549
-
-![foo](train.jpg)
-
-### Example 550
-
-My ![foo bar](/path/to/train.jpg "title" )
-
-### Example 551
-
-![foo](<url>)
-
-### Example 552
-
-![](/url)
-
-### Example 553
-
-![foo][bar553]
-
-[bar553]: /url
-
-### Example 554
-
-![foo][bar554]
-
-[BAR554]: /url
-
-### Example 555
-
-![foo][]
-
-[foo]: /url "title"
-
-### Example 5560
-
-![*foo* bar][]
-
-[*foo* bar]: /url "title"
-
-### Example 557
-
-![Foo][]
-
-[foo]: /url "title"
-
-### Example 558
-
-![foo]
-[]
-
-[foo]: /url "title"
-
-### Example 559
-
-![foo]
-
-[foo]: /url "title"
-
-### Example 5600
-
-![*foo* bar]
-
-[*foo* bar]: /url "title"
-
-### Example 561
-
-![[foo561]]
-
-[[foo561]]: /url "title"
-
-### Example 562
-
-![Foo]
-
-[foo]: /url "title"
-
-### Example 563
-
-!\[foo]
-
-[foo]: /url "title"
-
-### Example 564
-
-\![foo]
-
-[foo]: /url "title"
-
diff --git a/packages/markdown/marked/test/new/cm_raw_html.html b/packages/markdown/marked/test/new/cm_raw_html.html
deleted file mode 100644
index f3da050e..00000000
--- a/packages/markdown/marked/test/new/cm_raw_html.html
+++ /dev/null
@@ -1,77 +0,0 @@
-<h1 id="raw-html">Raw HTML</h1>
-
-<h3 id="example-584">Example 584</h3>
-
-<p><a><bab><c2c></p>
-
-<h3 id="example-585">Example 585</h3>
-
-<p><a/><b2/></p>
-
-<h3 id="example-586">Example 586</h3>
-
-<p><a /><b2
-data="foo" ></p>
-
-<h3 id="example-587">Example 587</h3>
-
-<p><a foo="bar" bam = 'baz <em>"</em>'
-_boolean zoop:33=zoop:33 /></p>
-
-<h3 id="example-588">Example 588</h3>
-
-<p>Foo <responsive-image src="foo.jpg" /></p>
-
-<h3 id="example-589">Example 589</h3>
-
-<p>&lt;33&gt; &lt;__&gt;</p>
-
-<h3 id="example-590">Example 590</h3>
-
-<p>&lt;a h*#ref=&quot;hi&quot;&gt;</p>
-
-<h3 id="example-591">Example 591</h3>
-
-<p>&lt;a href=&quot;hi&#39;&gt; &lt;a href=hi&#39;&gt;</p>
-
-<h3 id="example-592">Example 592</h3>
-
-<p>&lt; a&gt;&lt;
-foo&gt;&lt;bar/ &gt;</p>
-
-<h3 id="example-593">Example 593</h3>
-
-<p>&lt;a href=&#39;bar&#39;title=title&gt;</p>
-
-<h3 id="example-594">Example 594</h3>
-
-<p></a></foo ></p>
-
-<h3 id="example-595">Example 595</h3>
-
-<p>&lt;/a href=&quot;foo&quot;&gt;</p>
-
-<h3 id="example-596">Example 596</h3>
-
-<p>foo <!-- this is a
-comment - with hyphen --></p>
-
-<h3 id="example-599">Example 599</h3>
-
-<p>foo <?php echo $a; ?></p>
-
-<h3 id="example-600">Example 600</h3>
-
-<p>foo <!ELEMENT br EMPTY></p>
-
-<h3 id="example-601">Example 601</h3>
-
-<p>foo <![CDATA[>&<]]></p>
-
-<h3 id="example-602">Example 602</h3>
-
-<p>foo <a href="&ouml;"></p>
-
-<h3 id="example-603">Example 603</h3>
-
-<p>foo <a href="\*"></p>
diff --git a/packages/markdown/marked/test/new/cm_raw_html.md b/packages/markdown/marked/test/new/cm_raw_html.md
deleted file mode 100644
index becbb8a6..00000000
--- a/packages/markdown/marked/test/new/cm_raw_html.md
+++ /dev/null
@@ -1,78 +0,0 @@
-Raw HTML
-===================
-
-### Example 584
-
-<a><bab><c2c>
-
-### Example 585
-
-<a/><b2/>
-
-### Example 586
-
-<a /><b2
-data="foo" >
-
-### Example 587
-
-<a foo="bar" bam = 'baz <em>"</em>'
-_boolean zoop:33=zoop:33 />
-
-### Example 588
-
-Foo <responsive-image src="foo.jpg" />
-
-### Example 589
-
-<33> <__>
-
-### Example 590
-
-<a h*#ref="hi">
-
-### Example 591
-
-<a href="hi'> <a href=hi'>
-
-### Example 592
-
-< a><
-foo><bar/ >
-
-### Example 593
-
-<a href='bar'title=title>
-
-### Example 594
-
-</a></foo >
-
-### Example 595
-
-</a href="foo">
-
-### Example 596
-
-foo <!-- this is a
-comment - with hyphen -->
-
-### Example 599
-
-foo <?php echo $a; ?>
-
-### Example 600
-
-foo <!ELEMENT br EMPTY>
-
-### Example 601
-
-foo <![CDATA[>&<]]>
-
-### Example 602
-
-foo <a href="&ouml;">
-
-### Example 603
-
-foo <a href="\*">
diff --git a/packages/markdown/marked/test/new/cm_strong_and_em.html b/packages/markdown/marked/test/new/cm_strong_and_em.html
deleted file mode 100644
index 084f6381..00000000
--- a/packages/markdown/marked/test/new/cm_strong_and_em.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<p>So <em>a</em> single <em>word</em> followed <em>b</em>y <em>a</em>nother</p>
-
-<p>So <strong>a</strong> single <strong>word</strong> followed <strong>b</strong>y <strong>a</strong>nother</p>
-
-<p>So <em>a</em> single <em>word</em> followed <em>b</em>y <em>a</em>nother</p>
-
-<p>So <strong>a</strong> single <strong>word</strong> followed <strong>b</strong>y <strong>a</strong>nother</p>
diff --git a/packages/markdown/marked/test/new/cm_strong_and_em.md b/packages/markdown/marked/test/new/cm_strong_and_em.md
deleted file mode 100644
index 34b4a20b..00000000
--- a/packages/markdown/marked/test/new/cm_strong_and_em.md
+++ /dev/null
@@ -1,7 +0,0 @@
-So *a* single *word* followed *b*y *a*nother
-
-So **a** single **word** followed **b**y **a**nother
-
-So _a_ single _word_ followed _b_y _a_nother
-
-So __a__ single __word__ followed __b__y __a__nother
diff --git a/packages/markdown/marked/test/new/cm_thematic_breaks.html b/packages/markdown/marked/test/new/cm_thematic_breaks.html
deleted file mode 100644
index ec3f9f74..00000000
--- a/packages/markdown/marked/test/new/cm_thematic_breaks.html
+++ /dev/null
@@ -1,106 +0,0 @@
-<h1 id="thematic-breaks">Thematic breaks</h1>
-
-<h3 id="example-13">Example 13</h3>
-
-<hr>
-<hr>
-<hr>
-
-<h3 id="example-14">Example 14</h3>
-
-<p>+++</p>
-
-<h3 id="example-15">Example 15</h3>
-
-<p>===</p>
-
-<h3 id="example-16">Example 16</h3>
-
-<p>--
-**
-__</p>
-
-<h3 id="example-17">Example 17</h3>
-
-<hr>
-<hr>
-<hr>
-
-<h3 id="example-18">Example 18</h3>
-
-<pre><code>***
-</code></pre>
-
-<h3 id="example-19">Example 19</h3>
-
-<p>Foo
- ***</p>
-
-<h3 id="example-20">Example 20</h3>
-
-<hr>
-
-<h3 id="example-21">Example 21</h3>
-
-<hr>
-
-<h3 id="example-22">Example 22</h3>
-
-<hr>
-
-<h3 id="example-23">Example 23</h3>
-
-<hr>
-
-<h3 id="example-24">Example 24</h3>
-
-<hr>
-
-<h3 id="example-25">Example 25</h3>
-
-<p>_ _ _ _ a</p>
-<p>a------</p>
-<p>---a---</p>
-
-
-<h3 id="example-26">Example 26</h3>
-
-<p> <em>-</em></p>
-
-<h3 id="example-27">Example 27</h3>
-
-<ul>
-<li>foo</li>
-</ul>
-<hr>
-<ul>
-<li>bar</li>
-</ul>
-
-<h3 id="example-28">Example 28</h3>
-
-<p>Foo</p>
-<hr>
-<p>bar</p>
-
-<h3 id="example-29">Example 29</h3>
-
-<h2 id="foo">Foo</h2>
-<p>bar</p>
-
-<h3 id="example-30">Example 30</h3>
-
-<ul>
-<li>Foo</li>
-</ul>
-<hr>
-<ul>
-<li>Bar</li>
-</ul>
-
-<h3 id="example-31">Example 31</h3>
-
-<ul>
-<li>Foo</li>
-<li><hr></li>
-</ul> \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/cm_thematic_breaks.md b/packages/markdown/marked/test/new/cm_thematic_breaks.md
deleted file mode 100644
index af28f8dd..00000000
--- a/packages/markdown/marked/test/new/cm_thematic_breaks.md
+++ /dev/null
@@ -1,98 +0,0 @@
-Thematic breaks
-===================
-
-### Example 13
-
-***
----
-___
-
-### Example 14
-
-+++
-
-### Example 15
-
-===
-
-### Example 16
-
---
-**
-__
-
-### Example 17
-
- ***
- ***
- ***
-
-### Example 18
-
- ***
-
-### Example 19
-
-Foo
- ***
-
-### Example 20
-
-_____________________________________
-
-### Example 21
-
- - - -
-
-### Example 22
-
- ** * ** * ** * **
-
-### Example 23
-
-- - - -
-
-### Example 24
-
-- - - -
-
-### Example 25
-
-_ _ _ _ a
-
-a------
-
----a---
-
-### Example 26
-
- *-*
-
-### Example 27
-
-- foo
-***
-- bar
-
-### Example 28
-
-Foo
-***
-bar
-
-### Example 29
-
-Foo
----
-bar
-
-### Example 30
-
-* Foo
-* * *
-* Bar
-
-### Example 31
-
-- Foo
-- * * *
diff --git a/packages/markdown/marked/test/new/code_spans.html b/packages/markdown/marked/test/new/code_spans.html
deleted file mode 100644
index ca220d80..00000000
--- a/packages/markdown/marked/test/new/code_spans.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<p><code>someone@example.com</code></p>
-
-<p>``<em>test`</em></p> \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/code_spans.md b/packages/markdown/marked/test/new/code_spans.md
deleted file mode 100644
index 845a116a..00000000
--- a/packages/markdown/marked/test/new/code_spans.md
+++ /dev/null
@@ -1,3 +0,0 @@
-`someone@example.com`
-
-``*test`* \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/def_blocks.html b/packages/markdown/marked/test/new/def_blocks.html
deleted file mode 100644
index 5d8de49c..00000000
--- a/packages/markdown/marked/test/new/def_blocks.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<blockquote>
- <p>hello
-[1]: hello</p>
-</blockquote>
-
-<hr>
-
-<blockquote>
- <p>hello
-[2]: hello</p>
-</blockquote>
-
-
-<ul>
-<li>hello</li>
-<li>[3]: hello</li>
-</ul>
-
-
-<ul>
-<li>hello</li>
-</ul>
-
-
-<blockquote>
- <p>foo
-bar
-[5]: foo
-bar</p>
-</blockquote>
diff --git a/packages/markdown/marked/test/new/def_blocks.md b/packages/markdown/marked/test/new/def_blocks.md
deleted file mode 100644
index f58fa4d3..00000000
--- a/packages/markdown/marked/test/new/def_blocks.md
+++ /dev/null
@@ -1,21 +0,0 @@
-> hello
-> [1]: hello
-
-* * *
-
-> hello
-[2]: hello
-
-
-* hello
-* [3]: hello
-
-
-* hello
-[4]: hello
-
-
-> foo
-> bar
-[5]: foo
-> bar
diff --git a/packages/markdown/marked/test/new/double_link.html b/packages/markdown/marked/test/new/double_link.html
deleted file mode 100644
index ff68395a..00000000
--- a/packages/markdown/marked/test/new/double_link.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<p>Already linked: <a href="http://example.com/">http://example.com/</a>.</p>
-
-<p>Already linked: <a href="http://example.com/">http://example.com/</a>.</p>
-
-<p>Already linked: <a href="http://example.com/"><strong>http://example.com/</strong></a>.</p>
diff --git a/packages/markdown/marked/test/new/double_link.md b/packages/markdown/marked/test/new/double_link.md
deleted file mode 100644
index 50216736..00000000
--- a/packages/markdown/marked/test/new/double_link.md
+++ /dev/null
@@ -1,5 +0,0 @@
-<p>Already linked: <a href="http://example.com/">http://example.com/</a>.</p>
-
-Already linked: [http://example.com/](http://example.com/).
-
-Already linked: <a href="http://example.com/">**http://example.com/**</a>.
diff --git a/packages/markdown/marked/test/new/em_2char.html b/packages/markdown/marked/test/new/em_2char.html
deleted file mode 100644
index 81da0a00..00000000
--- a/packages/markdown/marked/test/new/em_2char.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<p><em>123</em></p>
-
-<p><em>123</em></p>
-
-<p><em>12</em></p>
-
-<p><em>12</em></p>
-
-<p><em>1</em></p>
-
-<p><em>1</em></p>
-
-<p>__</p>
-
-<p>**</p>
-
-<p>_123 _</p>
-
-<p>*123 *</p>
-
-<p>_ 123_</p>
-
-<p><em>1_</em></p>
-
-<p><em>1*</em></p>
diff --git a/packages/markdown/marked/test/new/em_2char.md b/packages/markdown/marked/test/new/em_2char.md
deleted file mode 100644
index ca8689aa..00000000
--- a/packages/markdown/marked/test/new/em_2char.md
+++ /dev/null
@@ -1,25 +0,0 @@
-_123_
-
-*123*
-
-_12_
-
-*12*
-
-_1_
-
-*1*
-
-__
-
-**
-
-_123 _
-
-*123 *
-
-_ 123_
-
-_1__
-
-*1**
diff --git a/packages/markdown/marked/test/new/emphasis_extra tests.html b/packages/markdown/marked/test/new/emphasis_extra tests.html
deleted file mode 100644
index 0e2609cd..00000000
--- a/packages/markdown/marked/test/new/emphasis_extra tests.html
+++ /dev/null
@@ -1 +0,0 @@
-<p><em>test</em>. <em>test</em>: <em>test</em>! <em>test</em>? <em>test</em>-</p> \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/emphasis_extra tests.md b/packages/markdown/marked/test/new/emphasis_extra tests.md
deleted file mode 100644
index bf8afdc7..00000000
--- a/packages/markdown/marked/test/new/emphasis_extra tests.md
+++ /dev/null
@@ -1 +0,0 @@
-_test_. _test_: _test_! _test_? _test_- \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/escaped_angles.html b/packages/markdown/marked/test/new/escaped_angles.html
deleted file mode 100644
index aa3e73a4..00000000
--- a/packages/markdown/marked/test/new/escaped_angles.html
+++ /dev/null
@@ -1 +0,0 @@
-<p>&gt;</p>
diff --git a/packages/markdown/marked/test/new/escaped_angles.md b/packages/markdown/marked/test/new/escaped_angles.md
deleted file mode 100644
index db7422f1..00000000
--- a/packages/markdown/marked/test/new/escaped_angles.md
+++ /dev/null
@@ -1 +0,0 @@
-\>
diff --git a/packages/markdown/marked/test/new/gfm_autolinks.html b/packages/markdown/marked/test/new/gfm_autolinks.html
deleted file mode 100644
index 9058f2f2..00000000
--- a/packages/markdown/marked/test/new/gfm_autolinks.html
+++ /dev/null
@@ -1,83 +0,0 @@
-<p>link with . <a href="http://example.com/hello-world">http://example.com/hello-world</a>.</p>
-
-<p>link with ! <a href="http://example.com/hello-world">http://example.com/hello-world</a>!</p>
-
-<p>link with : <a href="http://example.com/hello-world">http://example.com/hello-world</a>:</p>
-
-<p>link with , <a href="http://example.com/hello-world">http://example.com/hello-world</a>,</p>
-
-<p>link with ; <a href="http://example.com/hello-world">http://example.com/hello-world</a>;</p>
-
-<p>link with ) <a href="http://example.com/hello-world">http://example.com/hello-world</a>)</p>
-
-<p>link with nothing <a href="http://example.com/hello-world">http://example.com/hello-world</a></p>
-
-<h3 id="example-597">Example 597</h3>
-
-<p>The scheme http will be inserted automatically:</p>
-
-<p><a href="http://www.commonmark.org">www.commonmark.org</a></p>
-<h3 id="example-598">Example 598</h3>
-
-<p>After a valid domain, zero or more non-space non-&lt; characters may follow:</p>
-
-<p>Visit <a href="http://www.commonmark.org/help">www.commonmark.org/help</a> for more information.</p>
-
-<h3 id="example-599">Example 599</h3>
-
-<p>Trailing punctuation (specifically, ?, !, ., ,, :, *, _, and ~) will not be considered part of the autolink, though they may be included in the interior of the link:</p>
-
-<p>Visit <a href="http://www.commonmark.org">www.commonmark.org</a>.</p>
-
-<p>Visit <a href="http://www.commonmark.org/a.b">www.commonmark.org/a.b</a>.</p>
-
-<h3 id="example-600">Example 600</h3>
-
-<p><a href="http://www.google.com/search?q=Markup+(business)">www.google.com/search?q=Markup+(business)</a></p>
-
-<p>(<a href="http://www.google.com/search?q=Markup+(business)">www.google.com/search?q=Markup+(business)</a>)</p>
-
-<h3 id="example-601">Example 601</h3>
-
-<p><a href="http://www.google.com/search?q=(business))+ok">www.google.com/search?q=(business))+ok</a></p>
-
-<h3 id="example-602">Example 602</h3>
-
-<p><a href="http://www.google.com/search?q=commonmark&amp;hl=en">www.google.com/search?q=commonmark&amp;hl=en</a></p>
-
-<p><a href="http://www.google.com/search?q=commonmark">www.google.com/search?q=commonmark</a>&amp;</p>
-
-<h3 id="example-603">Example 603</h3>
-
-<p>&lt; immediately ends an autolink.</p>
-
-<p><a href="http://www.commonmark.org/he">www.commonmark.org/he</a>&lt;lp</p>
-
-<h3 id="example-604">Example 604</h3>
-
-<p><a href="http://commonmark.org">http://commonmark.org</a></p>
-
-<p>(Visit <a href="https://encrypted.google.com/search?q=Markup+(business)">https://encrypted.google.com/search?q=Markup+(business)</a>)</p>
-
-<p>Anonymous FTP is available at <a href="ftp://foo.bar.baz">ftp://foo.bar.baz</a>.</p>
-
-<p>Extended email autolinks:</p>
-
-<h3 id="example-605">Example 605</h3>
-
-<p><a href="mailto:foo@bar.baz">foo@bar.baz</a></p>
-
-<h3 id="example-606">Example 606</h3>
-
-<p>hello@mail+xyz.example isn&#39;t valid, but <a href="mailto:hello+xyz@mail.example">hello+xyz@mail.example</a> is.</p>
-
-<h3 id="example-607">Example 607</h3>
-
-<p><a href="mailto:a.b-c_d@a.b">a.b-c_d@a.b</a></p>
-
-<p><a href="mailto:a.b-c_d@a.b">a.b-c_d@a.b</a>.</p>
-
-<p>a.b-c_d@a.b-</p>
-
-<pre><code>a.b-c_d@a.b_
-</code></pre> \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/gfm_autolinks.md b/packages/markdown/marked/test/new/gfm_autolinks.md
deleted file mode 100644
index 86b9a3ee..00000000
--- a/packages/markdown/marked/test/new/gfm_autolinks.md
+++ /dev/null
@@ -1,83 +0,0 @@
-link with . http://example.com/hello-world.
-
-link with ! http://example.com/hello-world!
-
-link with : http://example.com/hello-world:
-
-link with , http://example.com/hello-world,
-
-link with ; http://example.com/hello-world;
-
-link with ) http://example.com/hello-world)
-
-link with nothing http://example.com/hello-world
-
-### Example 597
-
-The scheme http will be inserted automatically:
-
-www.commonmark.org
-
-### Example 598
-
-After a valid domain, zero or more non-space non-< characters may follow:
-
-Visit www.commonmark.org/help for more information.
-
-### Example 599
-
-Trailing punctuation (specifically, ?, !, ., ,, :, \*, \_, and ~) will not be considered part of the autolink, though they may be included in the interior of the link:
-
-Visit www.commonmark.org.
-
-Visit www.commonmark.org/a.b.
-
-### Example 600
-
-www.google.com/search?q=Markup+(business)
-
-(www.google.com/search?q=Markup+(business))
-
-### Example 601
-
-www.google.com/search?q=(business))+ok
-
-### Example 602
-
-www.google.com/search?q=commonmark&hl=en
-
-www.google.com/search?q=commonmark&amp;
-
-### Example 603
-
-< immediately ends an autolink.
-
-www.commonmark.org/he<lp
-
-### Example 604
-
-http://commonmark.org
-
-(Visit https://encrypted.google.com/search?q=Markup+(business))
-
-Anonymous FTP is available at ftp://foo.bar.baz.
-
-Extended email autolinks:
-
-### Example 605
-
-foo@bar.baz
-
-### Example 606
-
-hello@mail+xyz.example isn't valid, but hello+xyz@mail.example is.
-
-### Example 607
-
-a.b-c_d@a.b
-
-a.b-c_d@a.b.
-
-a.b-c_d@a.b-
-
- a.b-c_d@a.b_
diff --git a/packages/markdown/marked/test/new/gfm_break.html b/packages/markdown/marked/test/new/gfm_break.html
deleted file mode 100644
index 398ba018..00000000
--- a/packages/markdown/marked/test/new/gfm_break.html
+++ /dev/null
@@ -1 +0,0 @@
-<p>Look at the<br>pretty line<br>breaks.</p>
diff --git a/packages/markdown/marked/test/new/gfm_break.md b/packages/markdown/marked/test/new/gfm_break.md
deleted file mode 100644
index 5bf79a2b..00000000
--- a/packages/markdown/marked/test/new/gfm_break.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-breaks: true
----
-Look at the
-pretty line
-breaks.
diff --git a/packages/markdown/marked/test/new/gfm_code.html b/packages/markdown/marked/test/new/gfm_code.html
deleted file mode 100644
index 3e6b946f..00000000
--- a/packages/markdown/marked/test/new/gfm_code.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<pre><code class="language-js">var a = &#39;hello&#39;;
-console.log(a + &#39; world&#39;);</code></pre>
-<pre><code class="language-bash">echo &quot;hello, ${WORLD}&quot;</code></pre>
-<pre><code class="language-longfence">Q: What do you call a tall person who sells stolen goods?</code></pre>
-<pre><code class="language-ManyTildes">A longfence!</code></pre>
-<p>How about an empty code block?</p>
-<pre><code class="language-js"></code></pre>
-<p>How about a code block with only an empty line?</p>
-<pre><code class="language-js">
-</code></pre>
-
-<p>With some trailing empty lines:</p>
-<pre><code>ciao
-
-
-</code></pre>
-
-<p>Closing fences must lay on a new line:</p>
-<pre><code>hello()
-^```
-&quot;this should still be in the code block!&quot;</code></pre>
diff --git a/packages/markdown/marked/test/new/gfm_code.md b/packages/markdown/marked/test/new/gfm_code.md
deleted file mode 100644
index 79d06b16..00000000
--- a/packages/markdown/marked/test/new/gfm_code.md
+++ /dev/null
@@ -1,43 +0,0 @@
-``` js
-var a = 'hello';
-console.log(a + ' world');
-```
-
-~~~bash
-echo "hello, ${WORLD}"
-~~~
-
-```````longfence
-Q: What do you call a tall person who sells stolen goods?
-```````
-
-~~~~~~~~~~ ManyTildes
-A longfence!
-~~~~~~~~~~
-
-How about an empty code block?
-
-```js
-```
-
-How about a code block with only an empty line?
-
-```js
-
-```
-
-With some trailing empty lines:
-
-```
-ciao
-
-
-```
-
-Closing fences must lay on a new line:
-
-```
-hello()
-^```
-"this should still be in the code block!"
-```
diff --git a/packages/markdown/marked/test/new/gfm_code_hr_list.html b/packages/markdown/marked/test/new/gfm_code_hr_list.html
deleted file mode 100644
index d15b52fe..00000000
--- a/packages/markdown/marked/test/new/gfm_code_hr_list.html
+++ /dev/null
@@ -1,52 +0,0 @@
-<h2 id="foo">foo</h2>
-<ol>
-<li><p>bar:</p>
-<blockquote>
-<ul>
-<li>one<ul>
-<li>two<ul>
-<li>three</li>
-<li>four</li>
-<li>five</li>
-</ul>
-</li>
-</ul>
-</li>
-</ul>
-</blockquote>
-</li>
-<li><p>foo:</p>
-<pre><code> line 1
- line 2</code></pre>
-</li>
-<li><p>foo:</p>
-<ol>
-<li><p>foo <code>bar</code> bar:</p>
-<pre><code class="language-erb"> some code here
-</code></pre>
-</li>
-<li><p>foo <code>bar</code> bar:</p>
-<pre><code class="language-erb"> foo
- ---
- bar
- ---
- foo
- bar</code></pre>
-</li>
-<li><p>foo <code>bar</code> bar:</p>
-<pre><code class="language-html"> ---
- foo
- foo
- ---
- bar</code></pre>
-</li>
-<li><p>foo <code>bar</code> bar:</p>
-<pre><code> foo
- ---
- bar</code></pre>
-</li>
-<li><p>foo</p>
-</li>
-</ol>
-</li>
-</ol>
diff --git a/packages/markdown/marked/test/new/gfm_code_hr_list.md b/packages/markdown/marked/test/new/gfm_code_hr_list.md
deleted file mode 100644
index 0eba4059..00000000
--- a/packages/markdown/marked/test/new/gfm_code_hr_list.md
+++ /dev/null
@@ -1,53 +0,0 @@
-## foo
-
-1. bar:
-
- > - one
- - two
- - three
- - four
- - five
-
-1. foo:
-
- ```
- line 1
- line 2
- ```
-
-1. foo:
-
- 1. foo `bar` bar:
-
- ``` erb
- some code here
- ```
-
- 2. foo `bar` bar:
-
- ``` erb
- foo
- ---
- bar
- ---
- foo
- bar
- ```
-
- 3. foo `bar` bar:
-
- ``` html
- ---
- foo
- foo
- ---
- bar
- ```
-
- 4. foo `bar` bar:
-
- foo
- ---
- bar
-
- 5. foo
diff --git a/packages/markdown/marked/test/new/gfm_em.html b/packages/markdown/marked/test/new/gfm_em.html
deleted file mode 100644
index 8fac3466..00000000
--- a/packages/markdown/marked/test/new/gfm_em.html
+++ /dev/null
@@ -1 +0,0 @@
-<p>These words should_not_be_emphasized.</p>
diff --git a/packages/markdown/marked/test/new/gfm_em.md b/packages/markdown/marked/test/new/gfm_em.md
deleted file mode 100644
index 6319874b..00000000
--- a/packages/markdown/marked/test/new/gfm_em.md
+++ /dev/null
@@ -1 +0,0 @@
-These words should_not_be_emphasized.
diff --git a/packages/markdown/marked/test/new/gfm_hashtag.html b/packages/markdown/marked/test/new/gfm_hashtag.html
deleted file mode 100644
index 6f9e43f5..00000000
--- a/packages/markdown/marked/test/new/gfm_hashtag.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<p>#header</p>
-
-<h1 id="header1">header1</h1>
-
-<h1 id="header2">header2</h1>
diff --git a/packages/markdown/marked/test/new/gfm_hashtag.md b/packages/markdown/marked/test/new/gfm_hashtag.md
deleted file mode 100644
index 5eb26bf1..00000000
--- a/packages/markdown/marked/test/new/gfm_hashtag.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-gfm: true
----
-#header
-
-# header1
-
-# header2
diff --git a/packages/markdown/marked/test/new/gfm_links_invalid.html b/packages/markdown/marked/test/new/gfm_links_invalid.html
deleted file mode 100644
index 4052efea..00000000
--- a/packages/markdown/marked/test/new/gfm_links_invalid.html
+++ /dev/null
@@ -1 +0,0 @@
-<p>This should not be linked: http://example.com/%ff</p>
diff --git a/packages/markdown/marked/test/new/gfm_links_invalid.md b/packages/markdown/marked/test/new/gfm_links_invalid.md
deleted file mode 100644
index 1b295d05..00000000
--- a/packages/markdown/marked/test/new/gfm_links_invalid.md
+++ /dev/null
@@ -1,4 +0,0 @@
----
-sanitize: true
----
-This should not be linked: http://example.com/%ff
diff --git a/packages/markdown/marked/test/new/gfm_tables.html b/packages/markdown/marked/test/new/gfm_tables.html
deleted file mode 100644
index 1c596573..00000000
--- a/packages/markdown/marked/test/new/gfm_tables.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<table>
- <thead>
- <tr><th>Heading 1</th><th>Heading 2</th></tr>
- </thead>
- <tbody>
- <tr><td>Cell 1</td><td>Cell 2</td></tr>
- <tr><td>Cell 3</td><td>Cell 4</td></tr>
- </tbody>
-</table>
-<table>
- <thead>
- <tr><th align="center">Header 1</th><th align="right">Header 2</th><th align="left">Header 3</th><th>Header 4</th></tr>
- </thead>
- <tbody>
- <tr><td align="center">Cell 1</td><td align="right">Cell 2</td><td align="left">Cell 3</td><td>Cell 4</td></tr>
- <tr><td align="center">Cell 5</td><td align="right">Cell 6</td><td align="left">Cell 7</td><td>Cell 8</td></tr>
- </tbody>
-</table>
-<pre><code>Test code</code></pre>
-<table>
- <thead>
- <tr><th>Header 1</th><th>Header 2</th></tr>
- </thead>
- <tbody>
- <tr><td>Cell 1</td><td>Cell 2</td></tr>
- <tr><td>Cell 3</td><td>Cell 4</td></tr>
- </tbody>
-</table>
-<table>
- <thead>
- <tr><th align="left">Header 1</th><th align="center">Header 2</th><th align="right">Header 3</th><th>Header 4</th></tr>
- </thead>
- <tbody>
- <tr><td align="left">Cell 1</td><td align="center">Cell 2</td><td align="right">Cell 3</td><td>Cell 4</td></tr>
- <tr><td align="left"><em>Cell 5</em></td><td align="center">Cell 6</td><td align="right">Cell 7</td><td>Cell 8</td></tr>
- </tbody>
-</table>
diff --git a/packages/markdown/marked/test/new/gfm_tables.md b/packages/markdown/marked/test/new/gfm_tables.md
deleted file mode 100644
index 5fd6321c..00000000
--- a/packages/markdown/marked/test/new/gfm_tables.md
+++ /dev/null
@@ -1,21 +0,0 @@
-| Heading 1 | Heading 2
-| --------- | ---------
-| Cell 1 | Cell 2
-| Cell 3 | Cell 4
-
-| Header 1 | Header 2 | Header 3 | Header 4 |
-| :------: | -------: | :------- | -------- |
-| Cell 1 | Cell 2 | Cell 3 | Cell 4 |
-| Cell 5 | Cell 6 | Cell 7 | Cell 8 |
-
- Test code
-
-Header 1 | Header 2
--------- | --------
-Cell 1 | Cell 2
-Cell 3 | Cell 4
-
-Header 1|Header 2|Header 3|Header 4
-:-------|:------:|-------:|--------
-Cell 1 |Cell 2 |Cell 3 |Cell 4
-*Cell 5*|Cell 6 |Cell 7 |Cell 8
diff --git a/packages/markdown/marked/test/new/headings_id.html b/packages/markdown/marked/test/new/headings_id.html
deleted file mode 100644
index 6f0ae49e..00000000
--- a/packages/markdown/marked/test/new/headings_id.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<h3 id="heading-with-a-link">Heading with a <a href="http://github.com/">link</a></h3>
-
-<h3 id="heading-with-some-italic-text">Heading with some <em>italic text</em></h3>
-
-<h3 id="or-some-strong">Or some <strong>strong</strong></h3>
-
-<p>(which doesn&#39;t really make any difference, here)</p>
-
-<h3 id="or-even-code">Or even <code>code</code></h3>
-
-<h3 id="what-about-strikethrough">What about <del>strikethrough</del></h3>
-
-<h2 id="and-a-ref-link">And a ref <a href="/some/url" title="link to nowhere">link</a></h2> \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/headings_id.md b/packages/markdown/marked/test/new/headings_id.md
deleted file mode 100644
index fa8a4d82..00000000
--- a/packages/markdown/marked/test/new/headings_id.md
+++ /dev/null
@@ -1,14 +0,0 @@
-### Heading with a [link](http://github.com/)
-
-### Heading with some _italic text_
-
-### Or some **strong**
-(which doesn't really make any difference, here)
-
-### Or even `code`
-
-### What about ~~strikethrough~~
-
-## And a ref [link][destination]
-
-[destination]: /some/url "link to nowhere" \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/hr_list_break.html b/packages/markdown/marked/test/new/hr_list_break.html
deleted file mode 100644
index bd3ad1f7..00000000
--- a/packages/markdown/marked/test/new/hr_list_break.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<ul>
-<li>hello
-world</li>
-<li>how
-are</li>
-</ul>
-
-<hr>
-
-<p>you today?</p>
diff --git a/packages/markdown/marked/test/new/hr_list_break.md b/packages/markdown/marked/test/new/hr_list_break.md
deleted file mode 100644
index 036fe479..00000000
--- a/packages/markdown/marked/test/new/hr_list_break.md
+++ /dev/null
@@ -1,6 +0,0 @@
-* hello
-world
-* how
-are
-* * *
-you today?
diff --git a/packages/markdown/marked/test/new/html_comments.html b/packages/markdown/marked/test/new/html_comments.html
deleted file mode 100644
index 872b45f6..00000000
--- a/packages/markdown/marked/test/new/html_comments.html
+++ /dev/null
@@ -1,57 +0,0 @@
-<h3 id="example-1">Example 1</h3>
-
-<!-- comment -->
-
-<h3 id="example-2">Example 2</h3>
-
-<!---->
-
-<h3 id="example-3">Example 3</h3>
-
-<!-- -->
-
-<h3 id="example-4">Example 4</h3>
-
-<!-- - -->
-
-<h3 id="example-5">Example 5</h3>
-
-<!-- -- -->
-
-<h3 id="example-6">Example 6</h3>
-
-<!-- --->
-
-<h3 id="example-7">Example 7</h3>
-
-<!----->
-
-<h3 id="example-8">Example 8</h3>
-
-<!------>
-
-<h3 id="example-9">Example 9</h3>
-
-<!-- My favorite operators are > and <!-->
-
-<h3 id="example-10">Example 10</h3>
-
-<!-- multi
-line
-comment
--->
-
-<h3 id="example-11">Example 11</h3>
-
- <!-- indented comment -->
-
-<pre><code>&lt;!-- too much indentation --&gt;
-</code></pre>
-
-<h3 id="example-12">Example 12</h3>
-
-<p>&lt;!--&gt; not a comment --&gt;</p>
-
-<p>&lt;!---&gt; not a comment --&gt;</p>
-
-<!-- <!-- not a comment? --> -->
diff --git a/packages/markdown/marked/test/new/html_comments.md b/packages/markdown/marked/test/new/html_comments.md
deleted file mode 100644
index 06aff02e..00000000
--- a/packages/markdown/marked/test/new/html_comments.md
+++ /dev/null
@@ -1,56 +0,0 @@
-### Example 1
-
-<!-- comment -->
-
-### Example 2
-
-<!---->
-
-### Example 3
-
-<!-- -->
-
-### Example 4
-
-<!-- - -->
-
-### Example 5
-
-<!-- -- -->
-
-### Example 6
-
-<!-- --->
-
-### Example 7
-
-<!----->
-
-### Example 8
-
-<!------>
-
-### Example 9
-
-<!-- My favorite operators are > and <!-->
-
-### Example 10
-
-<!-- multi
-line
-comment
--->
-
-### Example 11
-
- <!-- indented comment -->
-
- <!-- too much indentation -->
-
-### Example 12
-
-<!--> not a comment -->
-
-<!---> not a comment -->
-
-<!-- <!-- not a comment? --> --> \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/html_no_new_line.html b/packages/markdown/marked/test/new/html_no_new_line.html
deleted file mode 100644
index a82e4a1c..00000000
--- a/packages/markdown/marked/test/new/html_no_new_line.html
+++ /dev/null
@@ -1 +0,0 @@
-<img src='sdfg'> \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/html_no_new_line.md b/packages/markdown/marked/test/new/html_no_new_line.md
deleted file mode 100644
index a82e4a1c..00000000
--- a/packages/markdown/marked/test/new/html_no_new_line.md
+++ /dev/null
@@ -1 +0,0 @@
-<img src='sdfg'> \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/images.html b/packages/markdown/marked/test/new/images.html
deleted file mode 100644
index 2d3da7e8..00000000
--- a/packages/markdown/marked/test/new/images.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<p>Image</p>
-<p>Image</p>
-<p>Image</p>
-<p>Image</p>
-<p>Image</p>
diff --git a/packages/markdown/marked/test/new/images.md b/packages/markdown/marked/test/new/images.md
deleted file mode 100644
index c9d994a9..00000000
--- a/packages/markdown/marked/test/new/images.md
+++ /dev/null
@@ -1,12 +0,0 @@
----
-sanitize: true
----
-![Image](javascript:alert)
-
-![Image](vbscript:alert)
-
-![Image](javascript&colon;alert&#40;1&#41;)
-
-![Image](javascript&#58document;alert&#40;1&#41;)
-
-![Image](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)
diff --git a/packages/markdown/marked/test/new/lazy_blockquotes.html b/packages/markdown/marked/test/new/lazy_blockquotes.html
deleted file mode 100644
index a701d42a..00000000
--- a/packages/markdown/marked/test/new/lazy_blockquotes.html
+++ /dev/null
@@ -1,4 +0,0 @@
-<blockquote>
- <p>hi there
-bud</p>
-</blockquote>
diff --git a/packages/markdown/marked/test/new/lazy_blockquotes.md b/packages/markdown/marked/test/new/lazy_blockquotes.md
deleted file mode 100644
index c0e0b154..00000000
--- a/packages/markdown/marked/test/new/lazy_blockquotes.md
+++ /dev/null
@@ -1,2 +0,0 @@
-> hi there
-bud
diff --git a/packages/markdown/marked/test/new/link_lt.html b/packages/markdown/marked/test/new/link_lt.html
deleted file mode 100644
index ea48caa9..00000000
--- a/packages/markdown/marked/test/new/link_lt.html
+++ /dev/null
@@ -1 +0,0 @@
-<p><a href="%3Ctest">URL</a></p>
diff --git a/packages/markdown/marked/test/new/link_lt.md b/packages/markdown/marked/test/new/link_lt.md
deleted file mode 100644
index f4f9addd..00000000
--- a/packages/markdown/marked/test/new/link_lt.md
+++ /dev/null
@@ -1 +0,0 @@
-[URL](<test)
diff --git a/packages/markdown/marked/test/new/link_tick_redos.html b/packages/markdown/marked/test/new/link_tick_redos.html
deleted file mode 100644
index 4e4423bf..00000000
--- a/packages/markdown/marked/test/new/link_tick_redos.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<p>dash_capstyle: [&#39;butt&#39; | &#39;round&#39; | &#39;projecting&#39;]
-dash_joinstyle: [&#39;miter&#39; | &#39;round&#39; | &#39;bevel&#39;]
-dashes: sequence of on/off ink in points
-drawstyle: [&#39;default&#39; | &#39;steps&#39; | &#39;steps-pre&#39; | &#39;steps-mid&#39; | &#39;steps-post&#39;]
-figure: a <code>~.Figure</code> instance
-fillstyle: [&#39;full&#39; | &#39;left&#39; | &#39;right&#39; | &#39;bottom&#39; | &#39;top&#39; | &#39;none&#39;]
-gid: an id string
-label: object
-linestyle or ls: [&#39;solid&#39; | &#39;dashed&#39;, &#39;dashdot&#39;, &#39;dotted&#39; | (offset, on-off-dash-seq) | <code>&#39;-&#39;</code> | <code>&#39;--&#39;</code> | <code>&#39;-.&#39;</code> | <code>&#39;:&#39;</code> | <code>&#39;None&#39;</code> | <code>&#39; &#39;</code> | <code>&#39;&#39;</code>]
-linewidth or lw: float value in points
-marker: :mod:<code>A valid marker style &lt;matplotlib.markers&gt;</code>
-markeredgecolor or mec: any matplotlib color
-markeredgewidth or mew: float value in points
-markerfacecolor or mfc: any matplotlib color
-markerfacecoloralt or mfcalt: any matplotlib color
-markersize or ms: float
-markevery: [None | int | length-2 tuple of int | slice | list/array of int | float | length-2 tuple of float]
-path_effects: <code>~.AbstractPathEffect</code>
-picker: float distance in points or callable pick function <code>fn(artist, event)</code>
-pickradius: float distance in points
-rasterized: bool or None
-sketch_params: (scale: float, length: float, randomness: float)
-snap: bool or None
-solid_capstyle: [&#39;butt&#39; | &#39;round&#39; | &#39;projecting&#39;]
-solid_joinstyle: [&#39;miter&#39; | &#39;round&#39; | &#39;bevel&#39;]
-transform: a :class:<code>matplotlib.transforms.Transform</code> instance
-url: a url string
-visible: bool
-xdata: 1D array
-ydata: 1D array
-zorder: float</p>
diff --git a/packages/markdown/marked/test/new/link_tick_redos.md b/packages/markdown/marked/test/new/link_tick_redos.md
deleted file mode 100644
index 38c1107d..00000000
--- a/packages/markdown/marked/test/new/link_tick_redos.md
+++ /dev/null
@@ -1,31 +0,0 @@
- dash_capstyle: ['butt' | 'round' | 'projecting']
- dash_joinstyle: ['miter' | 'round' | 'bevel']
- dashes: sequence of on/off ink in points
- drawstyle: ['default' | 'steps' | 'steps-pre' | 'steps-mid' | 'steps-post']
- figure: a `~.Figure` instance
- fillstyle: ['full' | 'left' | 'right' | 'bottom' | 'top' | 'none']
- gid: an id string
- label: object
- linestyle or ls: ['solid' | 'dashed', 'dashdot', 'dotted' | (offset, on-off-dash-seq) | ``'-'`` | ``'--'`` | ``'-.'`` | ``':'`` | ``'None'`` | ``' '`` | ``''``]
- linewidth or lw: float value in points
- marker: :mod:`A valid marker style <matplotlib.markers>`
- markeredgecolor or mec: any matplotlib color
- markeredgewidth or mew: float value in points
- markerfacecolor or mfc: any matplotlib color
- markerfacecoloralt or mfcalt: any matplotlib color
- markersize or ms: float
- markevery: [None | int | length-2 tuple of int | slice | list/array of int | float | length-2 tuple of float]
- path_effects: `~.AbstractPathEffect`
- picker: float distance in points or callable pick function ``fn(artist, event)``
- pickradius: float distance in points
- rasterized: bool or None
- sketch_params: (scale: float, length: float, randomness: float)
- snap: bool or None
- solid_capstyle: ['butt' | 'round' | 'projecting']
- solid_joinstyle: ['miter' | 'round' | 'bevel']
- transform: a :class:`matplotlib.transforms.Transform` instance
- url: a url string
- visible: bool
- xdata: 1D array
- ydata: 1D array
- zorder: float
diff --git a/packages/markdown/marked/test/new/links.html b/packages/markdown/marked/test/new/links.html
deleted file mode 100644
index c3cbaa0c..00000000
--- a/packages/markdown/marked/test/new/links.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<p>Link: <a href="https://example.org/">constructor</a>.</p>
-
-<p><a href="https://example.com/1">One</a> (<a href="https://example.com/2">Two</a>) <a href="https://example.com/3">Three</a></p>
diff --git a/packages/markdown/marked/test/new/links.md b/packages/markdown/marked/test/new/links.md
deleted file mode 100644
index f53cbf13..00000000
--- a/packages/markdown/marked/test/new/links.md
+++ /dev/null
@@ -1,5 +0,0 @@
-Link: [constructor][].
-
-[One](https://example.com/1) ([Two](https://example.com/2)) [Three](https://example.com/3)
-
-[constructor]: https://example.org/
diff --git a/packages/markdown/marked/test/new/list_item_text.html b/packages/markdown/marked/test/new/list_item_text.html
deleted file mode 100644
index 142df366..00000000
--- a/packages/markdown/marked/test/new/list_item_text.html
+++ /dev/null
@@ -1 +0,0 @@
-<ul><li><p>item1</p> <ul><li>item2 </li></ul> <p>text</p> </li></ul>
diff --git a/packages/markdown/marked/test/new/list_item_text.md b/packages/markdown/marked/test/new/list_item_text.md
deleted file mode 100644
index a8f81b14..00000000
--- a/packages/markdown/marked/test/new/list_item_text.md
+++ /dev/null
@@ -1,5 +0,0 @@
- * item1
-
- * item2
-
- text
diff --git a/packages/markdown/marked/test/new/list_table.html b/packages/markdown/marked/test/new/list_table.html
deleted file mode 100644
index 3a8b6388..00000000
--- a/packages/markdown/marked/test/new/list_table.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<ul>
- <li>
- <p>Table in list:</p>
- <table>
- <thead>
- <tr>
- <th>column1</th>
- <th>column2</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>value1</td>
- <td>value2</td>
- </tr>
- <tr>
- <td>value3</td>
- <td>value4</td>
- </tr>
- </tbody>
- </table>
- </li>
- <li>
- <p>No leading pipe table in list:</p>
- <table>
- <thead>
- <tr>
- <th>column1</th>
- <th>column2</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>value1</td>
- <td>value2</td>
- </tr>
- <tr>
- <td>value3</td>
- <td>value4</td>
- </tr>
- </tbody>
- </table>
- </li>
-</ul>
diff --git a/packages/markdown/marked/test/new/list_table.md b/packages/markdown/marked/test/new/list_table.md
deleted file mode 100644
index 95541b11..00000000
--- a/packages/markdown/marked/test/new/list_table.md
+++ /dev/null
@@ -1,13 +0,0 @@
-* Table in list:
-
- | column1 | column2 |
- |---------|---------|
- | value1 | value2 |
- | value3 | value4 |
-
-* No leading pipe table in list:
-
- column1 | column2
- --------|--------
- value1 | value2
- value3 | value4
diff --git a/packages/markdown/marked/test/new/main.html b/packages/markdown/marked/test/new/main.html
deleted file mode 100644
index 8f78c4d3..00000000
--- a/packages/markdown/marked/test/new/main.html
+++ /dev/null
@@ -1,4 +0,0 @@
-<h1 id="a-heading">A heading</h1> <p>Just a note, I&#39;ve found that I can&#39;t test my markdown parser vs others. For example, both markdown.js and showdown code blocks in lists wrong. They&#39;re also completely <a href="http://google.com/" title="Google">inconsistent</a> with regards to paragraphs in list items.</p> <p>A link. Not anymore.</p> <aside>This will make me fail the test because
-markdown.js doesnt acknowledge arbitrary html blocks =/</aside> <ul><li><p>List Item 1</p></li><li><p>List Item 2 </p><ul><li>New List Item 1 Hi, this is a list item.</li><li>New List Item 2 Another item <pre><code>Code goes here.
-Lots of it...</code></pre></li><li>New List Item 3 The last item</li></ul></li><li><p>List Item 3 The final item.</p></li><li><p>List Item 4 The real final item.</p></li></ul> <p>Paragraph.</p> <blockquote><ul><li>bq Item 1</li><li>bq Item 2 <ul><li>New bq Item 1</li><li>New bq Item 2 Text here</li></ul></li></ul></blockquote> <hr> <blockquote><p> Another blockquote! I really need to get more creative with mockup text.. markdown.js breaks here again</p></blockquote> <h2 id="another-heading">Another Heading</h2> <p>Hello <em>world</em>. Here is a <a href="//hello">link</a>. And an image <img src="src" alt="alt">.</p> <pre><code>Code goes here.
-Lots of it...</code></pre>
diff --git a/packages/markdown/marked/test/new/main.md b/packages/markdown/marked/test/new/main.md
deleted file mode 100644
index 58e17a6a..00000000
--- a/packages/markdown/marked/test/new/main.md
+++ /dev/null
@@ -1,55 +0,0 @@
-[test]: http://google.com/ "Google"
-
-# A heading
-
-Just a note, I've found that I can't test my markdown parser vs others.
-For example, both markdown.js and showdown code blocks in lists wrong. They're
-also completely [inconsistent][test] with regards to paragraphs in list items.
-
-A link. Not anymore.
-
-<aside>This will make me fail the test because
-markdown.js doesnt acknowledge arbitrary html blocks =/</aside>
-
-* List Item 1
-
-* List Item 2
- * New List Item 1
- Hi, this is a list item.
- * New List Item 2
- Another item
- Code goes here.
- Lots of it...
- * New List Item 3
- The last item
-
-* List Item 3
-The final item.
-
-* List Item 4
-The real final item.
-
-Paragraph.
-
-> * bq Item 1
-> * bq Item 2
-> * New bq Item 1
-> * New bq Item 2
-> Text here
-
-* * *
-
-> Another blockquote!
-> I really need to get
-> more creative with
-> mockup text..
-> markdown.js breaks here again
-
-Another Heading
--------------
-
-Hello *world*. Here is a [link](//hello).
-And an image ![alt](src).
-
- Code goes here.
- Lots of it...
diff --git a/packages/markdown/marked/test/new/mangle_xss.html b/packages/markdown/marked/test/new/mangle_xss.html
deleted file mode 100644
index 3abcb67f..00000000
--- a/packages/markdown/marked/test/new/mangle_xss.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<p>&lt;&lt;svg/onload=&quot;alert(1)&quot;//@x&gt;</p>
-
-<p>&lt;bar&quot;onclick=&quot;alert(&#39;XSS&#39;)&quot;@foo&gt;</p>
diff --git a/packages/markdown/marked/test/new/mangle_xss.md b/packages/markdown/marked/test/new/mangle_xss.md
deleted file mode 100644
index 419bd124..00000000
--- a/packages/markdown/marked/test/new/mangle_xss.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-sanatize: true
-mangle: false
----
-<<svg/onload="alert(1)"//@x>
-
-<bar"onclick="alert('XSS')"@foo>
diff --git a/packages/markdown/marked/test/new/nested_code.html b/packages/markdown/marked/test/new/nested_code.html
deleted file mode 100644
index c28a1628..00000000
--- a/packages/markdown/marked/test/new/nested_code.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<p><code>hi ther `` ok ```</code></p>
-
-<p><code>`</code></p>
-
-<p><code>There is a literal backtick (`) here.</code></p>
-
-<p>A backtick-delimited string in a code span: <code>`foo`</code></p>
-
-<p>Please don&#39;t use any <code>&lt;blink&gt;</code> tags.</p> \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/nested_code.md b/packages/markdown/marked/test/new/nested_code.md
deleted file mode 100644
index adde4177..00000000
--- a/packages/markdown/marked/test/new/nested_code.md
+++ /dev/null
@@ -1,9 +0,0 @@
-````` hi ther `` ok ``` `````
-
-`` ` ``
-
-``There is a literal backtick (`) here.``
-
-A backtick-delimited string in a code span: `` `foo` ``
-
-Please don't use any `<blink>` tags. \ No newline at end of file
diff --git a/packages/markdown/marked/test/new/nested_em.html b/packages/markdown/marked/test/new/nested_em.html
deleted file mode 100644
index 3ab4ec89..00000000
--- a/packages/markdown/marked/test/new/nested_em.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<p><em>test <strong>test</strong> test</em></p>
-
-<p><em>test <strong>test</strong> test</em></p>
diff --git a/packages/markdown/marked/test/new/nested_em.md b/packages/markdown/marked/test/new/nested_em.md
deleted file mode 100644
index 550d0eb9..00000000
--- a/packages/markdown/marked/test/new/nested_em.md
+++ /dev/null
@@ -1,3 +0,0 @@
-*test **test** test*
-
-_test __test__ test_
diff --git a/packages/markdown/marked/test/new/nested_square_link.html b/packages/markdown/marked/test/new/nested_square_link.html
deleted file mode 100644
index 7b6986a1..00000000
--- a/packages/markdown/marked/test/new/nested_square_link.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<p><a href="/url">the <code>]</code> character</a></p>
-
-<p><a href="/url">the ` character</a></p>
diff --git a/packages/markdown/marked/test/new/nested_square_link.md b/packages/markdown/marked/test/new/nested_square_link.md
deleted file mode 100644
index 0f311e95..00000000
--- a/packages/markdown/marked/test/new/nested_square_link.md
+++ /dev/null
@@ -1,3 +0,0 @@
-[the `]` character](/url)
-
-[the ` character](/url)
diff --git a/packages/markdown/marked/test/new/nogfm_hashtag.html b/packages/markdown/marked/test/new/nogfm_hashtag.html
deleted file mode 100644
index ecd95d69..00000000
--- a/packages/markdown/marked/test/new/nogfm_hashtag.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<h1 id="header">header</h1>
-
-<h1 id="header1">header1</h1>
-
-<h1 id="header2">header2</h1>
diff --git a/packages/markdown/marked/test/new/nogfm_hashtag.md b/packages/markdown/marked/test/new/nogfm_hashtag.md
deleted file mode 100644
index 4b805db4..00000000
--- a/packages/markdown/marked/test/new/nogfm_hashtag.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-gfm: false
----
-#header
-
-# header1
-
-# header2
diff --git a/packages/markdown/marked/test/new/not_a_link.html b/packages/markdown/marked/test/new/not_a_link.html
deleted file mode 100644
index a01685d2..00000000
--- a/packages/markdown/marked/test/new/not_a_link.html
+++ /dev/null
@@ -1 +0,0 @@
-<p>[test](not a link)</p>
diff --git a/packages/markdown/marked/test/new/not_a_link.md b/packages/markdown/marked/test/new/not_a_link.md
deleted file mode 100644
index 26f60437..00000000
--- a/packages/markdown/marked/test/new/not_a_link.md
+++ /dev/null
@@ -1 +0,0 @@
-\[test](not a link)
diff --git a/packages/markdown/marked/test/new/ref_paren.html b/packages/markdown/marked/test/new/ref_paren.html
deleted file mode 100644
index cff6977f..00000000
--- a/packages/markdown/marked/test/new/ref_paren.html
+++ /dev/null
@@ -1 +0,0 @@
-<p><a href="/url" title="there">hi</a></p>
diff --git a/packages/markdown/marked/test/new/ref_paren.md b/packages/markdown/marked/test/new/ref_paren.md
deleted file mode 100644
index aa97c91a..00000000
--- a/packages/markdown/marked/test/new/ref_paren.md
+++ /dev/null
@@ -1,3 +0,0 @@
-[hi]
-
-[hi]: /url (there)
diff --git a/packages/markdown/marked/test/new/relative_urls.html b/packages/markdown/marked/test/new/relative_urls.html
deleted file mode 100644
index ee7f3bff..00000000
--- a/packages/markdown/marked/test/new/relative_urls.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<h1 id="absolutization-of-rfc-3986-uris">Absolutization of RFC 3986 URIs</h1>
-
-<h2 id="absolute-uri">Absolute URI</h2>
-
-<p><a href="http://example.com/"><img src="http://example.com/logo" alt="section 4.3"></a></p>
-
-<h2 id="network-path-reference">Network-path reference</h2>
-
-<p><a href="http://example.com/"><img src="http://example.com/logo" alt="section 4.2"></a></p>
-
-<h2 id="absolute-path">Absolute path</h2>
-
-<p><a href="http://example.com/path/to/content"><img src="http://example.com/path/to/img" alt="section 4.2"></a></p>
-
-<h2 id="relative-path">Relative path</h2>
-
-<p><a href="http://example.com/base/content"><img src="http://example.com/base/img" alt="section 4.2"></a></p>
-
-<h2 id="dot-relative-path">Dot-relative path</h2>
-
-<p><a href="http://example.com/base/./content"><img src="http://example.com/base/./img" alt="section 3.3"></a></p>
-
-<p><a href="http://example.com/base/../content"><img src="http://example.com/base/../img" alt="section 3.3"></a></p>
-
-<h2 id="same-document-query">Same-document query</h2>
-
-<p><a href="?"><img src="?type=image" alt="section 4.4"></a></p>
-
-<h2 id="same-document-fragment">Same-document fragment</h2>
-
-<p><a href="#"><img src="#img" alt="section 4.4"></a></p>
-
-<h2 id="empty">Empty</h2>
-
-<p><a href="">section 4.2</a></p>
diff --git a/packages/markdown/marked/test/new/relative_urls.md b/packages/markdown/marked/test/new/relative_urls.md
deleted file mode 100644
index 5ced8915..00000000
--- a/packages/markdown/marked/test/new/relative_urls.md
+++ /dev/null
@@ -1,30 +0,0 @@
----
-baseUrl: "http://example.com/base/"
----
-# Absolutization of RFC 3986 URIs
-
-## Absolute URI
-[![section 4.3](http://example.com/logo)](http://example.com/)
-
-## Network-path reference
-[![section 4.2](//example.com/logo)](//example.com/)
-
-## Absolute path
-[![section 4.2](/path/to/img)](/path/to/content)
-
-## Relative path
-[![section 4.2](img)](content)
-
-## Dot-relative path
-[![section 3.3](./img)](./content)
-
-[![section 3.3](../img)](../content)
-
-## Same-document query
-[![section 4.4](?type=image)](?)
-
-## Same-document fragment
-[![section 4.4](#img)](#)
-
-## Empty
-[section 4.2]()
diff --git a/packages/markdown/marked/test/new/same_bullet.html b/packages/markdown/marked/test/new/same_bullet.html
deleted file mode 100644
index 9220741c..00000000
--- a/packages/markdown/marked/test/new/same_bullet.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<ul>
-<li>test</li>
-<li>test</li>
-<li>test</li>
-</ul>
diff --git a/packages/markdown/marked/test/new/same_bullet.md b/packages/markdown/marked/test/new/same_bullet.md
deleted file mode 100644
index 27a89675..00000000
--- a/packages/markdown/marked/test/new/same_bullet.md
+++ /dev/null
@@ -1,3 +0,0 @@
-* test
-+ test
-- test
diff --git a/packages/markdown/marked/test/new/sanitize_links.html b/packages/markdown/marked/test/new/sanitize_links.html
deleted file mode 100644
index 092ea471..00000000
--- a/packages/markdown/marked/test/new/sanitize_links.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<p>URL</p>
-<p>URL</p>
-<p>URL</p>
-<p>URL</p>
-<p>URL</p>
diff --git a/packages/markdown/marked/test/new/sanitize_links.md b/packages/markdown/marked/test/new/sanitize_links.md
deleted file mode 100644
index 1850be4e..00000000
--- a/packages/markdown/marked/test/new/sanitize_links.md
+++ /dev/null
@@ -1,12 +0,0 @@
----
-sanitize: true
----
-[URL](javascript:alert)
-
-[URL](vbscript:alert)
-
-[URL](javascript&colon;alert&#40;1&#41;)
-
-[URL](javascript&#58document;alert&#40;1&#41;)
-
-[URL](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)
diff --git a/packages/markdown/marked/test/new/smartypants.html b/packages/markdown/marked/test/new/smartypants.html
deleted file mode 100644
index 33718eea..00000000
--- a/packages/markdown/marked/test/new/smartypants.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<p>Hello world ‘how’ “are” you – today…</p>
-
-<p>“It’s a more ‘challenging’ smartypants test…”</p>
-
-<p>‘And,’ as a bonus — “one
-multiline” test!</p>
diff --git a/packages/markdown/marked/test/new/smartypants.md b/packages/markdown/marked/test/new/smartypants.md
deleted file mode 100644
index 69225546..00000000
--- a/packages/markdown/marked/test/new/smartypants.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-smartypants: true
----
-Hello world 'how' "are" you -- today...
-
-"It's a more 'challenging' smartypants test..."
-
-'And,' as a bonus --- "one
-multiline" test!
diff --git a/packages/markdown/marked/test/new/smartypants_code.html b/packages/markdown/marked/test/new/smartypants_code.html
deleted file mode 100644
index 3ceb5094..00000000
--- a/packages/markdown/marked/test/new/smartypants_code.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<pre>&amp;</pre>
-<p><code>--foo</code>
-<kbd>---foo</kbd></p>
-<script>--foo</script>
-
-<p>Ensure that text such as custom tags that happen to
-begin with the same letters as the above tags don’t
-match and thus benefit from Smartypants-ing.</p>
-
-<p><script-custom>–foo</script-custom>
-<code>--foo</code> &lt;codebar –foo codebar&gt;</p>
diff --git a/packages/markdown/marked/test/new/smartypants_code.md b/packages/markdown/marked/test/new/smartypants_code.md
deleted file mode 100644
index 6c4c5233..00000000
--- a/packages/markdown/marked/test/new/smartypants_code.md
+++ /dev/null
@@ -1,15 +0,0 @@
----
-smartypants: true
-description: SmartyPants does not modify characters within <pre>, <code>, <kbd>, or <script> tag blocks.
-spec: https://daringfireball.net/projects/smartypants/
----
-<pre>&amp;</pre>
-<code>--foo</code>
-<kbd>---foo</kbd>
-<script>--foo</script>
-
-Ensure that text such as custom tags that happen to
-begin with the same letters as the above tags don't
-match and thus benefit from Smartypants-ing.
-<script-custom>--foo</script-custom>
-`--foo` <codebar --foo codebar>
diff --git a/packages/markdown/marked/test/new/table_cells.html b/packages/markdown/marked/test/new/table_cells.html
deleted file mode 100644
index 694f7ddd..00000000
--- a/packages/markdown/marked/test/new/table_cells.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<table><thead><tr><th>1</th></tr></thead><tbody><tr><td>1</td></tr></tbody></table>
-
-<table><thead><tr><th>1</th></tr></thead><tbody><tr><td>|</td></tr></tbody></table>
-
-<table><thead><tr><th>1</th></tr></thead><tbody><tr><td>1\1</td></tr></tbody></table>
-
-<table><thead><tr><th>1</th></tr></thead><tbody><tr><td>\\</td></tr></tbody></table>
-
-<table><thead><tr><th>1</th></tr></thead><tbody><tr><td>\\|</td></tr></tbody></table>
-
-<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td></td><td>2</td></tr></tbody></table>
-
-<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1|\</td><td>2|\</td></tr></tbody></table>
-
-<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td></td><td>2</td></tr></tbody></table>
-
-<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1|\</td><td>2|\</td></tr></tbody></table>
-
-<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td></td><td>2</td></tr></tbody></table>
-
-<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1</td><td>2|</td></tr></tbody></table>
-
-<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1</td><td>2|</td></tr></tbody></table>
-
-<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1</td><td>2|</td></tr></tbody></table>
-
-<table><thead><tr><th>1</th><th>2</th></tr></thead><tbody><tr><td>1</td><td>2|</td></tr></tbody></table>
diff --git a/packages/markdown/marked/test/new/table_cells.md b/packages/markdown/marked/test/new/table_cells.md
deleted file mode 100644
index 332298a6..00000000
--- a/packages/markdown/marked/test/new/table_cells.md
+++ /dev/null
@@ -1,55 +0,0 @@
-|1|
-|-|
-|1|
-
-|1|
-|-|
-|\||
-
-|1|
-|-|
-|1\\1|
-
-|1|
-|-|
-|\\\\||
-
-|1|
-|-|
-|\\\\\||
-
-|1|2|
-|-|-|
-||2|
-
-|1|2|
-|-|-|
-|1\|\\|2\|\\|
-
-|1|2|
-|-|-|
-| |2|
-
-1|2
--|-
-1\|\\|2\|\\
-
-1|2
--|-
- |2
-
-1|2
--|-
-1|2\|
-
-1|2
--|-
-1|2\|
-
-|1|2|
-|-|-|
-|1|2\||
-
-|1|2|
-|-|-|
-|1|2\||
diff --git a/packages/markdown/marked/test/new/toplevel_paragraphs.html b/packages/markdown/marked/test/new/toplevel_paragraphs.html
deleted file mode 100644
index 7fd50947..00000000
--- a/packages/markdown/marked/test/new/toplevel_paragraphs.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<p>hello world
- text after spaces
- text after spaces</p>
-
-<p>paragraph before code</p>
-<pre><code>text inside block code</code></pre>
-
-<p>paragraph before hr</p>
-<hr>
-
-<p>paragraph before head with hash</p>
-<h1 id="how-are-you">how are you</h1>
-
-<p>paragraph before head with equals</p>
-<h1 id="how-are-you-again">how are you again</h1>
-
-<p>paragraph before blockquote</p>
-<blockquote><p>text for blockquote</p></blockquote>
-
-<p>paragraph before list</p>
-<ul><li>text inside list</li></ul>
-
-<p>paragraph before div</p>
-<div>text inside div</div>
-
-<p>paragraph with span
-<span>text inside span</span></p>
-
-<p>hello <a href="/are/you">world</a>
-</p>
-
-<div>hello</div>
-
-<p><span>hello</span></p>
diff --git a/packages/markdown/marked/test/new/toplevel_paragraphs.md b/packages/markdown/marked/test/new/toplevel_paragraphs.md
deleted file mode 100644
index f344fbe3..00000000
--- a/packages/markdown/marked/test/new/toplevel_paragraphs.md
+++ /dev/null
@@ -1,41 +0,0 @@
----
-gfm: true
----
-hello world
- text after spaces
- text after spaces
-
-paragraph before code
-```
-text inside block code
-```
-
-paragraph before hr
-* * *
-
-paragraph before head with hash
-# how are you
-
-paragraph before head with equals
-how are you again
-===========
-
-paragraph before blockquote
-> text for blockquote
-
-paragraph before list
-* text inside list
-
-paragraph before div
-<div>text inside div</div>
-
-paragraph with span
-<span>text inside span</span>
-
-hello [world][how]
-
-[how]: /are/you
-
-<div>hello</div>
-
-<span>hello</span>
diff --git a/packages/markdown/marked/test/new/tricky_list.html b/packages/markdown/marked/test/new/tricky_list.html
deleted file mode 100644
index 764a3352..00000000
--- a/packages/markdown/marked/test/new/tricky_list.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<p><strong>hello</strong> <em>world</em></p>
-
-<ul>
-<li>hello world</li>
-</ul>
-
-<p><strong>hello</strong> <em>world</em></p>
-
-<ul>
-<li>hello world</li>
-</ul>
-
-<p><strong>hello</strong> <em>world</em></p>
-
-<ul>
-<li>Hello world</li>
-</ul>
-
-<p><strong>hello</strong> <em>world</em></p>
-
-<ul>
-<li>hello world</li>
-</ul>
diff --git a/packages/markdown/marked/test/new/tricky_list.md b/packages/markdown/marked/test/new/tricky_list.md
deleted file mode 100644
index 9aa76ceb..00000000
--- a/packages/markdown/marked/test/new/tricky_list.md
+++ /dev/null
@@ -1,15 +0,0 @@
-**hello** _world_
-
-* hello world
-
-**hello** _world_
-
-* hello world
-
-**hello** _world_
-
-* Hello world
-
-**hello** _world_
-
-* hello world
diff --git a/packages/markdown/marked/test/new/uppercase_hex.html b/packages/markdown/marked/test/new/uppercase_hex.html
deleted file mode 100644
index 97f55535..00000000
--- a/packages/markdown/marked/test/new/uppercase_hex.html
+++ /dev/null
@@ -1,2 +0,0 @@
-<p>lowerclick melower
-upperclick meupper</p>
diff --git a/packages/markdown/marked/test/new/uppercase_hex.md b/packages/markdown/marked/test/new/uppercase_hex.md
deleted file mode 100644
index b4b228ab..00000000
--- a/packages/markdown/marked/test/new/uppercase_hex.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-sanitize: true
----
-lower[click me](javascript&#x3a;...)lower
-upper[click me](javascript&#X3a;...)upper
diff --git a/packages/markdown/marked/test/original/amps_and_angles_encoding.html b/packages/markdown/marked/test/original/amps_and_angles_encoding.html
deleted file mode 100644
index 9606860b..00000000
--- a/packages/markdown/marked/test/original/amps_and_angles_encoding.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<p>AT&amp;T has an ampersand in their name.</p>
-
-<p>AT&amp;T is another way to write it.</p>
-
-<p>This &amp; that.</p>
-
-<p>4 &lt; 5.</p>
-
-<p>6 > 5.</p>
-
-<p>Here's a <a href="http://example.com/?foo=1&amp;bar=2">link</a> with an ampersand in the URL.</p>
-
-<p>Here's a link with an amersand in the link text: <a href="http://att.com/" title="AT&amp;T">AT&amp;T</a>.</p>
-
-<p>Here's an inline <a href="/script?foo=1&amp;bar=2">link</a>.</p>
-
-<p>Here's an inline <a href="/script?foo=1&amp;bar=2">link</a>.</p>
diff --git a/packages/markdown/marked/test/original/amps_and_angles_encoding.md b/packages/markdown/marked/test/original/amps_and_angles_encoding.md
deleted file mode 100644
index d7fd65c1..00000000
--- a/packages/markdown/marked/test/original/amps_and_angles_encoding.md
+++ /dev/null
@@ -1,25 +0,0 @@
----
-pedantic: true
----
-
-AT&T has an ampersand in their name.
-
-AT&amp;T is another way to write it.
-
-This & that.
-
-4 < 5.
-
-6 > 5.
-
-Here's a [link] [1] with an ampersand in the URL.
-
-Here's a link with an amersand in the link text: [AT&T] [2].
-
-Here's an inline [link](/script?foo=1&bar=2).
-
-Here's an inline [link](</script?foo=1&bar=2>).
-
-
-[1]: http://example.com/?foo=1&bar=2
-[2]: http://att.com/ "AT&T"
diff --git a/packages/markdown/marked/test/original/auto_links.html b/packages/markdown/marked/test/original/auto_links.html
deleted file mode 100644
index f8df9852..00000000
--- a/packages/markdown/marked/test/original/auto_links.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<p>Link: <a href="http://example.com/">http://example.com/</a>.</p>
-
-<p>With an ampersand: <a href="http://example.com/?foo=1&amp;bar=2">http://example.com/?foo=1&amp;bar=2</a></p>
-
-<ul>
-<li>In a list?</li>
-<li><a href="http://example.com/">http://example.com/</a></li>
-<li>It should.</li>
-</ul>
-
-<blockquote>
- <p>Blockquoted: <a href="http://example.com/">http://example.com/</a></p>
-</blockquote>
-
-<p>Auto-links should not occur here: <code>&lt;http://example.com/&gt;</code></p>
-
-<pre><code>or here: &lt;http://example.com/&gt;
-</code></pre>
diff --git a/packages/markdown/marked/test/original/auto_links.md b/packages/markdown/marked/test/original/auto_links.md
deleted file mode 100644
index f85767b4..00000000
--- a/packages/markdown/marked/test/original/auto_links.md
+++ /dev/null
@@ -1,13 +0,0 @@
-Link: <http://example.com/>.
-
-With an ampersand: <http://example.com/?foo=1&bar=2>
-
-* In a list?
-* <http://example.com/>
-* It should.
-
-> Blockquoted: <http://example.com/>
-
-Auto-links should not occur here: `<http://example.com/>`
-
- or here: <http://example.com/>
diff --git a/packages/markdown/marked/test/original/backslash_escapes.html b/packages/markdown/marked/test/original/backslash_escapes.html
deleted file mode 100644
index 7241d11f..00000000
--- a/packages/markdown/marked/test/original/backslash_escapes.html
+++ /dev/null
@@ -1,118 +0,0 @@
-<p>These should all get escaped:</p>
-
-<p>Backslash: \</p>
-
-<p>Backtick: `</p>
-
-<p>Asterisk: *</p>
-
-<p>Underscore: _</p>
-
-<p>Left brace: {</p>
-
-<p>Right brace: }</p>
-
-<p>Left bracket: [</p>
-
-<p>Right bracket: ]</p>
-
-<p>Left paren: (</p>
-
-<p>Right paren: )</p>
-
-<p>Greater-than: &gt;</p>
-
-<p>Hash: #</p>
-
-<p>Period: .</p>
-
-<p>Bang: !</p>
-
-<p>Plus: +</p>
-
-<p>Minus: -</p>
-
-<p>These should not, because they occur within a code block:</p>
-
-<pre><code>Backslash: \\
-
-Backtick: \`
-
-Asterisk: \*
-
-Underscore: \_
-
-Left brace: \{
-
-Right brace: \}
-
-Left bracket: \[
-
-Right bracket: \]
-
-Left paren: \(
-
-Right paren: \)
-
-Greater-than: \&gt;
-
-Hash: \#
-
-Period: \.
-
-Bang: \!
-
-Plus: \+
-
-Minus: \-
-</code></pre>
-
-<p>Nor should these, which occur in code spans:</p>
-
-<p>Backslash: <code>\\</code></p>
-
-<p>Backtick: <code>\`</code></p>
-
-<p>Asterisk: <code>\*</code></p>
-
-<p>Underscore: <code>\_</code></p>
-
-<p>Left brace: <code>\{</code></p>
-
-<p>Right brace: <code>\}</code></p>
-
-<p>Left bracket: <code>\[</code></p>
-
-<p>Right bracket: <code>\]</code></p>
-
-<p>Left paren: <code>\(</code></p>
-
-<p>Right paren: <code>\)</code></p>
-
-<p>Greater-than: <code>\&gt;</code></p>
-
-<p>Hash: <code>\#</code></p>
-
-<p>Period: <code>\.</code></p>
-
-<p>Bang: <code>\!</code></p>
-
-<p>Plus: <code>\+</code></p>
-
-<p>Minus: <code>\-</code></p>
-
-
-<p>These should get escaped, even though they're matching pairs for
-other Markdown constructs:</p>
-
-<p>*asterisks*</p>
-
-<p>_underscores_</p>
-
-<p>`backticks`</p>
-
-<p>This is a code span with a literal backslash-backtick sequence: <code>\`</code></p>
-
-<p>This is a tag with unescaped backticks <span attr='`ticks`'>bar</span>.</p>
-
-<p>This is a tag with backslashes <span attr='\\backslashes\\'>bar</span>.</p>
diff --git a/packages/markdown/marked/test/original/backslash_escapes.md b/packages/markdown/marked/test/original/backslash_escapes.md
deleted file mode 100644
index 5b014cb3..00000000
--- a/packages/markdown/marked/test/original/backslash_escapes.md
+++ /dev/null
@@ -1,120 +0,0 @@
-These should all get escaped:
-
-Backslash: \\
-
-Backtick: \`
-
-Asterisk: \*
-
-Underscore: \_
-
-Left brace: \{
-
-Right brace: \}
-
-Left bracket: \[
-
-Right bracket: \]
-
-Left paren: \(
-
-Right paren: \)
-
-Greater-than: \>
-
-Hash: \#
-
-Period: \.
-
-Bang: \!
-
-Plus: \+
-
-Minus: \-
-
-
-
-These should not, because they occur within a code block:
-
- Backslash: \\
-
- Backtick: \`
-
- Asterisk: \*
-
- Underscore: \_
-
- Left brace: \{
-
- Right brace: \}
-
- Left bracket: \[
-
- Right bracket: \]
-
- Left paren: \(
-
- Right paren: \)
-
- Greater-than: \>
-
- Hash: \#
-
- Period: \.
-
- Bang: \!
-
- Plus: \+
-
- Minus: \-
-
-
-Nor should these, which occur in code spans:
-
-Backslash: `\\`
-
-Backtick: `` \` ``
-
-Asterisk: `\*`
-
-Underscore: `\_`
-
-Left brace: `\{`
-
-Right brace: `\}`
-
-Left bracket: `\[`
-
-Right bracket: `\]`
-
-Left paren: `\(`
-
-Right paren: `\)`
-
-Greater-than: `\>`
-
-Hash: `\#`
-
-Period: `\.`
-
-Bang: `\!`
-
-Plus: `\+`
-
-Minus: `\-`
-
-
-These should get escaped, even though they're matching pairs for
-other Markdown constructs:
-
-\*asterisks\*
-
-\_underscores\_
-
-\`backticks\`
-
-This is a code span with a literal backslash-backtick sequence: `` \` ``
-
-This is a tag with unescaped backticks <span attr='`ticks`'>bar</span>.
-
-This is a tag with backslashes <span attr='\\backslashes\\'>bar</span>.
diff --git a/packages/markdown/marked/test/original/blockquotes_with_code_blocks.html b/packages/markdown/marked/test/original/blockquotes_with_code_blocks.html
deleted file mode 100644
index 990202a1..00000000
--- a/packages/markdown/marked/test/original/blockquotes_with_code_blocks.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<blockquote>
- <p>Example:</p>
-
-<pre><code>sub status {
- print "working";
-}
-</code></pre>
-
- <p>Or:</p>
-
-<pre><code>sub status {
- return "working";
-}
-</code></pre>
-</blockquote>
diff --git a/packages/markdown/marked/test/original/blockquotes_with_code_blocks.md b/packages/markdown/marked/test/original/blockquotes_with_code_blocks.md
deleted file mode 100644
index c31d1710..00000000
--- a/packages/markdown/marked/test/original/blockquotes_with_code_blocks.md
+++ /dev/null
@@ -1,11 +0,0 @@
-> Example:
->
-> sub status {
-> print "working";
-> }
->
-> Or:
->
-> sub status {
-> return "working";
-> }
diff --git a/packages/markdown/marked/test/original/code_blocks.html b/packages/markdown/marked/test/original/code_blocks.html
deleted file mode 100644
index 32703f5c..00000000
--- a/packages/markdown/marked/test/original/code_blocks.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<pre><code>code block on the first line
-</code></pre>
-
-<p>Regular text.</p>
-
-<pre><code>code block indented by spaces
-</code></pre>
-
-<p>Regular text.</p>
-
-<pre><code>the lines in this block
-all contain trailing spaces
-</code></pre>
-
-<p>Regular Text.</p>
-
-<pre><code>code block on the last line
-</code></pre>
diff --git a/packages/markdown/marked/test/original/code_blocks.md b/packages/markdown/marked/test/original/code_blocks.md
deleted file mode 100644
index 01f9a733..00000000
--- a/packages/markdown/marked/test/original/code_blocks.md
+++ /dev/null
@@ -1,14 +0,0 @@
- code block on the first line
-
-Regular text.
-
- code block indented by spaces
-
-Regular text.
-
- the lines in this block
- all contain trailing spaces
-
-Regular Text.
-
- code block on the last line
diff --git a/packages/markdown/marked/test/original/code_spans.html b/packages/markdown/marked/test/original/code_spans.html
deleted file mode 100644
index 4b8afbb7..00000000
--- a/packages/markdown/marked/test/original/code_spans.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<p><code>&lt;test a="</code> content of attribute <code>"&gt;</code></p>
-
-<p>Fix for backticks within HTML tag: <span attr='`ticks`'>like this</span></p>
-
-<p>Here's how you put <code>`backticks`</code> in a code span.</p>
-
diff --git a/packages/markdown/marked/test/original/code_spans.md b/packages/markdown/marked/test/original/code_spans.md
deleted file mode 100644
index 750a1973..00000000
--- a/packages/markdown/marked/test/original/code_spans.md
+++ /dev/null
@@ -1,6 +0,0 @@
-`<test a="` content of attribute `">`
-
-Fix for backticks within HTML tag: <span attr='`ticks`'>like this</span>
-
-Here's how you put `` `backticks` `` in a code span.
-
diff --git a/packages/markdown/marked/test/original/hard_wrapped_paragraphs_with_list_like_lines.html b/packages/markdown/marked/test/original/hard_wrapped_paragraphs_with_list_like_lines.html
deleted file mode 100644
index e21ac79a..00000000
--- a/packages/markdown/marked/test/original/hard_wrapped_paragraphs_with_list_like_lines.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<p>In Markdown 1.0.0 and earlier. Version
-8. This line turns into a list item.
-Because a hard-wrapped line in the
-middle of a paragraph looked like a
-list item.</p>
-
-<p>Here's one with a bullet.
-* criminey.</p>
diff --git a/packages/markdown/marked/test/original/hard_wrapped_paragraphs_with_list_like_lines.md b/packages/markdown/marked/test/original/hard_wrapped_paragraphs_with_list_like_lines.md
deleted file mode 100644
index f8a5b27b..00000000
--- a/packages/markdown/marked/test/original/hard_wrapped_paragraphs_with_list_like_lines.md
+++ /dev/null
@@ -1,8 +0,0 @@
-In Markdown 1.0.0 and earlier. Version
-8. This line turns into a list item.
-Because a hard-wrapped line in the
-middle of a paragraph looked like a
-list item.
-
-Here's one with a bullet.
-* criminey.
diff --git a/packages/markdown/marked/test/original/horizontal_rules.html b/packages/markdown/marked/test/original/horizontal_rules.html
deleted file mode 100644
index b84ba925..00000000
--- a/packages/markdown/marked/test/original/horizontal_rules.html
+++ /dev/null
@@ -1,85 +0,0 @@
-<p>Dashes:</p>
-
-<hr />
-
-<hr />
-
-<hr />
-
-<hr />
-
-<pre><code>---
-</code></pre>
-
-<hr />
-
-<hr />
-
-<hr />
-
-<hr />
-
-<pre><code>- - -
-</code></pre>
-
-<p>Asterisks:</p>
-
-<hr />
-
-<hr />
-
-<hr />
-
-<hr />
-
-<pre><code>***
-</code></pre>
-
-<hr />
-
-<hr />
-
-<hr />
-
-<hr />
-
-<pre><code>* * *
-</code></pre>
-
-<p>Underscores:</p>
-
-<hr />
-
-<hr />
-
-<hr />
-
-<hr />
-
-<pre><code>___
-</code></pre>
-
-<hr />
-
-<hr />
-
-<hr />
-
-<hr />
-
-<pre><code>_ _ _
-</code></pre>
-
-<p>Not horizontal rules:</p>
-<p>--*</p>
-<p>-*-</p>
-<p>*--</p>
-<p>-_-</p>
-<p>__-</p>
-<p>-__</p>
-<pre><code>_-_
-</code></pre>
-<p>Long rules:</p>
-<hr>
-<hr>
-<hr>
diff --git a/packages/markdown/marked/test/original/horizontal_rules.md b/packages/markdown/marked/test/original/horizontal_rules.md
deleted file mode 100644
index 49bbcfad..00000000
--- a/packages/markdown/marked/test/original/horizontal_rules.md
+++ /dev/null
@@ -1,94 +0,0 @@
-Dashes:
-
----
-
- ---
-
- ---
-
- ---
-
- ---
-
-- - -
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
-
-Asterisks:
-
-***
-
- ***
-
- ***
-
- ***
-
- ***
-
-* * *
-
- * * *
-
- * * *
-
- * * *
-
- * * *
-
-
-Underscores:
-
-___
-
- ___
-
- ___
-
- ___
-
- ___
-
-_ _ _
-
- _ _ _
-
- _ _ _
-
- _ _ _
-
- _ _ _
-
-
-
-Not horizontal rules:
-
---*
-
--*-
-
-*--
-
- -_-
-
- __-
-
- -__
-
- _-_
-
-
-Long rules:
-
------------
-
-___________
-
-***********
diff --git a/packages/markdown/marked/test/original/inline_html_advanced.html b/packages/markdown/marked/test/original/inline_html_advanced.html
deleted file mode 100644
index 3af9cafb..00000000
--- a/packages/markdown/marked/test/original/inline_html_advanced.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<p>Simple block on one line:</p>
-
-<div>foo</div>
-
-<p>And nested without indentation:</p>
-
-<div>
-<div>
-<div>
-foo
-</div>
-<div style=">"/>
-</div>
-<div>bar</div>
-</div>
diff --git a/packages/markdown/marked/test/original/inline_html_advanced.md b/packages/markdown/marked/test/original/inline_html_advanced.md
deleted file mode 100644
index 86b7206d..00000000
--- a/packages/markdown/marked/test/original/inline_html_advanced.md
+++ /dev/null
@@ -1,15 +0,0 @@
-Simple block on one line:
-
-<div>foo</div>
-
-And nested without indentation:
-
-<div>
-<div>
-<div>
-foo
-</div>
-<div style=">"/>
-</div>
-<div>bar</div>
-</div>
diff --git a/packages/markdown/marked/test/original/inline_html_comments.html b/packages/markdown/marked/test/original/inline_html_comments.html
deleted file mode 100644
index 3f167a16..00000000
--- a/packages/markdown/marked/test/original/inline_html_comments.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<p>Paragraph one.</p>
-
-<!-- This is a simple comment -->
-
-<!--
- This is another comment.
--->
-
-<p>Paragraph two.</p>
-
-<!-- one comment block -- -- with two comments -->
-
-<p>The end.</p>
diff --git a/packages/markdown/marked/test/original/inline_html_comments.md b/packages/markdown/marked/test/original/inline_html_comments.md
deleted file mode 100644
index 41d830d0..00000000
--- a/packages/markdown/marked/test/original/inline_html_comments.md
+++ /dev/null
@@ -1,13 +0,0 @@
-Paragraph one.
-
-<!-- This is a simple comment -->
-
-<!--
- This is another comment.
--->
-
-Paragraph two.
-
-<!-- one comment block -- -- with two comments -->
-
-The end.
diff --git a/packages/markdown/marked/test/original/inline_html_simple.html b/packages/markdown/marked/test/original/inline_html_simple.html
deleted file mode 100644
index 6bf78f8f..00000000
--- a/packages/markdown/marked/test/original/inline_html_simple.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<p>Here's a simple block:</p>
-
-<div>
- foo
-</div>
-
-<p>This should be a code block, though:</p>
-
-<pre><code>&lt;div&gt;
- foo
-&lt;/div&gt;
-</code></pre>
-
-<p>As should this:</p>
-
-<pre><code>&lt;div&gt;foo&lt;/div&gt;
-</code></pre>
-
-<p>Now, nested:</p>
-
-<div>
- <div>
- <div>
- foo
- </div>
- </div>
-</div>
-
-<p>This should just be an HTML comment:</p>
-
-<!-- Comment -->
-
-<p>Multiline:</p>
-
-<!--
-Blah
-Blah
--->
-
-<p>Code block:</p>
-
-<pre><code>&lt;!-- Comment --&gt;
-</code></pre>
-
-<p>Just plain comment, with trailing spaces on the line:</p>
-
-<!-- foo -->
-
-<p>Code:</p>
-
-<pre><code>&lt;hr /&gt;
-</code></pre>
-
-<p>Hr's:</p>
-
-<hr>
-
-<hr/>
-
-<hr />
-
-<hr>
-
-<hr/>
-
-<hr />
-
-<hr class="foo" id="bar" />
-
-<hr class="foo" id="bar"/>
-
-<hr class="foo" id="bar" >
diff --git a/packages/markdown/marked/test/original/inline_html_simple.md b/packages/markdown/marked/test/original/inline_html_simple.md
deleted file mode 100644
index 14aa2dc2..00000000
--- a/packages/markdown/marked/test/original/inline_html_simple.md
+++ /dev/null
@@ -1,69 +0,0 @@
-Here's a simple block:
-
-<div>
- foo
-</div>
-
-This should be a code block, though:
-
- <div>
- foo
- </div>
-
-As should this:
-
- <div>foo</div>
-
-Now, nested:
-
-<div>
- <div>
- <div>
- foo
- </div>
- </div>
-</div>
-
-This should just be an HTML comment:
-
-<!-- Comment -->
-
-Multiline:
-
-<!--
-Blah
-Blah
--->
-
-Code block:
-
- <!-- Comment -->
-
-Just plain comment, with trailing spaces on the line:
-
-<!-- foo -->
-
-Code:
-
- <hr />
-
-Hr's:
-
-<hr>
-
-<hr/>
-
-<hr />
-
-<hr>
-
-<hr/>
-
-<hr />
-
-<hr class="foo" id="bar" />
-
-<hr class="foo" id="bar"/>
-
-<hr class="foo" id="bar" >
-
diff --git a/packages/markdown/marked/test/original/links_inline_style.html b/packages/markdown/marked/test/original/links_inline_style.html
deleted file mode 100644
index 12ec391c..00000000
--- a/packages/markdown/marked/test/original/links_inline_style.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<p>Just a <a href="/url/">URL</a>.</p>
-
-<p><a href="/url/" title="title">URL and title</a>.</p>
-
-<p><a href="/url/" title="title preceded by two spaces">URL and title</a>.</p>
-
-<p><a href="/url/" title="title preceded by a tab">URL and title</a>.</p>
-
-<p><a href="/url/" title="title has spaces afterward">URL and title</a>.</p>
-
-<p><a href="/url/has%20space">URL and title</a>.</p>
-
-<p><a href="/url/has%20space/" title="url has space and title">URL and title</a>.</p>
-
-<p><a href="">Empty</a>.</p>
diff --git a/packages/markdown/marked/test/original/links_inline_style.md b/packages/markdown/marked/test/original/links_inline_style.md
deleted file mode 100644
index 1dc692be..00000000
--- a/packages/markdown/marked/test/original/links_inline_style.md
+++ /dev/null
@@ -1,19 +0,0 @@
----
-pedantic: true
----
-
-Just a [URL](/url/).
-
-[URL and title](/url/ "title").
-
-[URL and title](/url/ "title preceded by two spaces").
-
-[URL and title](/url/ "title preceded by a tab").
-
-[URL and title](/url/ "title has spaces afterward" ).
-
-[URL and title]( /url/has space ).
-
-[URL and title]( /url/has space/ "url has space and title").
-
-[Empty]().
diff --git a/packages/markdown/marked/test/original/links_reference_style.html b/packages/markdown/marked/test/original/links_reference_style.html
deleted file mode 100644
index 8e70c32f..00000000
--- a/packages/markdown/marked/test/original/links_reference_style.html
+++ /dev/null
@@ -1,52 +0,0 @@
-<p>Foo <a href="/url/" title="Title">bar</a>.</p>
-
-<p>Foo <a href="/url/" title="Title">bar</a>.</p>
-
-<p>Foo <a href="/url/" title="Title">bar</a>.</p>
-
-<p>With <a href="/url/">embedded [brackets]</a>.</p>
-
-<p>Indented <a href="/url">once</a>.</p>
-
-<p>Indented <a href="/url">twice</a>.</p>
-
-<p>Indented <a href="/url">thrice</a>.</p>
-
-<p>Indented [four][] times.</p>
-
-<pre><code>[four]: /url
-</code></pre>
-
-<hr />
-
-<p><a href="foo">this</a> should work</p>
-
-<p>So should <a href="foo">this</a>.</p>
-
-<p>And <a href="foo">this</a>.</p>
-
-<p>And <a href="foo">this</a>.</p>
-
-<p>And <a href="foo">this</a>.</p>
-
-<p>But not [that] [].</p>
-
-<p>Nor [that][].</p>
-
-<p>Nor [that].</p>
-
-<p>[Something in brackets like <a href="foo">this</a> should work]</p>
-
-<p>[Same with <a href="foo">this</a>.]</p>
-
-<p>In this case, <a href="/somethingelse/">this</a> points to something else.</p>
-
-<p>Backslashing should suppress [this] and [this].</p>
-
-<hr />
-
-<p>Here's one where the <a href="/url/">link
-breaks</a> across lines.</p>
-
-<p>Here's another where the <a href="/url/">link
-breaks</a> across lines, but with a line-ending space.</p>
diff --git a/packages/markdown/marked/test/original/links_reference_style.md b/packages/markdown/marked/test/original/links_reference_style.md
deleted file mode 100644
index 10ab1606..00000000
--- a/packages/markdown/marked/test/original/links_reference_style.md
+++ /dev/null
@@ -1,75 +0,0 @@
----
-pedantic: true
----
-
-Foo [bar] [1].
-
-Foo [bar][1].
-
-Foo [bar]
-[1].
-
-[1]: /url/ "Title"
-
-
-With [embedded [brackets]] [b].
-
-
-Indented [once][].
-
-Indented [twice][].
-
-Indented [thrice][].
-
-Indented [four][] times.
-
- [once]: /url
-
- [twice]: /url
-
- [thrice]: /url
-
- [four]: /url
-
-
-[b]: /url/
-
-* * *
-
-[this] [this] should work
-
-So should [this][this].
-
-And [this] [].
-
-And [this][].
-
-And [this].
-
-But not [that] [].
-
-Nor [that][].
-
-Nor [that].
-
-[Something in brackets like [this][] should work]
-
-[Same with [this].]
-
-In this case, [this](/somethingelse/) points to something else.
-
-Backslashing should suppress \[this] and [this\].
-
-[this]: foo
-
-
-* * *
-
-Here's one where the [link
-breaks] across lines.
-
-Here's another where the [link
-breaks] across lines, but with a line-ending space.
-
-
-[link breaks]: /url/
diff --git a/packages/markdown/marked/test/original/links_shortcut_references.html b/packages/markdown/marked/test/original/links_shortcut_references.html
deleted file mode 100644
index bf81e939..00000000
--- a/packages/markdown/marked/test/original/links_shortcut_references.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<p>This is the <a href="/simple">simple case</a>.</p>
-
-<p>This one has a <a href="/foo">line
-break</a>.</p>
-
-<p>This one has a <a href="/foo">line
-break</a> with a line-ending space.</p>
-
-<p><a href="/that">this</a> and the <a href="/other">other</a></p>
diff --git a/packages/markdown/marked/test/original/links_shortcut_references.md b/packages/markdown/marked/test/original/links_shortcut_references.md
deleted file mode 100644
index 0ff031fa..00000000
--- a/packages/markdown/marked/test/original/links_shortcut_references.md
+++ /dev/null
@@ -1,24 +0,0 @@
----
-pedantic: true
----
-
-This is the [simple case].
-
-[simple case]: /simple
-
-
-
-This one has a [line
-break].
-
-This one has a [line
-break] with a line-ending space.
-
-[line break]: /foo
-
-
-[this] [that] and the [other]
-
-[this]: /this
-[that]: /that
-[other]: /other
diff --git a/packages/markdown/marked/test/original/literal_quotes_in_titles.html b/packages/markdown/marked/test/original/literal_quotes_in_titles.html
deleted file mode 100644
index 611c1ac6..00000000
--- a/packages/markdown/marked/test/original/literal_quotes_in_titles.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<p>Foo <a href="/url/" title="Title with &quot;quotes&quot; inside">bar</a>.</p>
-
-<p>Foo <a href="/url/" title="Title with &quot;quotes&quot; inside">bar</a>.</p>
diff --git a/packages/markdown/marked/test/original/literal_quotes_in_titles.md b/packages/markdown/marked/test/original/literal_quotes_in_titles.md
deleted file mode 100644
index 74de60d8..00000000
--- a/packages/markdown/marked/test/original/literal_quotes_in_titles.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-pedantic: true
----
-
-Foo [bar][].
-
-Foo [bar](/url/ "Title with "quotes" inside").
-
-
- [bar]: /url/ "Title with "quotes" inside"
-
diff --git a/packages/markdown/marked/test/original/markdown_documentation_basics.html b/packages/markdown/marked/test/original/markdown_documentation_basics.html
deleted file mode 100644
index dede9d74..00000000
--- a/packages/markdown/marked/test/original/markdown_documentation_basics.html
+++ /dev/null
@@ -1,314 +0,0 @@
-<h1 id="markdown-basics">Markdown: Basics</h1>
-
-<ul id="ProjectSubmenu">
- <li><a href="/projects/markdown/" title="Markdown Project Page">Main</a></li>
- <li><a class="selected" title="Markdown Basics">Basics</a></li>
- <li><a href="/projects/markdown/syntax" title="Markdown Syntax Documentation">Syntax</a></li>
- <li><a href="/projects/markdown/license" title="Pricing and License Information">License</a></li>
- <li><a href="/projects/markdown/dingus" title="Online Markdown Web Form">Dingus</a></li>
-</ul>
-
-<h2 id="getting-the-gist-of-markdowns-formatting-syntax">Getting the Gist of Markdown's Formatting Syntax</h2>
-
-<p>This page offers a brief overview of what it's like to use Markdown.
-The <a href="/projects/markdown/syntax" title="Markdown Syntax">syntax page</a> provides complete, detailed documentation for
-every feature, but Markdown should be very easy to pick up simply by
-looking at a few examples of it in action. The examples on this page
-are written in a before/after style, showing example syntax and the
-HTML output produced by Markdown.</p>
-
-<p>It's also helpful to simply try Markdown out; the <a href="/projects/markdown/dingus" title="Markdown Dingus">Dingus</a> is a
-web application that allows you type your own Markdown-formatted text
-and translate it to XHTML.</p>
-
-<p><strong>Note:</strong> This document is itself written using Markdown; you
-can <a href="/projects/markdown/basics.text">see the source for it by adding '.text' to the URL</a>.</p>
-
-<h2 id="paragraphs-headers-blockquotes">Paragraphs, Headers, Blockquotes</h2>
-
-<p>A paragraph is simply one or more consecutive lines of text, separated
-by one or more blank lines. (A blank line is any line that looks like a
-blank line -- a line containing nothing spaces or tabs is considered
-blank.) Normal paragraphs should not be intended with spaces or tabs.</p>
-
-<p>Markdown offers two styles of headers: <em>Setext</em> and <em>atx</em>.
-Setext-style headers for <code>&lt;h1&gt;</code> and <code>&lt;h2&gt;</code> are created by
-"underlining" with equal signs (<code>=</code>) and hyphens (<code>-</code>), respectively.
-To create an atx-style header, you put 1-6 hash marks (<code>#</code>) at the
-beginning of the line -- the number of hashes equals the resulting
-HTML header level.</p>
-
-<p>Blockquotes are indicated using email-style '<code>&gt;</code>' angle brackets.</p>
-
-<p>Markdown:</p>
-
-<pre><code>A First Level Header
-====================
-
-A Second Level Header
----------------------
-
-Now is the time for all good men to come to
-the aid of their country. This is just a
-regular paragraph.
-
-The quick brown fox jumped over the lazy
-dog's back.
-
-### Header 3
-
-&gt; This is a blockquote.
-&gt;
-&gt; This is the second paragraph in the blockquote.
-&gt;
-&gt; ## This is an H2 in a blockquote
-</code></pre>
-
-<p>Output:</p>
-
-<pre><code>&lt;h1&gt;A First Level Header&lt;/h1&gt;
-
-&lt;h2&gt;A Second Level Header&lt;/h2&gt;
-
-&lt;p&gt;Now is the time for all good men to come to
-the aid of their country. This is just a
-regular paragraph.&lt;/p&gt;
-
-&lt;p&gt;The quick brown fox jumped over the lazy
-dog's back.&lt;/p&gt;
-
-&lt;h3&gt;Header 3&lt;/h3&gt;
-
-&lt;blockquote&gt;
- &lt;p&gt;This is a blockquote.&lt;/p&gt;
-
- &lt;p&gt;This is the second paragraph in the blockquote.&lt;/p&gt;
-
- &lt;h2&gt;This is an H2 in a blockquote&lt;/h2&gt;
-&lt;/blockquote&gt;
-</code></pre>
-
-<h3 id="phrase-emphasis">Phrase Emphasis</h3>
-
-<p>Markdown uses asterisks and underscores to indicate spans of emphasis.</p>
-
-<p>Markdown:</p>
-
-<pre><code>Some of these words *are emphasized*.
-Some of these words _are emphasized also_.
-
-Use two asterisks for **strong emphasis**.
-Or, if you prefer, __use two underscores instead__.
-</code></pre>
-
-<p>Output:</p>
-
-<pre><code>&lt;p&gt;Some of these words &lt;em&gt;are emphasized&lt;/em&gt;.
-Some of these words &lt;em&gt;are emphasized also&lt;/em&gt;.&lt;/p&gt;
-
-&lt;p&gt;Use two asterisks for &lt;strong&gt;strong emphasis&lt;/strong&gt;.
-Or, if you prefer, &lt;strong&gt;use two underscores instead&lt;/strong&gt;.&lt;/p&gt;
-</code></pre>
-
-<h2 id="lists">Lists</h2>
-
-<p>Unordered (bulleted) lists use asterisks, pluses, and hyphens (<code>*</code>,
-<code>+</code>, and <code>-</code>) as list markers. These three markers are
-interchangable; this:</p>
-
-<pre><code>* Candy.
-* Gum.
-* Booze.
-</code></pre>
-
-<p>this:</p>
-
-<pre><code>+ Candy.
-+ Gum.
-+ Booze.
-</code></pre>
-
-<p>and this:</p>
-
-<pre><code>- Candy.
-- Gum.
-- Booze.
-</code></pre>
-
-<p>all produce the same output:</p>
-
-<pre><code>&lt;ul&gt;
-&lt;li&gt;Candy.&lt;/li&gt;
-&lt;li&gt;Gum.&lt;/li&gt;
-&lt;li&gt;Booze.&lt;/li&gt;
-&lt;/ul&gt;
-</code></pre>
-
-<p>Ordered (numbered) lists use regular numbers, followed by periods, as
-list markers:</p>
-
-<pre><code>1. Red
-2. Green
-3. Blue
-</code></pre>
-
-<p>Output:</p>
-
-<pre><code>&lt;ol&gt;
-&lt;li&gt;Red&lt;/li&gt;
-&lt;li&gt;Green&lt;/li&gt;
-&lt;li&gt;Blue&lt;/li&gt;
-&lt;/ol&gt;
-</code></pre>
-
-<p>If you put blank lines between items, you'll get <code>&lt;p&gt;</code> tags for the
-list item text. You can create multi-paragraph list items by indenting
-the paragraphs by 4 spaces or 1 tab:</p>
-
-<pre><code>* A list item.
-
- With multiple paragraphs.
-
-* Another item in the list.
-</code></pre>
-
-<p>Output:</p>
-
-<pre><code>&lt;ul&gt;
-&lt;li&gt;&lt;p&gt;A list item.&lt;/p&gt;
-&lt;p&gt;With multiple paragraphs.&lt;/p&gt;&lt;/li&gt;
-&lt;li&gt;&lt;p&gt;Another item in the list.&lt;/p&gt;&lt;/li&gt;
-&lt;/ul&gt;
-</code></pre>
-
-<h3 id="links">Links</h3>
-
-<p>Markdown supports two styles for creating links: <em>inline</em> and
-<em>reference</em>. With both styles, you use square brackets to delimit the
-text you want to turn into a link.</p>
-
-<p>Inline-style links use parentheses immediately after the link text.
-For example:</p>
-
-<pre><code>This is an [example link](http://example.com/).
-</code></pre>
-
-<p>Output:</p>
-
-<pre><code>&lt;p&gt;This is an &lt;a href="http://example.com/"&gt;
-example link&lt;/a&gt;.&lt;/p&gt;
-</code></pre>
-
-<p>Optionally, you may include a title attribute in the parentheses:</p>
-
-<pre><code>This is an [example link](http://example.com/ "With a Title").
-</code></pre>
-
-<p>Output:</p>
-
-<pre><code>&lt;p&gt;This is an &lt;a href="http://example.com/" title="With a Title"&gt;
-example link&lt;/a&gt;.&lt;/p&gt;
-</code></pre>
-
-<p>Reference-style links allow you to refer to your links by names, which
-you define elsewhere in your document:</p>
-
-<pre><code>I get 10 times more traffic from [Google][1] than from
-[Yahoo][2] or [MSN][3].
-
-[1]: http://google.com/ "Google"
-[2]: http://search.yahoo.com/ "Yahoo Search"
-[3]: http://search.msn.com/ "MSN Search"
-</code></pre>
-
-<p>Output:</p>
-
-<pre><code>&lt;p&gt;I get 10 times more traffic from &lt;a href="http://google.com/"
-title="Google"&gt;Google&lt;/a&gt; than from &lt;a href="http://search.yahoo.com/"
-title="Yahoo Search"&gt;Yahoo&lt;/a&gt; or &lt;a href="http://search.msn.com/"
-title="MSN Search"&gt;MSN&lt;/a&gt;.&lt;/p&gt;
-</code></pre>
-
-<p>The title attribute is optional. Link names may contain letters,
-numbers and spaces, but are <em>not</em> case sensitive:</p>
-
-<pre><code>I start my morning with a cup of coffee and
-[The New York Times][NY Times].
-
-[ny times]: http://www.nytimes.com/
-</code></pre>
-
-<p>Output:</p>
-
-<pre><code>&lt;p&gt;I start my morning with a cup of coffee and
-&lt;a href="http://www.nytimes.com/"&gt;The New York Times&lt;/a&gt;.&lt;/p&gt;
-</code></pre>
-
-<h3 id="images">Images</h3>
-
-<p>Image syntax is very much like link syntax.</p>
-
-<p>Inline (titles are optional):</p>
-
-<pre><code>![alt text](/path/to/img.jpg "Title")
-</code></pre>
-
-<p>Reference-style:</p>
-
-<pre><code>![alt text][id]
-
-[id]: /path/to/img.jpg "Title"
-</code></pre>
-
-<p>Both of the above examples produce the same output:</p>
-
-<pre><code>&lt;img src="/path/to/img.jpg" alt="alt text" title="Title" /&gt;
-</code></pre>
-
-<h3 id="code">Code</h3>
-
-<p>In a regular paragraph, you can create code span by wrapping text in
-backtick quotes. Any ampersands (<code>&amp;</code>) and angle brackets (<code>&lt;</code> or
-<code>&gt;</code>) will automatically be translated into HTML entities. This makes
-it easy to use Markdown to write about HTML example code:</p>
-
-<pre><code>I strongly recommend against using any `&lt;blink&gt;` tags.
-
-I wish SmartyPants used named entities like `&amp;mdash;`
-instead of decimal-encoded entites like `&amp;#8212;`.
-</code></pre>
-
-<p>Output:</p>
-
-<pre><code>&lt;p&gt;I strongly recommend against using any
-&lt;code&gt;&amp;lt;blink&amp;gt;&lt;/code&gt; tags.&lt;/p&gt;
-
-&lt;p&gt;I wish SmartyPants used named entities like
-&lt;code&gt;&amp;amp;mdash;&lt;/code&gt; instead of decimal-encoded
-entites like &lt;code&gt;&amp;amp;#8212;&lt;/code&gt;.&lt;/p&gt;
-</code></pre>
-
-<p>To specify an entire block of pre-formatted code, indent every line of
-the block by 4 spaces or 1 tab. Just like with code spans, <code>&amp;</code>, <code>&lt;</code>,
-and <code>&gt;</code> characters will be escaped automatically.</p>
-
-<p>Markdown:</p>
-
-<pre><code>If you want your page to validate under XHTML 1.0 Strict,
-you've got to put paragraph tags in your blockquotes:
-
- &lt;blockquote&gt;
- &lt;p&gt;For example.&lt;/p&gt;
- &lt;/blockquote&gt;
-</code></pre>
-
-<p>Output:</p>
-
-<pre><code>&lt;p&gt;If you want your page to validate under XHTML 1.0 Strict,
-you've got to put paragraph tags in your blockquotes:&lt;/p&gt;
-
-&lt;pre&gt;&lt;code&gt;&amp;lt;blockquote&amp;gt;
- &amp;lt;p&amp;gt;For example.&amp;lt;/p&amp;gt;
-&amp;lt;/blockquote&amp;gt;
-&lt;/code&gt;&lt;/pre&gt;
-</code></pre>
diff --git a/packages/markdown/marked/test/original/markdown_documentation_basics.md b/packages/markdown/marked/test/original/markdown_documentation_basics.md
deleted file mode 100644
index 23079a33..00000000
--- a/packages/markdown/marked/test/original/markdown_documentation_basics.md
+++ /dev/null
@@ -1,310 +0,0 @@
----
-pedantic: true
----
-
-Markdown: Basics
-================
-
-<ul id="ProjectSubmenu">
- <li><a href="/projects/markdown/" title="Markdown Project Page">Main</a></li>
- <li><a class="selected" title="Markdown Basics">Basics</a></li>
- <li><a href="/projects/markdown/syntax" title="Markdown Syntax Documentation">Syntax</a></li>
- <li><a href="/projects/markdown/license" title="Pricing and License Information">License</a></li>
- <li><a href="/projects/markdown/dingus" title="Online Markdown Web Form">Dingus</a></li>
-</ul>
-
-
-Getting the Gist of Markdown's Formatting Syntax
-------------------------------------------------
-
-This page offers a brief overview of what it's like to use Markdown.
-The [syntax page] [s] provides complete, detailed documentation for
-every feature, but Markdown should be very easy to pick up simply by
-looking at a few examples of it in action. The examples on this page
-are written in a before/after style, showing example syntax and the
-HTML output produced by Markdown.
-
-It's also helpful to simply try Markdown out; the [Dingus] [d] is a
-web application that allows you type your own Markdown-formatted text
-and translate it to XHTML.
-
-**Note:** This document is itself written using Markdown; you
-can [see the source for it by adding '.text' to the URL] [src].
-
- [s]: /projects/markdown/syntax "Markdown Syntax"
- [d]: /projects/markdown/dingus "Markdown Dingus"
- [src]: /projects/markdown/basics.text
-
-
-## Paragraphs, Headers, Blockquotes ##
-
-A paragraph is simply one or more consecutive lines of text, separated
-by one or more blank lines. (A blank line is any line that looks like a
-blank line -- a line containing nothing spaces or tabs is considered
-blank.) Normal paragraphs should not be intended with spaces or tabs.
-
-Markdown offers two styles of headers: *Setext* and *atx*.
-Setext-style headers for `<h1>` and `<h2>` are created by
-"underlining" with equal signs (`=`) and hyphens (`-`), respectively.
-To create an atx-style header, you put 1-6 hash marks (`#`) at the
-beginning of the line -- the number of hashes equals the resulting
-HTML header level.
-
-Blockquotes are indicated using email-style '`>`' angle brackets.
-
-Markdown:
-
- A First Level Header
- ====================
-
- A Second Level Header
- ---------------------
-
- Now is the time for all good men to come to
- the aid of their country. This is just a
- regular paragraph.
-
- The quick brown fox jumped over the lazy
- dog's back.
-
- ### Header 3
-
- > This is a blockquote.
- >
- > This is the second paragraph in the blockquote.
- >
- > ## This is an H2 in a blockquote
-
-
-Output:
-
- <h1>A First Level Header</h1>
-
- <h2>A Second Level Header</h2>
-
- <p>Now is the time for all good men to come to
- the aid of their country. This is just a
- regular paragraph.</p>
-
- <p>The quick brown fox jumped over the lazy
- dog's back.</p>
-
- <h3>Header 3</h3>
-
- <blockquote>
- <p>This is a blockquote.</p>
-
- <p>This is the second paragraph in the blockquote.</p>
-
- <h2>This is an H2 in a blockquote</h2>
- </blockquote>
-
-
-
-### Phrase Emphasis ###
-
-Markdown uses asterisks and underscores to indicate spans of emphasis.
-
-Markdown:
-
- Some of these words *are emphasized*.
- Some of these words _are emphasized also_.
-
- Use two asterisks for **strong emphasis**.
- Or, if you prefer, __use two underscores instead__.
-
-Output:
-
- <p>Some of these words <em>are emphasized</em>.
- Some of these words <em>are emphasized also</em>.</p>
-
- <p>Use two asterisks for <strong>strong emphasis</strong>.
- Or, if you prefer, <strong>use two underscores instead</strong>.</p>
-
-
-
-## Lists ##
-
-Unordered (bulleted) lists use asterisks, pluses, and hyphens (`*`,
-`+`, and `-`) as list markers. These three markers are
-interchangable; this:
-
- * Candy.
- * Gum.
- * Booze.
-
-this:
-
- + Candy.
- + Gum.
- + Booze.
-
-and this:
-
- - Candy.
- - Gum.
- - Booze.
-
-all produce the same output:
-
- <ul>
- <li>Candy.</li>
- <li>Gum.</li>
- <li>Booze.</li>
- </ul>
-
-Ordered (numbered) lists use regular numbers, followed by periods, as
-list markers:
-
- 1. Red
- 2. Green
- 3. Blue
-
-Output:
-
- <ol>
- <li>Red</li>
- <li>Green</li>
- <li>Blue</li>
- </ol>
-
-If you put blank lines between items, you'll get `<p>` tags for the
-list item text. You can create multi-paragraph list items by indenting
-the paragraphs by 4 spaces or 1 tab:
-
- * A list item.
-
- With multiple paragraphs.
-
- * Another item in the list.
-
-Output:
-
- <ul>
- <li><p>A list item.</p>
- <p>With multiple paragraphs.</p></li>
- <li><p>Another item in the list.</p></li>
- </ul>
-
-
-
-### Links ###
-
-Markdown supports two styles for creating links: *inline* and
-*reference*. With both styles, you use square brackets to delimit the
-text you want to turn into a link.
-
-Inline-style links use parentheses immediately after the link text.
-For example:
-
- This is an [example link](http://example.com/).
-
-Output:
-
- <p>This is an <a href="http://example.com/">
- example link</a>.</p>
-
-Optionally, you may include a title attribute in the parentheses:
-
- This is an [example link](http://example.com/ "With a Title").
-
-Output:
-
- <p>This is an <a href="http://example.com/" title="With a Title">
- example link</a>.</p>
-
-Reference-style links allow you to refer to your links by names, which
-you define elsewhere in your document:
-
- I get 10 times more traffic from [Google][1] than from
- [Yahoo][2] or [MSN][3].
-
- [1]: http://google.com/ "Google"
- [2]: http://search.yahoo.com/ "Yahoo Search"
- [3]: http://search.msn.com/ "MSN Search"
-
-Output:
-
- <p>I get 10 times more traffic from <a href="http://google.com/"
- title="Google">Google</a> than from <a href="http://search.yahoo.com/"
- title="Yahoo Search">Yahoo</a> or <a href="http://search.msn.com/"
- title="MSN Search">MSN</a>.</p>
-
-The title attribute is optional. Link names may contain letters,
-numbers and spaces, but are *not* case sensitive:
-
- I start my morning with a cup of coffee and
- [The New York Times][NY Times].
-
- [ny times]: http://www.nytimes.com/
-
-Output:
-
- <p>I start my morning with a cup of coffee and
- <a href="http://www.nytimes.com/">The New York Times</a>.</p>
-
-
-### Images ###
-
-Image syntax is very much like link syntax.
-
-Inline (titles are optional):
-
- ![alt text](/path/to/img.jpg "Title")
-
-Reference-style:
-
- ![alt text][id]
-
- [id]: /path/to/img.jpg "Title"
-
-Both of the above examples produce the same output:
-
- <img src="/path/to/img.jpg" alt="alt text" title="Title" />
-
-
-
-### Code ###
-
-In a regular paragraph, you can create code span by wrapping text in
-backtick quotes. Any ampersands (`&`) and angle brackets (`<` or
-`>`) will automatically be translated into HTML entities. This makes
-it easy to use Markdown to write about HTML example code:
-
- I strongly recommend against using any `<blink>` tags.
-
- I wish SmartyPants used named entities like `&mdash;`
- instead of decimal-encoded entites like `&#8212;`.
-
-Output:
-
- <p>I strongly recommend against using any
- <code>&lt;blink&gt;</code> tags.</p>
-
- <p>I wish SmartyPants used named entities like
- <code>&amp;mdash;</code> instead of decimal-encoded
- entites like <code>&amp;#8212;</code>.</p>
-
-
-To specify an entire block of pre-formatted code, indent every line of
-the block by 4 spaces or 1 tab. Just like with code spans, `&`, `<`,
-and `>` characters will be escaped automatically.
-
-Markdown:
-
- If you want your page to validate under XHTML 1.0 Strict,
- you've got to put paragraph tags in your blockquotes:
-
- <blockquote>
- <p>For example.</p>
- </blockquote>
-
-Output:
-
- <p>If you want your page to validate under XHTML 1.0 Strict,
- you've got to put paragraph tags in your blockquotes:</p>
-
- <pre><code>&lt;blockquote&gt;
- &lt;p&gt;For example.&lt;/p&gt;
- &lt;/blockquote&gt;
- </code></pre>
diff --git a/packages/markdown/marked/test/original/markdown_documentation_syntax.html b/packages/markdown/marked/test/original/markdown_documentation_syntax.html
deleted file mode 100644
index 5c01306c..00000000
--- a/packages/markdown/marked/test/original/markdown_documentation_syntax.html
+++ /dev/null
@@ -1,942 +0,0 @@
-<h1>Markdown: Syntax</h1>
-
-<ul id="ProjectSubmenu">
- <li><a href="/projects/markdown/" title="Markdown Project Page">Main</a></li>
- <li><a href="/projects/markdown/basics" title="Markdown Basics">Basics</a></li>
- <li><a class="selected" title="Markdown Syntax Documentation">Syntax</a></li>
- <li><a href="/projects/markdown/license" title="Pricing and License Information">License</a></li>
- <li><a href="/projects/markdown/dingus" title="Online Markdown Web Form">Dingus</a></li>
-</ul>
-
-<ul>
-<li><a href="#overview">Overview</a>
-<ul>
-<li><a href="#philosophy">Philosophy</a></li>
-<li><a href="#html">Inline HTML</a></li>
-<li><a href="#autoescape">Automatic Escaping for Special Characters</a></li>
-</ul></li>
-<li><a href="#block">Block Elements</a>
-<ul>
-<li><a href="#p">Paragraphs and Line Breaks</a></li>
-<li><a href="#header">Headers</a></li>
-<li><a href="#blockquote">Blockquotes</a></li>
-<li><a href="#list">Lists</a></li>
-<li><a href="#precode">Code Blocks</a></li>
-<li><a href="#hr">Horizontal Rules</a></li>
-</ul></li>
-<li><a href="#span">Span Elements</a>
-<ul>
-<li><a href="#link">Links</a></li>
-<li><a href="#em">Emphasis</a></li>
-<li><a href="#code">Code</a></li>
-<li><a href="#img">Images</a></li>
-</ul></li>
-<li><a href="#misc">Miscellaneous</a>
-<ul>
-<li><a href="#backslash">Backslash Escapes</a></li>
-<li><a href="#autolink">Automatic Links</a></li>
-</ul></li>
-</ul>
-
-<p><strong>Note:</strong> This document is itself written using Markdown; you
-can <a href="/projects/markdown/syntax.text">see the source for it by adding '.text' to the URL</a>.</p>
-
-<hr />
-
-<h2 id="overview">Overview</h2>
-
-<h3 id="philosophy">Philosophy</h3>
-
-<p>Markdown is intended to be as easy-to-read and easy-to-write as is feasible.</p>
-
-<p>Readability, however, is emphasized above all else. A Markdown-formatted
-document should be publishable as-is, as plain text, without looking
-like it's been marked up with tags or formatting instructions. While
-Markdown's syntax has been influenced by several existing text-to-HTML
-filters -- including <a href="http://docutils.sourceforge.net/mirror/setext.html">Setext</a>, <a href="http://www.aaronsw.com/2002/atx/">atx</a>, <a href="http://textism.com/tools/textile/">Textile</a>, <a href="http://docutils.sourceforge.net/rst.html">reStructuredText</a>,
-<a href="http://www.triptico.com/software/grutatxt.html">Grutatext</a>, and <a href="http://ettext.taint.org/doc/">EtText</a> -- the single biggest source of
-inspiration for Markdown's syntax is the format of plain text email.</p>
-
-<p>To this end, Markdown's syntax is comprised entirely of punctuation
-characters, which punctuation characters have been carefully chosen so
-as to look like what they mean. E.g., asterisks around a word actually
-look like *emphasis*. Markdown lists look like, well, lists. Even
-blockquotes look like quoted passages of text, assuming you've ever
-used email.</p>
-
-<h3 id="html">Inline HTML</h3>
-
-<p>Markdown's syntax is intended for one purpose: to be used as a
-format for <em>writing</em> for the web.</p>
-
-<p>Markdown is not a replacement for HTML, or even close to it. Its
-syntax is very small, corresponding only to a very small subset of
-HTML tags. The idea is <em>not</em> to create a syntax that makes it easier
-to insert HTML tags. In my opinion, HTML tags are already easy to
-insert. The idea for Markdown is to make it easy to read, write, and
-edit prose. HTML is a <em>publishing</em> format; Markdown is a <em>writing</em>
-format. Thus, Markdown's formatting syntax only addresses issues that
-can be conveyed in plain text.</p>
-
-<p>For any markup that is not covered by Markdown's syntax, you simply
-use HTML itself. There's no need to preface it or delimit it to
-indicate that you're switching from Markdown to HTML; you just use
-the tags.</p>
-
-<p>The only restrictions are that block-level HTML elements -- e.g. <code>&lt;div&gt;</code>,
-<code>&lt;table&gt;</code>, <code>&lt;pre&gt;</code>, <code>&lt;p&gt;</code>, etc. -- must be separated from surrounding
-content by blank lines, and the start and end tags of the block should
-not be indented with tabs or spaces. Markdown is smart enough not
-to add extra (unwanted) <code>&lt;p&gt;</code> tags around HTML block-level tags.</p>
-
-<p>For example, to add an HTML table to a Markdown article:</p>
-
-<pre><code>This is a regular paragraph.
-
-&lt;table&gt;
- &lt;tr&gt;
- &lt;td&gt;Foo&lt;/td&gt;
- &lt;/tr&gt;
-&lt;/table&gt;
-
-This is another regular paragraph.
-</code></pre>
-
-<p>Note that Markdown formatting syntax is not processed within block-level
-HTML tags. E.g., you can't use Markdown-style <code>*emphasis*</code> inside an
-HTML block.</p>
-
-<p>Span-level HTML tags -- e.g. <code>&lt;span&gt;</code>, <code>&lt;cite&gt;</code>, or <code>&lt;del&gt;</code> -- can be
-used anywhere in a Markdown paragraph, list item, or header. If you
-want, you can even use HTML tags instead of Markdown formatting; e.g. if
-you'd prefer to use HTML <code>&lt;a&gt;</code> or <code>&lt;img&gt;</code> tags instead of Markdown's
-link or image syntax, go right ahead.</p>
-
-<p>Unlike block-level HTML tags, Markdown syntax <em>is</em> processed within
-span-level tags.</p>
-
-<h3 id="autoescape">Automatic Escaping for Special Characters</h3>
-
-<p>In HTML, there are two characters that demand special treatment: <code>&lt;</code>
-and <code>&amp;</code>. Left angle brackets are used to start tags; ampersands are
-used to denote HTML entities. If you want to use them as literal
-characters, you must escape them as entities, e.g. <code>&amp;lt;</code>, and
-<code>&amp;amp;</code>.</p>
-
-<p>Ampersands in particular are bedeviling for web writers. If you want to
-write about 'AT&amp;T', you need to write '<code>AT&amp;amp;T</code>'. You even need to
-escape ampersands within URLs. Thus, if you want to link to:</p>
-
-<pre><code>http://images.google.com/images?num=30&amp;q=larry+bird
-</code></pre>
-
-<p>you need to encode the URL as:</p>
-
-<pre><code>http://images.google.com/images?num=30&amp;amp;q=larry+bird
-</code></pre>
-
-<p>in your anchor tag <code>href</code> attribute. Needless to say, this is easy to
-forget, and is probably the single most common source of HTML validation
-errors in otherwise well-marked-up web sites.</p>
-
-<p>Markdown allows you to use these characters naturally, taking care of
-all the necessary escaping for you. If you use an ampersand as part of
-an HTML entity, it remains unchanged; otherwise it will be translated
-into <code>&amp;amp;</code>.</p>
-
-<p>So, if you want to include a copyright symbol in your article, you can write:</p>
-
-<pre><code>&amp;copy;
-</code></pre>
-
-<p>and Markdown will leave it alone. But if you write:</p>
-
-<pre><code>AT&amp;T
-</code></pre>
-
-<p>Markdown will translate it to:</p>
-
-<pre><code>AT&amp;amp;T
-</code></pre>
-
-<p>Similarly, because Markdown supports <a href="#html">inline HTML</a>, if you use
-angle brackets as delimiters for HTML tags, Markdown will treat them as
-such. But if you write:</p>
-
-<pre><code>4 &lt; 5
-</code></pre>
-
-<p>Markdown will translate it to:</p>
-
-<pre><code>4 &amp;lt; 5
-</code></pre>
-
-<p>However, inside Markdown code spans and blocks, angle brackets and
-ampersands are <em>always</em> encoded automatically. This makes it easy to use
-Markdown to write about HTML code. (As opposed to raw HTML, which is a
-terrible format for writing about HTML syntax, because every single <code>&lt;</code>
-and <code>&amp;</code> in your example code needs to be escaped.)</p>
-
-<hr />
-
-<h2 id="block">Block Elements</h2>
-
-<h3 id="p">Paragraphs and Line Breaks</h3>
-
-<p>A paragraph is simply one or more consecutive lines of text, separated
-by one or more blank lines. (A blank line is any line that looks like a
-blank line -- a line containing nothing but spaces or tabs is considered
-blank.) Normal paragraphs should not be intended with spaces or tabs.</p>
-
-<p>The implication of the "one or more consecutive lines of text" rule is
-that Markdown supports "hard-wrapped" text paragraphs. This differs
-significantly from most other text-to-HTML formatters (including Movable
-Type's "Convert Line Breaks" option) which translate every line break
-character in a paragraph into a <code>&lt;br /&gt;</code> tag.</p>
-
-<p>When you <em>do</em> want to insert a <code>&lt;br /&gt;</code> break tag using Markdown, you
-end a line with two or more spaces, then type return.</p>
-
-<p>Yes, this takes a tad more effort to create a <code>&lt;br /&gt;</code>, but a simplistic
-"every line break is a <code>&lt;br /&gt;</code>" rule wouldn't work for Markdown.
-Markdown's email-style <a href="#blockquote">blockquoting</a> and multi-paragraph <a href="#list">list items</a>
-work best -- and look better -- when you format them with hard breaks.</p>
-
-<h3 id="header">Headers</h3>
-
-<p>Markdown supports two styles of headers, <a href="http://docutils.sourceforge.net/mirror/setext.html">Setext</a> and <a href="http://www.aaronsw.com/2002/atx/">atx</a>.</p>
-
-<p>Setext-style headers are "underlined" using equal signs (for first-level
-headers) and dashes (for second-level headers). For example:</p>
-
-<pre><code>This is an H1
-=============
-
-This is an H2
--------------
-</code></pre>
-
-<p>Any number of underlining <code>=</code>'s or <code>-</code>'s will work.</p>
-
-<p>Atx-style headers use 1-6 hash characters at the start of the line,
-corresponding to header levels 1-6. For example:</p>
-
-<pre><code># This is an H1
-
-## This is an H2
-
-###### This is an H6
-</code></pre>
-
-<p>Optionally, you may "close" atx-style headers. This is purely
-cosmetic -- you can use this if you think it looks better. The
-closing hashes don't even need to match the number of hashes
-used to open the header. (The number of opening hashes
-determines the header level.) :</p>
-
-<pre><code># This is an H1 #
-
-## This is an H2 ##
-
-### This is an H3 ######
-</code></pre>
-
-<h3 id="blockquote">Blockquotes</h3>
-
-<p>Markdown uses email-style <code>&gt;</code> characters for blockquoting. If you're
-familiar with quoting passages of text in an email message, then you
-know how to create a blockquote in Markdown. It looks best if you hard
-wrap the text and put a <code>&gt;</code> before every line:</p>
-
-<pre><code>&gt; This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
-&gt; consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
-&gt; Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
-&gt;
-&gt; Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
-&gt; id sem consectetuer libero luctus adipiscing.
-</code></pre>
-
-<p>Markdown allows you to be lazy and only put the <code>&gt;</code> before the first
-line of a hard-wrapped paragraph:</p>
-
-<pre><code>&gt; This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
-consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
-Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
-
-&gt; Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
-id sem consectetuer libero luctus adipiscing.
-</code></pre>
-
-<p>Blockquotes can be nested (i.e. a blockquote-in-a-blockquote) by
-adding additional levels of <code>&gt;</code>:</p>
-
-<pre><code>&gt; This is the first level of quoting.
-&gt;
-&gt; &gt; This is nested blockquote.
-&gt;
-&gt; Back to the first level.
-</code></pre>
-
-<p>Blockquotes can contain other Markdown elements, including headers, lists,
-and code blocks:</p>
-
-<pre><code>&gt; ## This is a header.
-&gt;
-&gt; 1. This is the first list item.
-&gt; 2. This is the second list item.
-&gt;
-&gt; Here's some example code:
-&gt;
-&gt; return shell_exec("echo $input | $markdown_script");
-</code></pre>
-
-<p>Any decent text editor should make email-style quoting easy. For
-example, with BBEdit, you can make a selection and choose Increase
-Quote Level from the Text menu.</p>
-
-<h3 id="list">Lists</h3>
-
-<p>Markdown supports ordered (numbered) and unordered (bulleted) lists.</p>
-
-<p>Unordered lists use asterisks, pluses, and hyphens -- interchangably
--- as list markers:</p>
-
-<pre><code>* Red
-* Green
-* Blue
-</code></pre>
-
-<p>is equivalent to:</p>
-
-<pre><code>+ Red
-+ Green
-+ Blue
-</code></pre>
-
-<p>and:</p>
-
-<pre><code>- Red
-- Green
-- Blue
-</code></pre>
-
-<p>Ordered lists use numbers followed by periods:</p>
-
-<pre><code>1. Bird
-2. McHale
-3. Parish
-</code></pre>
-
-<p>It's important to note that the actual numbers you use to mark the
-list have no effect on the HTML output Markdown produces. The HTML
-Markdown produces from the above list is:</p>
-
-<pre><code>&lt;ol&gt;
-&lt;li&gt;Bird&lt;/li&gt;
-&lt;li&gt;McHale&lt;/li&gt;
-&lt;li&gt;Parish&lt;/li&gt;
-&lt;/ol&gt;
-</code></pre>
-
-<p>If you instead wrote the list in Markdown like this:</p>
-
-<pre><code>1. Bird
-1. McHale
-1. Parish
-</code></pre>
-
-<p>or even:</p>
-
-<pre><code>3. Bird
-1. McHale
-8. Parish
-</code></pre>
-
-<p>you'd get the exact same HTML output. The point is, if you want to,
-you can use ordinal numbers in your ordered Markdown lists, so that
-the numbers in your source match the numbers in your published HTML.
-But if you want to be lazy, you don't have to.</p>
-
-<p>If you do use lazy list numbering, however, you should still start the
-list with the number 1. At some point in the future, Markdown may support
-starting ordered lists at an arbitrary number.</p>
-
-<p>List markers typically start at the left margin, but may be indented by
-up to three spaces. List markers must be followed by one or more spaces
-or a tab.</p>
-
-<p>To make lists look nice, you can wrap items with hanging indents:</p>
-
-<pre><code>* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
- Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
- viverra nec, fringilla in, laoreet vitae, risus.
-* Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
- Suspendisse id sem consectetuer libero luctus adipiscing.
-</code></pre>
-
-<p>But if you want to be lazy, you don't have to:</p>
-
-<pre><code>* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
-Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
-viverra nec, fringilla in, laoreet vitae, risus.
-* Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
-Suspendisse id sem consectetuer libero luctus adipiscing.
-</code></pre>
-
-<p>If list items are separated by blank lines, Markdown will wrap the
-items in <code>&lt;p&gt;</code> tags in the HTML output. For example, this input:</p>
-
-<pre><code>* Bird
-* Magic
-</code></pre>
-
-<p>will turn into:</p>
-
-<pre><code>&lt;ul&gt;
-&lt;li&gt;Bird&lt;/li&gt;
-&lt;li&gt;Magic&lt;/li&gt;
-&lt;/ul&gt;
-</code></pre>
-
-<p>But this:</p>
-
-<pre><code>* Bird
-
-* Magic
-</code></pre>
-
-<p>will turn into:</p>
-
-<pre><code>&lt;ul&gt;
-&lt;li&gt;&lt;p&gt;Bird&lt;/p&gt;&lt;/li&gt;
-&lt;li&gt;&lt;p&gt;Magic&lt;/p&gt;&lt;/li&gt;
-&lt;/ul&gt;
-</code></pre>
-
-<p>List items may consist of multiple paragraphs. Each subsequent
-paragraph in a list item must be intended by either 4 spaces
-or one tab:</p>
-
-<pre><code>1. This is a list item with two paragraphs. Lorem ipsum dolor
- sit amet, consectetuer adipiscing elit. Aliquam hendrerit
- mi posuere lectus.
-
- Vestibulum enim wisi, viverra nec, fringilla in, laoreet
- vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
- sit amet velit.
-
-2. Suspendisse id sem consectetuer libero luctus adipiscing.
-</code></pre>
-
-<p>It looks nice if you indent every line of the subsequent
-paragraphs, but here again, Markdown will allow you to be
-lazy:</p>
-
-<pre><code>* This is a list item with two paragraphs.
-
- This is the second paragraph in the list item. You're
-only required to indent the first line. Lorem ipsum dolor
-sit amet, consectetuer adipiscing elit.
-
-* Another item in the same list.
-</code></pre>
-
-<p>To put a blockquote within a list item, the blockquote's <code>&gt;</code>
-delimiters need to be indented:</p>
-
-<pre><code>* A list item with a blockquote:
-
- &gt; This is a blockquote
- &gt; inside a list item.
-</code></pre>
-
-<p>To put a code block within a list item, the code block needs
-to be indented <em>twice</em> -- 8 spaces or two tabs:</p>
-
-<pre><code>* A list item with a code block:
-
- &lt;code goes here&gt;
-</code></pre>
-
-<p>It's worth noting that it's possible to trigger an ordered list by
-accident, by writing something like this:</p>
-
-<pre><code>1986. What a great season.
-</code></pre>
-
-<p>In other words, a <em>number-period-space</em> sequence at the beginning of a
-line. To avoid this, you can backslash-escape the period:</p>
-
-<pre><code>1986\. What a great season.
-</code></pre>
-
-<h3 id="precode">Code Blocks</h3>
-
-<p>Pre-formatted code blocks are used for writing about programming or
-markup source code. Rather than forming normal paragraphs, the lines
-of a code block are interpreted literally. Markdown wraps a code block
-in both <code>&lt;pre&gt;</code> and <code>&lt;code&gt;</code> tags.</p>
-
-<p>To produce a code block in Markdown, simply indent every line of the
-block by at least 4 spaces or 1 tab. For example, given this input:</p>
-
-<pre><code>This is a normal paragraph:
-
- This is a code block.
-</code></pre>
-
-<p>Markdown will generate:</p>
-
-<pre><code>&lt;p&gt;This is a normal paragraph:&lt;/p&gt;
-
-&lt;pre&gt;&lt;code&gt;This is a code block.
-&lt;/code&gt;&lt;/pre&gt;
-</code></pre>
-
-<p>One level of indentation -- 4 spaces or 1 tab -- is removed from each
-line of the code block. For example, this:</p>
-
-<pre><code>Here is an example of AppleScript:
-
- tell application "Foo"
- beep
- end tell
-</code></pre>
-
-<p>will turn into:</p>
-
-<pre><code>&lt;p&gt;Here is an example of AppleScript:&lt;/p&gt;
-
-&lt;pre&gt;&lt;code&gt;tell application "Foo"
- beep
-end tell
-&lt;/code&gt;&lt;/pre&gt;
-</code></pre>
-
-<p>A code block continues until it reaches a line that is not indented
-(or the end of the article).</p>
-
-<p>Within a code block, ampersands (<code>&amp;</code>) and angle brackets (<code>&lt;</code> and <code>&gt;</code>)
-are automatically converted into HTML entities. This makes it very
-easy to include example HTML source code using Markdown -- just paste
-it and indent it, and Markdown will handle the hassle of encoding the
-ampersands and angle brackets. For example, this:</p>
-
-<pre><code> &lt;div class="footer"&gt;
- &amp;copy; 2004 Foo Corporation
- &lt;/div&gt;
-</code></pre>
-
-<p>will turn into:</p>
-
-<pre><code>&lt;pre&gt;&lt;code&gt;&amp;lt;div class="footer"&amp;gt;
- &amp;amp;copy; 2004 Foo Corporation
-&amp;lt;/div&amp;gt;
-&lt;/code&gt;&lt;/pre&gt;
-</code></pre>
-
-<p>Regular Markdown syntax is not processed within code blocks. E.g.,
-asterisks are just literal asterisks within a code block. This means
-it's also easy to use Markdown to write about Markdown's own syntax.</p>
-
-<h3 id="hr">Horizontal Rules</h3>
-
-<p>You can produce a horizontal rule tag (<code>&lt;hr /&gt;</code>) by placing three or
-more hyphens, asterisks, or underscores on a line by themselves. If you
-wish, you may use spaces between the hyphens or asterisks. Each of the
-following lines will produce a horizontal rule:</p>
-
-<pre><code>* * *
-
-***
-
-*****
-
-- - -
-
----------------------------------------
-
-_ _ _
-</code></pre>
-
-<hr />
-
-<h2 id="span">Span Elements</h2>
-
-<h3 id="link">Links</h3>
-
-<p>Markdown supports two style of links: <em>inline</em> and <em>reference</em>.</p>
-
-<p>In both styles, the link text is delimited by [square brackets].</p>
-
-<p>To create an inline link, use a set of regular parentheses immediately
-after the link text's closing square bracket. Inside the parentheses,
-put the URL where you want the link to point, along with an <em>optional</em>
-title for the link, surrounded in quotes. For example:</p>
-
-<pre><code>This is [an example](http://example.com/ "Title") inline link.
-
-[This link](http://example.net/) has no title attribute.
-</code></pre>
-
-<p>Will produce:</p>
-
-<pre><code>&lt;p&gt;This is &lt;a href="http://example.com/" title="Title"&gt;
-an example&lt;/a&gt; inline link.&lt;/p&gt;
-
-&lt;p&gt;&lt;a href="http://example.net/"&gt;This link&lt;/a&gt; has no
-title attribute.&lt;/p&gt;
-</code></pre>
-
-<p>If you're referring to a local resource on the same server, you can
-use relative paths:</p>
-
-<pre><code>See my [About](/about/) page for details.
-</code></pre>
-
-<p>Reference-style links use a second set of square brackets, inside
-which you place a label of your choosing to identify the link:</p>
-
-<pre><code>This is [an example][id] reference-style link.
-</code></pre>
-
-<p>You can optionally use a space to separate the sets of brackets:</p>
-
-<pre><code>This is [an example] [id] reference-style link.
-</code></pre>
-
-<p>Then, anywhere in the document, you define your link label like this,
-on a line by itself:</p>
-
-<pre><code>[id]: http://example.com/ "Optional Title Here"
-</code></pre>
-
-<p>That is:</p>
-
-<ul>
-<li>Square brackets containing the link identifier (optionally
-indented from the left margin using up to three spaces);</li>
-<li>followed by a colon;</li>
-<li>followed by one or more spaces (or tabs);</li>
-<li>followed by the URL for the link;</li>
-<li>optionally followed by a title attribute for the link, enclosed
-in double or single quotes.</li>
-</ul>
-
-<p>The link URL may, optionally, be surrounded by angle brackets:</p>
-
-<pre><code>[id]: &lt;http://example.com/&gt; "Optional Title Here"
-</code></pre>
-
-<p>You can put the title attribute on the next line and use extra spaces
-or tabs for padding, which tends to look better with longer URLs:</p>
-
-<pre><code>[id]: http://example.com/longish/path/to/resource/here
- "Optional Title Here"
-</code></pre>
-
-<p>Link definitions are only used for creating links during Markdown
-processing, and are stripped from your document in the HTML output.</p>
-
-<p>Link definition names may constist of letters, numbers, spaces, and punctuation -- but they are <em>not</em> case sensitive. E.g. these two links:</p>
-
-<pre><code>[link text][a]
-[link text][A]
-</code></pre>
-
-<p>are equivalent.</p>
-
-<p>The <em>implicit link name</em> shortcut allows you to omit the name of the
-link, in which case the link text itself is used as the name.
-Just use an empty set of square brackets -- e.g., to link the word
-"Google" to the google.com web site, you could simply write:</p>
-
-<pre><code>[Google][]
-</code></pre>
-
-<p>And then define the link:</p>
-
-<pre><code>[Google]: http://google.com/
-</code></pre>
-
-<p>Because link names may contain spaces, this shortcut even works for
-multiple words in the link text:</p>
-
-<pre><code>Visit [Daring Fireball][] for more information.
-</code></pre>
-
-<p>And then define the link:</p>
-
-<pre><code>[Daring Fireball]: http://daringfireball.net/
-</code></pre>
-
-<p>Link definitions can be placed anywhere in your Markdown document. I
-tend to put them immediately after each paragraph in which they're
-used, but if you want, you can put them all at the end of your
-document, sort of like footnotes.</p>
-
-<p>Here's an example of reference links in action:</p>
-
-<pre><code>I get 10 times more traffic from [Google] [1] than from
-[Yahoo] [2] or [MSN] [3].
-
- [1]: http://google.com/ "Google"
- [2]: http://search.yahoo.com/ "Yahoo Search"
- [3]: http://search.msn.com/ "MSN Search"
-</code></pre>
-
-<p>Using the implicit link name shortcut, you could instead write:</p>
-
-<pre><code>I get 10 times more traffic from [Google][] than from
-[Yahoo][] or [MSN][].
-
- [google]: http://google.com/ "Google"
- [yahoo]: http://search.yahoo.com/ "Yahoo Search"
- [msn]: http://search.msn.com/ "MSN Search"
-</code></pre>
-
-<p>Both of the above examples will produce the following HTML output:</p>
-
-<pre><code>&lt;p&gt;I get 10 times more traffic from &lt;a href="http://google.com/"
-title="Google"&gt;Google&lt;/a&gt; than from
-&lt;a href="http://search.yahoo.com/" title="Yahoo Search"&gt;Yahoo&lt;/a&gt;
-or &lt;a href="http://search.msn.com/" title="MSN Search"&gt;MSN&lt;/a&gt;.&lt;/p&gt;
-</code></pre>
-
-<p>For comparison, here is the same paragraph written using
-Markdown's inline link style:</p>
-
-<pre><code>I get 10 times more traffic from [Google](http://google.com/ "Google")
-than from [Yahoo](http://search.yahoo.com/ "Yahoo Search") or
-[MSN](http://search.msn.com/ "MSN Search").
-</code></pre>
-
-<p>The point of reference-style links is not that they're easier to
-write. The point is that with reference-style links, your document
-source is vastly more readable. Compare the above examples: using
-reference-style links, the paragraph itself is only 81 characters
-long; with inline-style links, it's 176 characters; and as raw HTML,
-it's 234 characters. In the raw HTML, there's more markup than there
-is text.</p>
-
-<p>With Markdown's reference-style links, a source document much more
-closely resembles the final output, as rendered in a browser. By
-allowing you to move the markup-related metadata out of the paragraph,
-you can add links without interrupting the narrative flow of your
-prose.</p>
-
-<h3 id="em">Emphasis</h3>
-
-<p>Markdown treats asterisks (<code>*</code>) and underscores (<code>_</code>) as indicators of
-emphasis. Text wrapped with one <code>*</code> or <code>_</code> will be wrapped with an
-HTML <code>&lt;em&gt;</code> tag; double <code>*</code>'s or <code>_</code>'s will be wrapped with an HTML
-<code>&lt;strong&gt;</code> tag. E.g., this input:</p>
-
-<pre><code>*single asterisks*
-
-_single underscores_
-
-**double asterisks**
-
-__double underscores__
-</code></pre>
-
-<p>will produce:</p>
-
-<pre><code>&lt;em&gt;single asterisks&lt;/em&gt;
-
-&lt;em&gt;single underscores&lt;/em&gt;
-
-&lt;strong&gt;double asterisks&lt;/strong&gt;
-
-&lt;strong&gt;double underscores&lt;/strong&gt;
-</code></pre>
-
-<p>You can use whichever style you prefer; the lone restriction is that
-the same character must be used to open and close an emphasis span.</p>
-
-<p>Emphasis can be used in the middle of a word:</p>
-
-<pre><code>un*fucking*believable
-</code></pre>
-
-<p>But if you surround an <code>*</code> or <code>_</code> with spaces, it'll be treated as a
-literal asterisk or underscore.</p>
-
-<p>To produce a literal asterisk or underscore at a position where it
-would otherwise be used as an emphasis delimiter, you can backslash
-escape it:</p>
-
-<pre><code>\*this text is surrounded by literal asterisks\*
-</code></pre>
-
-<h3 id="code">Code</h3>
-
-<p>To indicate a span of code, wrap it with backtick quotes (<code>`</code>).
-Unlike a pre-formatted code block, a code span indicates code within a
-normal paragraph. For example:</p>
-
-<pre><code>Use the `printf()` function.
-</code></pre>
-
-<p>will produce:</p>
-
-<pre><code>&lt;p&gt;Use the &lt;code&gt;printf()&lt;/code&gt; function.&lt;/p&gt;
-</code></pre>
-
-<p>To include a literal backtick character within a code span, you can use
-multiple backticks as the opening and closing delimiters:</p>
-
-<pre><code>``There is a literal backtick (`) here.``
-</code></pre>
-
-<p>which will produce this:</p>
-
-<pre><code>&lt;p&gt;&lt;code&gt;There is a literal backtick (`) here.&lt;/code&gt;&lt;/p&gt;
-</code></pre>
-
-<p>The backtick delimiters surrounding a code span may include spaces --
-one after the opening, one before the closing. This allows you to place
-literal backtick characters at the beginning or end of a code span:</p>
-
-<pre><code>A single backtick in a code span: `` ` ``
-
-A backtick-delimited string in a code span: `` `foo` ``
-</code></pre>
-
-<p>will produce:</p>
-
-<pre><code>&lt;p&gt;A single backtick in a code span: &lt;code&gt;`&lt;/code&gt;&lt;/p&gt;
-
-&lt;p&gt;A backtick-delimited string in a code span: &lt;code&gt;`foo`&lt;/code&gt;&lt;/p&gt;
-</code></pre>
-
-<p>With a code span, ampersands and angle brackets are encoded as HTML
-entities automatically, which makes it easy to include example HTML
-tags. Markdown will turn this:</p>
-
-<pre><code>Please don't use any `&lt;blink&gt;` tags.
-</code></pre>
-
-<p>into:</p>
-
-<pre><code>&lt;p&gt;Please don't use any &lt;code&gt;&amp;lt;blink&amp;gt;&lt;/code&gt; tags.&lt;/p&gt;
-</code></pre>
-
-<p>You can write this:</p>
-
-<pre><code>`&amp;#8212;` is the decimal-encoded equivalent of `&amp;mdash;`.
-</code></pre>
-
-<p>to produce:</p>
-
-<pre><code>&lt;p&gt;&lt;code&gt;&amp;amp;#8212;&lt;/code&gt; is the decimal-encoded
-equivalent of &lt;code&gt;&amp;amp;mdash;&lt;/code&gt;.&lt;/p&gt;
-</code></pre>
-
-<h3 id="img">Images</h3>
-
-<p>Admittedly, it's fairly difficult to devise a "natural" syntax for
-placing images into a plain text document format.</p>
-
-<p>Markdown uses an image syntax that is intended to resemble the syntax
-for links, allowing for two styles: <em>inline</em> and <em>reference</em>.</p>
-
-<p>Inline image syntax looks like this:</p>
-
-<pre><code>![Alt text](/path/to/img.jpg)
-
-![Alt text](/path/to/img.jpg "Optional title")
-</code></pre>
-
-<p>That is:</p>
-
-<ul>
-<li>An exclamation mark: <code>!</code>;</li>
-<li>followed by a set of square brackets, containing the <code>alt</code>
-attribute text for the image;</li>
-<li>followed by a set of parentheses, containing the URL or path to
-the image, and an optional <code>title</code> attribute enclosed in double
-or single quotes.</li>
-</ul>
-
-<p>Reference-style image syntax looks like this:</p>
-
-<pre><code>![Alt text][id]
-</code></pre>
-
-<p>Where "id" is the name of a defined image reference. Image references
-are defined using syntax identical to link references:</p>
-
-<pre><code>[id]: url/to/image "Optional title attribute"
-</code></pre>
-
-<p>As of this writing, Markdown has no syntax for specifying the
-dimensions of an image; if this is important to you, you can simply
-use regular HTML <code>&lt;img&gt;</code> tags.</p>
-
-<hr />
-
-<h2 id="misc">Miscellaneous</h2>
-
-<h3 id="autolink">Automatic Links</h3>
-
-<p>Markdown supports a shortcut style for creating "automatic" links for URLs and email addresses: simply surround the URL or email address with angle brackets. What this means is that if you want to show the actual text of a URL or email address, and also have it be a clickable link, you can do this:</p>
-
-<pre><code>&lt;http://example.com/&gt;
-</code></pre>
-
-<p>Markdown will turn this into:</p>
-
-<pre><code>&lt;a href="http://example.com/"&gt;http://example.com/&lt;/a&gt;
-</code></pre>
-
-<p>Automatic links for email addresses work similarly, except that
-Markdown will also perform a bit of randomized decimal and hex
-entity-encoding to help obscure your address from address-harvesting
-spambots. For example, Markdown will turn this:</p>
-
-<pre><code>&lt;address@example.com&gt;
-</code></pre>
-
-<p>into something like this:</p>
-
-<pre><code>&lt;a href="&amp;#x6D;&amp;#x61;i&amp;#x6C;&amp;#x74;&amp;#x6F;:&amp;#x61;&amp;#x64;&amp;#x64;&amp;#x72;&amp;#x65;
-&amp;#115;&amp;#115;&amp;#64;&amp;#101;&amp;#120;&amp;#x61;&amp;#109;&amp;#x70;&amp;#x6C;e&amp;#x2E;&amp;#99;&amp;#111;
-&amp;#109;"&gt;&amp;#x61;&amp;#x64;&amp;#x64;&amp;#x72;&amp;#x65;&amp;#115;&amp;#115;&amp;#64;&amp;#101;&amp;#120;&amp;#x61;
-&amp;#109;&amp;#x70;&amp;#x6C;e&amp;#x2E;&amp;#99;&amp;#111;&amp;#109;&lt;/a&gt;
-</code></pre>
-
-<p>which will render in a browser as a clickable link to "address@example.com".</p>
-
-<p>(This sort of entity-encoding trick will indeed fool many, if not
-most, address-harvesting bots, but it definitely won't fool all of
-them. It's better than nothing, but an address published in this way
-will probably eventually start receiving spam.)</p>
-
-<h3 id="backslash">Backslash Escapes</h3>
-
-<p>Markdown allows you to use backslash escapes to generate literal
-characters which would otherwise have special meaning in Markdown's
-formatting syntax. For example, if you wanted to surround a word with
-literal asterisks (instead of an HTML <code>&lt;em&gt;</code> tag), you can backslashes
-before the asterisks, like this:</p>
-
-<pre><code>\*literal asterisks\*
-</code></pre>
-
-<p>Markdown provides backslash escapes for the following characters:</p>
-
-<pre><code>\ backslash
-` backtick
-* asterisk
-_ underscore
-{} curly braces
-[] square brackets
-() parentheses
-# hash mark
-+ plus sign
-- minus sign (hyphen)
-. dot
-! exclamation mark
-</code></pre>
diff --git a/packages/markdown/marked/test/original/markdown_documentation_syntax.md b/packages/markdown/marked/test/original/markdown_documentation_syntax.md
deleted file mode 100644
index e3bd4a7f..00000000
--- a/packages/markdown/marked/test/original/markdown_documentation_syntax.md
+++ /dev/null
@@ -1,892 +0,0 @@
----
-pedantic: true
-headerIds: false
----
-
-Markdown: Syntax
-================
-
-<ul id="ProjectSubmenu">
- <li><a href="/projects/markdown/" title="Markdown Project Page">Main</a></li>
- <li><a href="/projects/markdown/basics" title="Markdown Basics">Basics</a></li>
- <li><a class="selected" title="Markdown Syntax Documentation">Syntax</a></li>
- <li><a href="/projects/markdown/license" title="Pricing and License Information">License</a></li>
- <li><a href="/projects/markdown/dingus" title="Online Markdown Web Form">Dingus</a></li>
-</ul>
-
-
-* [Overview](#overview)
- * [Philosophy](#philosophy)
- * [Inline HTML](#html)
- * [Automatic Escaping for Special Characters](#autoescape)
-* [Block Elements](#block)
- * [Paragraphs and Line Breaks](#p)
- * [Headers](#header)
- * [Blockquotes](#blockquote)
- * [Lists](#list)
- * [Code Blocks](#precode)
- * [Horizontal Rules](#hr)
-* [Span Elements](#span)
- * [Links](#link)
- * [Emphasis](#em)
- * [Code](#code)
- * [Images](#img)
-* [Miscellaneous](#misc)
- * [Backslash Escapes](#backslash)
- * [Automatic Links](#autolink)
-
-
-**Note:** This document is itself written using Markdown; you
-can [see the source for it by adding '.text' to the URL][src].
-
- [src]: /projects/markdown/syntax.text
-
-* * *
-
-<h2 id="overview">Overview</h2>
-
-<h3 id="philosophy">Philosophy</h3>
-
-Markdown is intended to be as easy-to-read and easy-to-write as is feasible.
-
-Readability, however, is emphasized above all else. A Markdown-formatted
-document should be publishable as-is, as plain text, without looking
-like it's been marked up with tags or formatting instructions. While
-Markdown's syntax has been influenced by several existing text-to-HTML
-filters -- including [Setext] [1], [atx] [2], [Textile] [3], [reStructuredText] [4],
-[Grutatext] [5], and [EtText] [6] -- the single biggest source of
-inspiration for Markdown's syntax is the format of plain text email.
-
- [1]: http://docutils.sourceforge.net/mirror/setext.html
- [2]: http://www.aaronsw.com/2002/atx/
- [3]: http://textism.com/tools/textile/
- [4]: http://docutils.sourceforge.net/rst.html
- [5]: http://www.triptico.com/software/grutatxt.html
- [6]: http://ettext.taint.org/doc/
-
-To this end, Markdown's syntax is comprised entirely of punctuation
-characters, which punctuation characters have been carefully chosen so
-as to look like what they mean. E.g., asterisks around a word actually
-look like \*emphasis\*. Markdown lists look like, well, lists. Even
-blockquotes look like quoted passages of text, assuming you've ever
-used email.
-
-
-
-<h3 id="html">Inline HTML</h3>
-
-Markdown's syntax is intended for one purpose: to be used as a
-format for *writing* for the web.
-
-Markdown is not a replacement for HTML, or even close to it. Its
-syntax is very small, corresponding only to a very small subset of
-HTML tags. The idea is *not* to create a syntax that makes it easier
-to insert HTML tags. In my opinion, HTML tags are already easy to
-insert. The idea for Markdown is to make it easy to read, write, and
-edit prose. HTML is a *publishing* format; Markdown is a *writing*
-format. Thus, Markdown's formatting syntax only addresses issues that
-can be conveyed in plain text.
-
-For any markup that is not covered by Markdown's syntax, you simply
-use HTML itself. There's no need to preface it or delimit it to
-indicate that you're switching from Markdown to HTML; you just use
-the tags.
-
-The only restrictions are that block-level HTML elements -- e.g. `<div>`,
-`<table>`, `<pre>`, `<p>`, etc. -- must be separated from surrounding
-content by blank lines, and the start and end tags of the block should
-not be indented with tabs or spaces. Markdown is smart enough not
-to add extra (unwanted) `<p>` tags around HTML block-level tags.
-
-For example, to add an HTML table to a Markdown article:
-
- This is a regular paragraph.
-
- <table>
- <tr>
- <td>Foo</td>
- </tr>
- </table>
-
- This is another regular paragraph.
-
-Note that Markdown formatting syntax is not processed within block-level
-HTML tags. E.g., you can't use Markdown-style `*emphasis*` inside an
-HTML block.
-
-Span-level HTML tags -- e.g. `<span>`, `<cite>`, or `<del>` -- can be
-used anywhere in a Markdown paragraph, list item, or header. If you
-want, you can even use HTML tags instead of Markdown formatting; e.g. if
-you'd prefer to use HTML `<a>` or `<img>` tags instead of Markdown's
-link or image syntax, go right ahead.
-
-Unlike block-level HTML tags, Markdown syntax *is* processed within
-span-level tags.
-
-
-<h3 id="autoescape">Automatic Escaping for Special Characters</h3>
-
-In HTML, there are two characters that demand special treatment: `<`
-and `&`. Left angle brackets are used to start tags; ampersands are
-used to denote HTML entities. If you want to use them as literal
-characters, you must escape them as entities, e.g. `&lt;`, and
-`&amp;`.
-
-Ampersands in particular are bedeviling for web writers. If you want to
-write about 'AT&T', you need to write '`AT&amp;T`'. You even need to
-escape ampersands within URLs. Thus, if you want to link to:
-
- http://images.google.com/images?num=30&q=larry+bird
-
-you need to encode the URL as:
-
- http://images.google.com/images?num=30&amp;q=larry+bird
-
-in your anchor tag `href` attribute. Needless to say, this is easy to
-forget, and is probably the single most common source of HTML validation
-errors in otherwise well-marked-up web sites.
-
-Markdown allows you to use these characters naturally, taking care of
-all the necessary escaping for you. If you use an ampersand as part of
-an HTML entity, it remains unchanged; otherwise it will be translated
-into `&amp;`.
-
-So, if you want to include a copyright symbol in your article, you can write:
-
- &copy;
-
-and Markdown will leave it alone. But if you write:
-
- AT&T
-
-Markdown will translate it to:
-
- AT&amp;T
-
-Similarly, because Markdown supports [inline HTML](#html), if you use
-angle brackets as delimiters for HTML tags, Markdown will treat them as
-such. But if you write:
-
- 4 < 5
-
-Markdown will translate it to:
-
- 4 &lt; 5
-
-However, inside Markdown code spans and blocks, angle brackets and
-ampersands are *always* encoded automatically. This makes it easy to use
-Markdown to write about HTML code. (As opposed to raw HTML, which is a
-terrible format for writing about HTML syntax, because every single `<`
-and `&` in your example code needs to be escaped.)
-
-
-* * *
-
-
-<h2 id="block">Block Elements</h2>
-
-
-<h3 id="p">Paragraphs and Line Breaks</h3>
-
-A paragraph is simply one or more consecutive lines of text, separated
-by one or more blank lines. (A blank line is any line that looks like a
-blank line -- a line containing nothing but spaces or tabs is considered
-blank.) Normal paragraphs should not be intended with spaces or tabs.
-
-The implication of the "one or more consecutive lines of text" rule is
-that Markdown supports "hard-wrapped" text paragraphs. This differs
-significantly from most other text-to-HTML formatters (including Movable
-Type's "Convert Line Breaks" option) which translate every line break
-character in a paragraph into a `<br />` tag.
-
-When you *do* want to insert a `<br />` break tag using Markdown, you
-end a line with two or more spaces, then type return.
-
-Yes, this takes a tad more effort to create a `<br />`, but a simplistic
-"every line break is a `<br />`" rule wouldn't work for Markdown.
-Markdown's email-style [blockquoting][bq] and multi-paragraph [list items][l]
-work best -- and look better -- when you format them with hard breaks.
-
- [bq]: #blockquote
- [l]: #list
-
-
-
-<h3 id="header">Headers</h3>
-
-Markdown supports two styles of headers, [Setext] [1] and [atx] [2].
-
-Setext-style headers are "underlined" using equal signs (for first-level
-headers) and dashes (for second-level headers). For example:
-
- This is an H1
- =============
-
- This is an H2
- -------------
-
-Any number of underlining `=`'s or `-`'s will work.
-
-Atx-style headers use 1-6 hash characters at the start of the line,
-corresponding to header levels 1-6. For example:
-
- # This is an H1
-
- ## This is an H2
-
- ###### This is an H6
-
-Optionally, you may "close" atx-style headers. This is purely
-cosmetic -- you can use this if you think it looks better. The
-closing hashes don't even need to match the number of hashes
-used to open the header. (The number of opening hashes
-determines the header level.) :
-
- # This is an H1 #
-
- ## This is an H2 ##
-
- ### This is an H3 ######
-
-
-<h3 id="blockquote">Blockquotes</h3>
-
-Markdown uses email-style `>` characters for blockquoting. If you're
-familiar with quoting passages of text in an email message, then you
-know how to create a blockquote in Markdown. It looks best if you hard
-wrap the text and put a `>` before every line:
-
- > This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
- > consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
- > Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
- >
- > Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
- > id sem consectetuer libero luctus adipiscing.
-
-Markdown allows you to be lazy and only put the `>` before the first
-line of a hard-wrapped paragraph:
-
- > This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
- consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
- Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
-
- > Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
- id sem consectetuer libero luctus adipiscing.
-
-Blockquotes can be nested (i.e. a blockquote-in-a-blockquote) by
-adding additional levels of `>`:
-
- > This is the first level of quoting.
- >
- > > This is nested blockquote.
- >
- > Back to the first level.
-
-Blockquotes can contain other Markdown elements, including headers, lists,
-and code blocks:
-
- > ## This is a header.
- >
- > 1. This is the first list item.
- > 2. This is the second list item.
- >
- > Here's some example code:
- >
- > return shell_exec("echo $input | $markdown_script");
-
-Any decent text editor should make email-style quoting easy. For
-example, with BBEdit, you can make a selection and choose Increase
-Quote Level from the Text menu.
-
-
-<h3 id="list">Lists</h3>
-
-Markdown supports ordered (numbered) and unordered (bulleted) lists.
-
-Unordered lists use asterisks, pluses, and hyphens -- interchangably
--- as list markers:
-
- * Red
- * Green
- * Blue
-
-is equivalent to:
-
- + Red
- + Green
- + Blue
-
-and:
-
- - Red
- - Green
- - Blue
-
-Ordered lists use numbers followed by periods:
-
- 1. Bird
- 2. McHale
- 3. Parish
-
-It's important to note that the actual numbers you use to mark the
-list have no effect on the HTML output Markdown produces. The HTML
-Markdown produces from the above list is:
-
- <ol>
- <li>Bird</li>
- <li>McHale</li>
- <li>Parish</li>
- </ol>
-
-If you instead wrote the list in Markdown like this:
-
- 1. Bird
- 1. McHale
- 1. Parish
-
-or even:
-
- 3. Bird
- 1. McHale
- 8. Parish
-
-you'd get the exact same HTML output. The point is, if you want to,
-you can use ordinal numbers in your ordered Markdown lists, so that
-the numbers in your source match the numbers in your published HTML.
-But if you want to be lazy, you don't have to.
-
-If you do use lazy list numbering, however, you should still start the
-list with the number 1. At some point in the future, Markdown may support
-starting ordered lists at an arbitrary number.
-
-List markers typically start at the left margin, but may be indented by
-up to three spaces. List markers must be followed by one or more spaces
-or a tab.
-
-To make lists look nice, you can wrap items with hanging indents:
-
- * Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
- Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
- viverra nec, fringilla in, laoreet vitae, risus.
- * Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
- Suspendisse id sem consectetuer libero luctus adipiscing.
-
-But if you want to be lazy, you don't have to:
-
- * Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
- Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
- viverra nec, fringilla in, laoreet vitae, risus.
- * Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
- Suspendisse id sem consectetuer libero luctus adipiscing.
-
-If list items are separated by blank lines, Markdown will wrap the
-items in `<p>` tags in the HTML output. For example, this input:
-
- * Bird
- * Magic
-
-will turn into:
-
- <ul>
- <li>Bird</li>
- <li>Magic</li>
- </ul>
-
-But this:
-
- * Bird
-
- * Magic
-
-will turn into:
-
- <ul>
- <li><p>Bird</p></li>
- <li><p>Magic</p></li>
- </ul>
-
-List items may consist of multiple paragraphs. Each subsequent
-paragraph in a list item must be intended by either 4 spaces
-or one tab:
-
- 1. This is a list item with two paragraphs. Lorem ipsum dolor
- sit amet, consectetuer adipiscing elit. Aliquam hendrerit
- mi posuere lectus.
-
- Vestibulum enim wisi, viverra nec, fringilla in, laoreet
- vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
- sit amet velit.
-
- 2. Suspendisse id sem consectetuer libero luctus adipiscing.
-
-It looks nice if you indent every line of the subsequent
-paragraphs, but here again, Markdown will allow you to be
-lazy:
-
- * This is a list item with two paragraphs.
-
- This is the second paragraph in the list item. You're
- only required to indent the first line. Lorem ipsum dolor
- sit amet, consectetuer adipiscing elit.
-
- * Another item in the same list.
-
-To put a blockquote within a list item, the blockquote's `>`
-delimiters need to be indented:
-
- * A list item with a blockquote:
-
- > This is a blockquote
- > inside a list item.
-
-To put a code block within a list item, the code block needs
-to be indented *twice* -- 8 spaces or two tabs:
-
- * A list item with a code block:
-
- <code goes here>
-
-
-It's worth noting that it's possible to trigger an ordered list by
-accident, by writing something like this:
-
- 1986. What a great season.
-
-In other words, a *number-period-space* sequence at the beginning of a
-line. To avoid this, you can backslash-escape the period:
-
- 1986\. What a great season.
-
-
-
-<h3 id="precode">Code Blocks</h3>
-
-Pre-formatted code blocks are used for writing about programming or
-markup source code. Rather than forming normal paragraphs, the lines
-of a code block are interpreted literally. Markdown wraps a code block
-in both `<pre>` and `<code>` tags.
-
-To produce a code block in Markdown, simply indent every line of the
-block by at least 4 spaces or 1 tab. For example, given this input:
-
- This is a normal paragraph:
-
- This is a code block.
-
-Markdown will generate:
-
- <p>This is a normal paragraph:</p>
-
- <pre><code>This is a code block.
- </code></pre>
-
-One level of indentation -- 4 spaces or 1 tab -- is removed from each
-line of the code block. For example, this:
-
- Here is an example of AppleScript:
-
- tell application "Foo"
- beep
- end tell
-
-will turn into:
-
- <p>Here is an example of AppleScript:</p>
-
- <pre><code>tell application "Foo"
- beep
- end tell
- </code></pre>
-
-A code block continues until it reaches a line that is not indented
-(or the end of the article).
-
-Within a code block, ampersands (`&`) and angle brackets (`<` and `>`)
-are automatically converted into HTML entities. This makes it very
-easy to include example HTML source code using Markdown -- just paste
-it and indent it, and Markdown will handle the hassle of encoding the
-ampersands and angle brackets. For example, this:
-
- <div class="footer">
- &copy; 2004 Foo Corporation
- </div>
-
-will turn into:
-
- <pre><code>&lt;div class="footer"&gt;
- &amp;copy; 2004 Foo Corporation
- &lt;/div&gt;
- </code></pre>
-
-Regular Markdown syntax is not processed within code blocks. E.g.,
-asterisks are just literal asterisks within a code block. This means
-it's also easy to use Markdown to write about Markdown's own syntax.
-
-
-
-<h3 id="hr">Horizontal Rules</h3>
-
-You can produce a horizontal rule tag (`<hr />`) by placing three or
-more hyphens, asterisks, or underscores on a line by themselves. If you
-wish, you may use spaces between the hyphens or asterisks. Each of the
-following lines will produce a horizontal rule:
-
- * * *
-
- ***
-
- *****
-
- - - -
-
- ---------------------------------------
-
- _ _ _
-
-
-* * *
-
-<h2 id="span">Span Elements</h2>
-
-<h3 id="link">Links</h3>
-
-Markdown supports two style of links: *inline* and *reference*.
-
-In both styles, the link text is delimited by [square brackets].
-
-To create an inline link, use a set of regular parentheses immediately
-after the link text's closing square bracket. Inside the parentheses,
-put the URL where you want the link to point, along with an *optional*
-title for the link, surrounded in quotes. For example:
-
- This is [an example](http://example.com/ "Title") inline link.
-
- [This link](http://example.net/) has no title attribute.
-
-Will produce:
-
- <p>This is <a href="http://example.com/" title="Title">
- an example</a> inline link.</p>
-
- <p><a href="http://example.net/">This link</a> has no
- title attribute.</p>
-
-If you're referring to a local resource on the same server, you can
-use relative paths:
-
- See my [About](/about/) page for details.
-
-Reference-style links use a second set of square brackets, inside
-which you place a label of your choosing to identify the link:
-
- This is [an example][id] reference-style link.
-
-You can optionally use a space to separate the sets of brackets:
-
- This is [an example] [id] reference-style link.
-
-Then, anywhere in the document, you define your link label like this,
-on a line by itself:
-
- [id]: http://example.com/ "Optional Title Here"
-
-That is:
-
-* Square brackets containing the link identifier (optionally
- indented from the left margin using up to three spaces);
-* followed by a colon;
-* followed by one or more spaces (or tabs);
-* followed by the URL for the link;
-* optionally followed by a title attribute for the link, enclosed
- in double or single quotes.
-
-The link URL may, optionally, be surrounded by angle brackets:
-
- [id]: <http://example.com/> "Optional Title Here"
-
-You can put the title attribute on the next line and use extra spaces
-or tabs for padding, which tends to look better with longer URLs:
-
- [id]: http://example.com/longish/path/to/resource/here
- "Optional Title Here"
-
-Link definitions are only used for creating links during Markdown
-processing, and are stripped from your document in the HTML output.
-
-Link definition names may constist of letters, numbers, spaces, and punctuation -- but they are *not* case sensitive. E.g. these two links:
-
- [link text][a]
- [link text][A]
-
-are equivalent.
-
-The *implicit link name* shortcut allows you to omit the name of the
-link, in which case the link text itself is used as the name.
-Just use an empty set of square brackets -- e.g., to link the word
-"Google" to the google.com web site, you could simply write:
-
- [Google][]
-
-And then define the link:
-
- [Google]: http://google.com/
-
-Because link names may contain spaces, this shortcut even works for
-multiple words in the link text:
-
- Visit [Daring Fireball][] for more information.
-
-And then define the link:
-
- [Daring Fireball]: http://daringfireball.net/
-
-Link definitions can be placed anywhere in your Markdown document. I
-tend to put them immediately after each paragraph in which they're
-used, but if you want, you can put them all at the end of your
-document, sort of like footnotes.
-
-Here's an example of reference links in action:
-
- I get 10 times more traffic from [Google] [1] than from
- [Yahoo] [2] or [MSN] [3].
-
- [1]: http://google.com/ "Google"
- [2]: http://search.yahoo.com/ "Yahoo Search"
- [3]: http://search.msn.com/ "MSN Search"
-
-Using the implicit link name shortcut, you could instead write:
-
- I get 10 times more traffic from [Google][] than from
- [Yahoo][] or [MSN][].
-
- [google]: http://google.com/ "Google"
- [yahoo]: http://search.yahoo.com/ "Yahoo Search"
- [msn]: http://search.msn.com/ "MSN Search"
-
-Both of the above examples will produce the following HTML output:
-
- <p>I get 10 times more traffic from <a href="http://google.com/"
- title="Google">Google</a> than from
- <a href="http://search.yahoo.com/" title="Yahoo Search">Yahoo</a>
- or <a href="http://search.msn.com/" title="MSN Search">MSN</a>.</p>
-
-For comparison, here is the same paragraph written using
-Markdown's inline link style:
-
- I get 10 times more traffic from [Google](http://google.com/ "Google")
- than from [Yahoo](http://search.yahoo.com/ "Yahoo Search") or
- [MSN](http://search.msn.com/ "MSN Search").
-
-The point of reference-style links is not that they're easier to
-write. The point is that with reference-style links, your document
-source is vastly more readable. Compare the above examples: using
-reference-style links, the paragraph itself is only 81 characters
-long; with inline-style links, it's 176 characters; and as raw HTML,
-it's 234 characters. In the raw HTML, there's more markup than there
-is text.
-
-With Markdown's reference-style links, a source document much more
-closely resembles the final output, as rendered in a browser. By
-allowing you to move the markup-related metadata out of the paragraph,
-you can add links without interrupting the narrative flow of your
-prose.
-
-
-<h3 id="em">Emphasis</h3>
-
-Markdown treats asterisks (`*`) and underscores (`_`) as indicators of
-emphasis. Text wrapped with one `*` or `_` will be wrapped with an
-HTML `<em>` tag; double `*`'s or `_`'s will be wrapped with an HTML
-`<strong>` tag. E.g., this input:
-
- *single asterisks*
-
- _single underscores_
-
- **double asterisks**
-
- __double underscores__
-
-will produce:
-
- <em>single asterisks</em>
-
- <em>single underscores</em>
-
- <strong>double asterisks</strong>
-
- <strong>double underscores</strong>
-
-You can use whichever style you prefer; the lone restriction is that
-the same character must be used to open and close an emphasis span.
-
-Emphasis can be used in the middle of a word:
-
- un*fucking*believable
-
-But if you surround an `*` or `_` with spaces, it'll be treated as a
-literal asterisk or underscore.
-
-To produce a literal asterisk or underscore at a position where it
-would otherwise be used as an emphasis delimiter, you can backslash
-escape it:
-
- \*this text is surrounded by literal asterisks\*
-
-
-
-<h3 id="code">Code</h3>
-
-To indicate a span of code, wrap it with backtick quotes (`` ` ``).
-Unlike a pre-formatted code block, a code span indicates code within a
-normal paragraph. For example:
-
- Use the `printf()` function.
-
-will produce:
-
- <p>Use the <code>printf()</code> function.</p>
-
-To include a literal backtick character within a code span, you can use
-multiple backticks as the opening and closing delimiters:
-
- ``There is a literal backtick (`) here.``
-
-which will produce this:
-
- <p><code>There is a literal backtick (`) here.</code></p>
-
-The backtick delimiters surrounding a code span may include spaces --
-one after the opening, one before the closing. This allows you to place
-literal backtick characters at the beginning or end of a code span:
-
- A single backtick in a code span: `` ` ``
-
- A backtick-delimited string in a code span: `` `foo` ``
-
-will produce:
-
- <p>A single backtick in a code span: <code>`</code></p>
-
- <p>A backtick-delimited string in a code span: <code>`foo`</code></p>
-
-With a code span, ampersands and angle brackets are encoded as HTML
-entities automatically, which makes it easy to include example HTML
-tags. Markdown will turn this:
-
- Please don't use any `<blink>` tags.
-
-into:
-
- <p>Please don't use any <code>&lt;blink&gt;</code> tags.</p>
-
-You can write this:
-
- `&#8212;` is the decimal-encoded equivalent of `&mdash;`.
-
-to produce:
-
- <p><code>&amp;#8212;</code> is the decimal-encoded
- equivalent of <code>&amp;mdash;</code>.</p>
-
-
-
-<h3 id="img">Images</h3>
-
-Admittedly, it's fairly difficult to devise a "natural" syntax for
-placing images into a plain text document format.
-
-Markdown uses an image syntax that is intended to resemble the syntax
-for links, allowing for two styles: *inline* and *reference*.
-
-Inline image syntax looks like this:
-
- ![Alt text](/path/to/img.jpg)
-
- ![Alt text](/path/to/img.jpg "Optional title")
-
-That is:
-
-* An exclamation mark: `!`;
-* followed by a set of square brackets, containing the `alt`
- attribute text for the image;
-* followed by a set of parentheses, containing the URL or path to
- the image, and an optional `title` attribute enclosed in double
- or single quotes.
-
-Reference-style image syntax looks like this:
-
- ![Alt text][id]
-
-Where "id" is the name of a defined image reference. Image references
-are defined using syntax identical to link references:
-
- [id]: url/to/image "Optional title attribute"
-
-As of this writing, Markdown has no syntax for specifying the
-dimensions of an image; if this is important to you, you can simply
-use regular HTML `<img>` tags.
-
-
-* * *
-
-
-<h2 id="misc">Miscellaneous</h2>
-
-<h3 id="autolink">Automatic Links</h3>
-
-Markdown supports a shortcut style for creating "automatic" links for URLs and email addresses: simply surround the URL or email address with angle brackets. What this means is that if you want to show the actual text of a URL or email address, and also have it be a clickable link, you can do this:
-
- <http://example.com/>
-
-Markdown will turn this into:
-
- <a href="http://example.com/">http://example.com/</a>
-
-Automatic links for email addresses work similarly, except that
-Markdown will also perform a bit of randomized decimal and hex
-entity-encoding to help obscure your address from address-harvesting
-spambots. For example, Markdown will turn this:
-
- <address@example.com>
-
-into something like this:
-
- <a href="&#x6D;&#x61;i&#x6C;&#x74;&#x6F;:&#x61;&#x64;&#x64;&#x72;&#x65;
- &#115;&#115;&#64;&#101;&#120;&#x61;&#109;&#x70;&#x6C;e&#x2E;&#99;&#111;
- &#109;">&#x61;&#x64;&#x64;&#x72;&#x65;&#115;&#115;&#64;&#101;&#120;&#x61;
- &#109;&#x70;&#x6C;e&#x2E;&#99;&#111;&#109;</a>
-
-which will render in a browser as a clickable link to "address@example.com".
-
-(This sort of entity-encoding trick will indeed fool many, if not
-most, address-harvesting bots, but it definitely won't fool all of
-them. It's better than nothing, but an address published in this way
-will probably eventually start receiving spam.)
-
-
-
-<h3 id="backslash">Backslash Escapes</h3>
-
-Markdown allows you to use backslash escapes to generate literal
-characters which would otherwise have special meaning in Markdown's
-formatting syntax. For example, if you wanted to surround a word with
-literal asterisks (instead of an HTML `<em>` tag), you can backslashes
-before the asterisks, like this:
-
- \*literal asterisks\*
-
-Markdown provides backslash escapes for the following characters:
-
- \ backslash
- ` backtick
- * asterisk
- _ underscore
- {} curly braces
- [] square brackets
- () parentheses
- # hash mark
- + plus sign
- - minus sign (hyphen)
- . dot
- ! exclamation mark
diff --git a/packages/markdown/marked/test/original/nested_blockquotes.html b/packages/markdown/marked/test/original/nested_blockquotes.html
deleted file mode 100644
index d8ec7f8e..00000000
--- a/packages/markdown/marked/test/original/nested_blockquotes.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<blockquote>
- <p>foo</p>
-
- <blockquote>
- <p>bar</p>
- </blockquote>
-
- <p>foo</p>
-</blockquote>
diff --git a/packages/markdown/marked/test/original/nested_blockquotes.md b/packages/markdown/marked/test/original/nested_blockquotes.md
deleted file mode 100644
index ed3c624f..00000000
--- a/packages/markdown/marked/test/original/nested_blockquotes.md
+++ /dev/null
@@ -1,5 +0,0 @@
-> foo
->
-> > bar
->
-> foo
diff --git a/packages/markdown/marked/test/original/ordered_and_unordered_lists.html b/packages/markdown/marked/test/original/ordered_and_unordered_lists.html
deleted file mode 100644
index 45469479..00000000
--- a/packages/markdown/marked/test/original/ordered_and_unordered_lists.html
+++ /dev/null
@@ -1,164 +0,0 @@
-<h2>Unordered</h2>
-
-<p>Asterisks tight:</p>
-
-<ul>
-<li>asterisk 1</li>
-<li>asterisk 2</li>
-<li>asterisk 3</li>
-</ul>
-
-<p>Asterisks loose:</p>
-
-<ul>
-<li><p>asterisk 1</p></li>
-<li><p>asterisk 2</p></li>
-<li><p>asterisk 3</p></li>
-</ul>
-
-<hr />
-
-<p>Pluses tight:</p>
-
-<ul>
-<li>Plus 1</li>
-<li>Plus 2</li>
-<li>Plus 3</li>
-</ul>
-
-<p>Pluses loose:</p>
-
-<ul>
-<li><p>Plus 1</p></li>
-<li><p>Plus 2</p></li>
-<li><p>Plus 3</p></li>
-</ul>
-
-<hr />
-
-<p>Minuses tight:</p>
-
-<ul>
-<li>Minus 1</li>
-<li>Minus 2</li>
-<li>Minus 3</li>
-</ul>
-
-<p>Minuses loose:</p>
-
-<ul>
-<li><p>Minus 1</p></li>
-<li><p>Minus 2</p></li>
-<li><p>Minus 3</p></li>
-</ul>
-
-<h2>Ordered</h2>
-
-<p>Tight:</p>
-
-<ol>
-<li>First</li>
-<li>Second</li>
-<li>Third</li>
-</ol>
-
-<p>and:</p>
-
-<ol>
-<li>One</li>
-<li>Two</li>
-<li>Three</li>
-</ol>
-
-<p>Loose using tabs:</p>
-
-<ol>
-<li><p>First</p></li>
-<li><p>Second</p></li>
-<li><p>Third</p></li>
-</ol>
-
-<p>and using spaces:</p>
-
-<ol>
-<li><p>One</p></li>
-<li><p>Two</p></li>
-<li><p>Three</p></li>
-</ol>
-
-<p>Multiple paragraphs:</p>
-
-<ol>
-<li><p>Item 1, graf one.</p>
-
-<p>Item 2. graf two. The quick brown fox jumped over the lazy dog's
-back.</p></li>
-<li><p>Item 2.</p></li>
-<li><p>Item 3.</p></li>
-</ol>
-
-<h2>Nested</h2>
-
-<ul>
-<li>Tab
-<ul>
-<li>Tab
-<ul>
-<li>Tab</li>
-</ul></li>
-</ul></li>
-</ul>
-
-<p>Here's another:</p>
-
-<ol>
-<li>First</li>
-<li>Second:
-<ul>
-<li>Fee</li>
-<li>Fie</li>
-<li>Foe</li>
-</ul></li>
-<li>Third</li>
-</ol>
-
-<p>Same thing but with paragraphs:</p>
-
-<ol>
-<li><p>First</p></li>
-<li><p>Second:</p>
-
-<ul>
-<li>Fee</li>
-<li>Fie</li>
-<li>Foe</li>
-</ul></li>
-<li><p>Third</p></li>
-</ol>
-
-
-<p>This was an error in Markdown 1.0.1:</p>
-
-<ul>
-<li><p>this</p>
-
-<ul><li>sub</li></ul>
-
-<p>that</p></li>
-</ul>
-
-
-<p>Ordered lists start from initial number:</p>
-
-<ol start="3">
-<li>Three</li>
-<li>Four</li>
-</ol>
-
-
-<p>Ordered lists start from initial zero:</p>
-
-<ol start="0">
-<li>Zero</li>
-<li>One</li>
-</ol>
diff --git a/packages/markdown/marked/test/original/ordered_and_unordered_lists.md b/packages/markdown/marked/test/original/ordered_and_unordered_lists.md
deleted file mode 100644
index d11fb5d8..00000000
--- a/packages/markdown/marked/test/original/ordered_and_unordered_lists.md
+++ /dev/null
@@ -1,144 +0,0 @@
----
-headerIds: false
----
-## Unordered
-
-Asterisks tight:
-
-* asterisk 1
-* asterisk 2
-* asterisk 3
-
-
-Asterisks loose:
-
-* asterisk 1
-
-* asterisk 2
-
-* asterisk 3
-
-* * *
-
-Pluses tight:
-
-+ Plus 1
-+ Plus 2
-+ Plus 3
-
-
-Pluses loose:
-
-+ Plus 1
-
-+ Plus 2
-
-+ Plus 3
-
-* * *
-
-
-Minuses tight:
-
-- Minus 1
-- Minus 2
-- Minus 3
-
-
-Minuses loose:
-
-- Minus 1
-
-- Minus 2
-
-- Minus 3
-
-
-## Ordered
-
-Tight:
-
-1. First
-2. Second
-3. Third
-
-and:
-
-1. One
-2. Two
-3. Three
-
-
-Loose using tabs:
-
-1. First
-
-2. Second
-
-3. Third
-
-and using spaces:
-
-1. One
-
-2. Two
-
-3. Three
-
-Multiple paragraphs:
-
-1. Item 1, graf one.
-
- Item 2. graf two. The quick brown fox jumped over the lazy dog's
- back.
-
-2. Item 2.
-
-3. Item 3.
-
-
-
-## Nested
-
-* Tab
- * Tab
- * Tab
-
-Here's another:
-
-1. First
-2. Second:
- * Fee
- * Fie
- * Foe
-3. Third
-
-Same thing but with paragraphs:
-
-1. First
-
-2. Second:
- * Fee
- * Fie
- * Foe
-
-3. Third
-
-
-This was an error in Markdown 1.0.1:
-
-* this
-
- * sub
-
- that
-
-Ordered lists start from initial number:
-
-3. Three
-1. Four
-
-Ordered lists start from initial zero:
-
-0. Zero
-1. One
diff --git a/packages/markdown/marked/test/original/strong_and_em_together.html b/packages/markdown/marked/test/original/strong_and_em_together.html
deleted file mode 100644
index 71ec78c7..00000000
--- a/packages/markdown/marked/test/original/strong_and_em_together.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<p><strong><em>This is strong and em.</em></strong></p>
-
-<p>So is <strong><em>this</em></strong> word.</p>
-
-<p><strong><em>This is strong and em.</em></strong></p>
-
-<p>So is <strong><em>this</em></strong> word.</p>
diff --git a/packages/markdown/marked/test/original/strong_and_em_together.md b/packages/markdown/marked/test/original/strong_and_em_together.md
deleted file mode 100644
index 95ee690d..00000000
--- a/packages/markdown/marked/test/original/strong_and_em_together.md
+++ /dev/null
@@ -1,7 +0,0 @@
-***This is strong and em.***
-
-So is ***this*** word.
-
-___This is strong and em.___
-
-So is ___this___ word.
diff --git a/packages/markdown/marked/test/original/tabs.html b/packages/markdown/marked/test/original/tabs.html
deleted file mode 100644
index 3301ba80..00000000
--- a/packages/markdown/marked/test/original/tabs.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<ul>
-<li><p>this is a list item
-indented with tabs</p></li>
-<li><p>this is a list item
-indented with spaces</p></li>
-</ul>
-
-<p>Code:</p>
-
-<pre><code>this code block is indented by one tab
-</code></pre>
-
-<p>And:</p>
-
-<pre><code> this code block is indented by two tabs
-</code></pre>
-
-<p>And:</p>
-
-<pre><code>+ this is an example list item
- indented with tabs
-
-+ this is an example list item
- indented with spaces
-</code></pre>
diff --git a/packages/markdown/marked/test/original/tabs.md b/packages/markdown/marked/test/original/tabs.md
deleted file mode 100644
index 589d1136..00000000
--- a/packages/markdown/marked/test/original/tabs.md
+++ /dev/null
@@ -1,21 +0,0 @@
-+ this is a list item
- indented with tabs
-
-+ this is a list item
- indented with spaces
-
-Code:
-
- this code block is indented by one tab
-
-And:
-
- this code block is indented by two tabs
-
-And:
-
- + this is an example list item
- indented with tabs
-
- + this is an example list item
- indented with spaces
diff --git a/packages/markdown/marked/test/original/tidyness.html b/packages/markdown/marked/test/original/tidyness.html
deleted file mode 100644
index f2a8ce70..00000000
--- a/packages/markdown/marked/test/original/tidyness.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<blockquote>
-<p>A list within a blockquote:</p>
-<ul>
-<li>asterisk 1</li>
-<li>asterisk 2</li>
-<li>asterisk 3</li>
-</ul>
-</blockquote>
diff --git a/packages/markdown/marked/test/original/tidyness.md b/packages/markdown/marked/test/original/tidyness.md
deleted file mode 100644
index 5f18b8da..00000000
--- a/packages/markdown/marked/test/original/tidyness.md
+++ /dev/null
@@ -1,5 +0,0 @@
-> A list within a blockquote:
->
-> * asterisk 1
-> * asterisk 2
-> * asterisk 3
diff --git a/packages/markdown/marked/test/redos/link_redos.html b/packages/markdown/marked/test/redos/link_redos.html
deleted file mode 100644
index fdbeb4d3..00000000
--- a/packages/markdown/marked/test/redos/link_redos.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<ul>
-<li>伪类:<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:active">:active</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:any-link">:any-link</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:blank">:blank</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:checked">:checked</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:current">:current</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:default">:default</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:defined">:defined</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:dir">:dir()</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:disabled">:disabled</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:drop">:drop</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:empty">:empty</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:enabled">:enabled</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:first">:first</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:first-child">:first-child</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:first-of-type">:first-of-type</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:fullscreen">:fullscreen</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:future">:future</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:focus">:focus</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible">:focus-visible</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-within">:focus-within</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:has">:has()</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:host">:host</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:host()">:host()</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:host-context()">:host-context()</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:hover">:hover</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate">:indeterminate</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:in-range">:in-range</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:invalid">:invalid</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:is">:is()</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:lang">:lang()</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:last-child">:last-child</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:last-of-type">:last-of-type</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:left">:left</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:link">:link</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:local-link">:local-link</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:not">:not()</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-child">:nth-child()</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-col">:nth-col()</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-child">:nth-last-child()</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-col">:nth-last-col()</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-of-type">:nth-last-of-type()</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-of-type">:nth-of-type()</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:only-child">:only-child</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:only-of-type">:only-of-type</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:optional">:optional</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:out-of-range">:out-of-range</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:past">:past</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:placeholder-shown">:placeholder-shown</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:read-only">:read-only</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:read-write">:read-write</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:required">:required</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:right">:right</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:root">:root</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:scope">:scope</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:target">:target</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:target-within">:target-within</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:user-invalid">:user-invalid</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:valid">:valid</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:visited">:visited</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/:where">:where()</a></li>
-<li>伪元素:<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::after">::after (:after)</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::backdrop">::backdrop</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::before">::before (:before)</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::cue">::cue (:cue)</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::first-letter">::first-letter (:first-letter)</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::first-line">::first-line (:first-line)</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::grammar-error">::grammar-error</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::marker">::marker</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::placeholder">::placeholder</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::selection">::selection</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::slotted">::slotted()</a>、<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/::spelling-error">::spelling-error</a> </li>
-</ul>
-
diff --git a/packages/markdown/marked/test/redos/link_redos.md b/packages/markdown/marked/test/redos/link_redos.md
deleted file mode 100644
index effafa37..00000000
--- a/packages/markdown/marked/test/redos/link_redos.md
+++ /dev/null
@@ -1,2 +0,0 @@
-* 伪类:[:active](https://developer.mozilla.org/en-US/docs/Web/CSS/:active)、[:any-link](https://developer.mozilla.org/en-US/docs/Web/CSS/:any-link)、[:blank](https://developer.mozilla.org/en-US/docs/Web/CSS/:blank)、[:checked](https://developer.mozilla.org/en-US/docs/Web/CSS/:checked)、[:current](https://developer.mozilla.org/en-US/docs/Web/CSS/:current)、[:default](https://developer.mozilla.org/en-US/docs/Web/CSS/:default)、[:defined](https://developer.mozilla.org/en-US/docs/Web/CSS/:defined)、[:dir()](https://developer.mozilla.org/en-US/docs/Web/CSS/:dir)、[:disabled](https://developer.mozilla.org/en-US/docs/Web/CSS/:disabled)、[:drop](https://developer.mozilla.org/en-US/docs/Web/CSS/:drop)、[:empty](https://developer.mozilla.org/en-US/docs/Web/CSS/:empty)、[:enabled](https://developer.mozilla.org/en-US/docs/Web/CSS/:enabled)、[:first](https://developer.mozilla.org/en-US/docs/Web/CSS/:first)、[:first-child](https://developer.mozilla.org/en-US/docs/Web/CSS/:first-child)、[:first-of-type](https://developer.mozilla.org/en-US/docs/Web/CSS/:first-of-type)、[:fullscreen](https://developer.mozilla.org/en-US/docs/Web/CSS/:fullscreen)、[:future](https://developer.mozilla.org/en-US/docs/Web/CSS/:future)、[:focus](https://developer.mozilla.org/en-US/docs/Web/CSS/:focus)、[:focus-visible](https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible)、[:focus-within](https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-within)、[:has()](https://developer.mozilla.org/en-US/docs/Web/CSS/:has)、[:host](https://developer.mozilla.org/en-US/docs/Web/CSS/:host)、[:host()](https://developer.mozilla.org/en-US/docs/Web/CSS/:host())、[:host-context()](https://developer.mozilla.org/en-US/docs/Web/CSS/:host-context())、[:hover](https://developer.mozilla.org/en-US/docs/Web/CSS/:hover)、[:indeterminate](https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate)、[:in-range](https://developer.mozilla.org/en-US/docs/Web/CSS/:in-range)、[:invalid](https://developer.mozilla.org/en-US/docs/Web/CSS/:invalid)、[:is()](https://developer.mozilla.org/en-US/docs/Web/CSS/:is)、[:lang()](https://developer.mozilla.org/en-US/docs/Web/CSS/:lang)、[:last-child](https://developer.mozilla.org/en-US/docs/Web/CSS/:last-child)、[:last-of-type](https://developer.mozilla.org/en-US/docs/Web/CSS/:last-of-type)、[:left](https://developer.mozilla.org/en-US/docs/Web/CSS/:left)、[:link](https://developer.mozilla.org/en-US/docs/Web/CSS/:link)、[:local-link](https://developer.mozilla.org/en-US/docs/Web/CSS/:local-link)、[:not()](https://developer.mozilla.org/en-US/docs/Web/CSS/:not)、[:nth-child()](https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-child)、[:nth-col()](https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-col)、[:nth-last-child()](https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-child)、[:nth-last-col()](https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-col)、[:nth-last-of-type()](https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-of-type)、[:nth-of-type()](https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-of-type)、[:only-child](https://developer.mozilla.org/en-US/docs/Web/CSS/:only-child)、[:only-of-type](https://developer.mozilla.org/en-US/docs/Web/CSS/:only-of-type)、[:optional](https://developer.mozilla.org/en-US/docs/Web/CSS/:optional)、[:out-of-range](https://developer.mozilla.org/en-US/docs/Web/CSS/:out-of-range)、[:past](https://developer.mozilla.org/en-US/docs/Web/CSS/:past)、[:placeholder-shown](https://developer.mozilla.org/en-US/docs/Web/CSS/:placeholder-shown)、[:read-only](https://developer.mozilla.org/en-US/docs/Web/CSS/:read-only)、[:read-write](https://developer.mozilla.org/en-US/docs/Web/CSS/:read-write)、[:required](https://developer.mozilla.org/en-US/docs/Web/CSS/:required)、[:right](https://developer.mozilla.org/en-US/docs/Web/CSS/:right)、[:root](https://developer.mozilla.org/en-US/docs/Web/CSS/:root)、[:scope](https://developer.mozilla.org/en-US/docs/Web/CSS/:scope)、[:target](https://developer.mozilla.org/en-US/docs/Web/CSS/:target)、[:target-within](https://developer.mozilla.org/en-US/docs/Web/CSS/:target-within)、[:user-invalid](https://developer.mozilla.org/en-US/docs/Web/CSS/:user-invalid)、[:valid](https://developer.mozilla.org/en-US/docs/Web/CSS/:valid)、[:visited](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited)、[:where()](https://developer.mozilla.org/en-US/docs/Web/CSS/:where)
-* 伪元素:[::after (:after)](https://developer.mozilla.org/en-US/docs/Web/CSS/::after)、[::backdrop](https://developer.mozilla.org/en-US/docs/Web/CSS/::backdrop)、[::before (:before)](https://developer.mozilla.org/en-US/docs/Web/CSS/::before)、[::cue (:cue)](https://developer.mozilla.org/en-US/docs/Web/CSS/::cue)、[::first-letter (:first-letter)](https://developer.mozilla.org/en-US/docs/Web/CSS/::first-letter)、[::first-line (:first-line)](https://developer.mozilla.org/en-US/docs/Web/CSS/::first-line)、[::grammar-error](https://developer.mozilla.org/en-US/docs/Web/CSS/::grammar-error)、[::marker](https://developer.mozilla.org/en-US/docs/Web/CSS/::marker)、[::placeholder](https://developer.mozilla.org/en-US/docs/Web/CSS/::placeholder)、[::selection](https://developer.mozilla.org/en-US/docs/Web/CSS/::selection)、[::slotted()](https://developer.mozilla.org/en-US/docs/Web/CSS/::slotted)、[::spelling-error](https://developer.mozilla.org/en-US/docs/Web/CSS/::spelling-error) \ No newline at end of file
diff --git a/packages/markdown/marked/test/redos/quadratic_br.js b/packages/markdown/marked/test/redos/quadratic_br.js
deleted file mode 100644
index 48456b8a..00000000
--- a/packages/markdown/marked/test/redos/quadratic_br.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = {
- markdown: `a${' '.repeat(50000)}`,
- html: `<p>a${' '.repeat(50000)}</p>`
-};
diff --git a/packages/markdown/marked/test/redos/quadratic_email.js b/packages/markdown/marked/test/redos/quadratic_email.js
deleted file mode 100644
index 08243fe5..00000000
--- a/packages/markdown/marked/test/redos/quadratic_email.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = {
- markdown: 'a'.repeat(50000),
- html: `<p>${'a'.repeat(50000)}</p>`
-};
diff --git a/packages/markdown/marked/test/redos/redos_html_closing.html b/packages/markdown/marked/test/redos/redos_html_closing.html
deleted file mode 100644
index 543e775a..00000000
--- a/packages/markdown/marked/test/redos/redos_html_closing.html
+++ /dev/null
@@ -1 +0,0 @@
-<p>&lt;tag &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot;&lt;&quot; /&gt;a&#39;a</p>
diff --git a/packages/markdown/marked/test/redos/redos_html_closing.md b/packages/markdown/marked/test/redos/redos_html_closing.md
deleted file mode 100644
index 65bc5f73..00000000
--- a/packages/markdown/marked/test/redos/redos_html_closing.md
+++ /dev/null
@@ -1 +0,0 @@
-<tag "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""<" />a'a
diff --git a/packages/markdown/marked/test/redos/redos_nolink.html b/packages/markdown/marked/test/redos/redos_nolink.html
deleted file mode 100644
index 59153753..00000000
--- a/packages/markdown/marked/test/redos/redos_nolink.html
+++ /dev/null
@@ -1 +0,0 @@
-<p>![[[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[][[]!\</p>
diff --git a/packages/markdown/marked/test/redos/redos_nolink.md b/packages/markdown/marked/test/redos/redos_nolink.md
deleted file mode 100644
index a43a1568..00000000
--- a/packages/markdown/marked/test/redos/redos_nolink.md
+++ /dev/null
@@ -1 +0,0 @@
-![\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]\[[]!\
diff --git a/packages/markdown/marked/test/specs/commonmark/commonmark.0.29.json b/packages/markdown/marked/test/specs/commonmark/commonmark.0.29.json
deleted file mode 100644
index db23d3bb..00000000
--- a/packages/markdown/marked/test/specs/commonmark/commonmark.0.29.json
+++ /dev/null
@@ -1,5327 +0,0 @@
-[
- {
- "markdown": "\tfoo\tbaz\t\tbim\n",
- "html": "<pre><code>foo\tbaz\t\tbim\n</code></pre>\n",
- "example": 1,
- "start_line": 352,
- "end_line": 357,
- "section": "Tabs"
- },
- {
- "markdown": " \tfoo\tbaz\t\tbim\n",
- "html": "<pre><code>foo\tbaz\t\tbim\n</code></pre>\n",
- "example": 2,
- "start_line": 359,
- "end_line": 364,
- "section": "Tabs"
- },
- {
- "markdown": " a\ta\n ὐ\ta\n",
- "html": "<pre><code>a\ta\nὐ\ta\n</code></pre>\n",
- "example": 3,
- "start_line": 366,
- "end_line": 373,
- "section": "Tabs"
- },
- {
- "markdown": " - foo\n\n\tbar\n",
- "html": "<ul>\n<li>\n<p>foo</p>\n<p>bar</p>\n</li>\n</ul>\n",
- "example": 4,
- "start_line": 379,
- "end_line": 390,
- "section": "Tabs"
- },
- {
- "markdown": "- foo\n\n\t\tbar\n",
- "html": "<ul>\n<li>\n<p>foo</p>\n<pre><code> bar\n</code></pre>\n</li>\n</ul>\n",
- "example": 5,
- "start_line": 392,
- "end_line": 404,
- "section": "Tabs"
- },
- {
- "markdown": ">\t\tfoo\n",
- "html": "<blockquote>\n<pre><code> foo\n</code></pre>\n</blockquote>\n",
- "example": 6,
- "start_line": 415,
- "end_line": 422,
- "section": "Tabs"
- },
- {
- "markdown": "-\t\tfoo\n",
- "html": "<ul>\n<li>\n<pre><code> foo\n</code></pre>\n</li>\n</ul>\n",
- "example": 7,
- "start_line": 424,
- "end_line": 433,
- "section": "Tabs",
- "shouldFail": true
- },
- {
- "markdown": " foo\n\tbar\n",
- "html": "<pre><code>foo\nbar\n</code></pre>\n",
- "example": 8,
- "start_line": 436,
- "end_line": 443,
- "section": "Tabs"
- },
- {
- "markdown": " - foo\n - bar\n\t - baz\n",
- "html": "<ul>\n<li>foo\n<ul>\n<li>bar\n<ul>\n<li>baz</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n",
- "example": 9,
- "start_line": 445,
- "end_line": 461,
- "section": "Tabs"
- },
- {
- "markdown": "#\tFoo\n",
- "html": "<h1>Foo</h1>\n",
- "example": 10,
- "start_line": 463,
- "end_line": 467,
- "section": "Tabs"
- },
- {
- "markdown": "*\t*\t*\t\n",
- "html": "<hr />\n",
- "example": 11,
- "start_line": 469,
- "end_line": 473,
- "section": "Tabs"
- },
- {
- "markdown": "- `one\n- two`\n",
- "html": "<ul>\n<li>`one</li>\n<li>two`</li>\n</ul>\n",
- "example": 12,
- "start_line": 496,
- "end_line": 504,
- "section": "Precedence"
- },
- {
- "markdown": "***\n---\n___\n",
- "html": "<hr />\n<hr />\n<hr />\n",
- "example": 13,
- "start_line": 535,
- "end_line": 543,
- "section": "Thematic breaks"
- },
- {
- "markdown": "+++\n",
- "html": "<p>+++</p>\n",
- "example": 14,
- "start_line": 548,
- "end_line": 552,
- "section": "Thematic breaks"
- },
- {
- "markdown": "===\n",
- "html": "<p>===</p>\n",
- "example": 15,
- "start_line": 555,
- "end_line": 559,
- "section": "Thematic breaks"
- },
- {
- "markdown": "--\n**\n__\n",
- "html": "<p>--\n**\n__</p>\n",
- "example": 16,
- "start_line": 564,
- "end_line": 572,
- "section": "Thematic breaks"
- },
- {
- "markdown": " ***\n ***\n ***\n",
- "html": "<hr />\n<hr />\n<hr />\n",
- "example": 17,
- "start_line": 577,
- "end_line": 585,
- "section": "Thematic breaks"
- },
- {
- "markdown": " ***\n",
- "html": "<pre><code>***\n</code></pre>\n",
- "example": 18,
- "start_line": 590,
- "end_line": 595,
- "section": "Thematic breaks"
- },
- {
- "markdown": "Foo\n ***\n",
- "html": "<p>Foo\n***</p>\n",
- "example": 19,
- "start_line": 598,
- "end_line": 604,
- "section": "Thematic breaks"
- },
- {
- "markdown": "_____________________________________\n",
- "html": "<hr />\n",
- "example": 20,
- "start_line": 609,
- "end_line": 613,
- "section": "Thematic breaks"
- },
- {
- "markdown": " - - -\n",
- "html": "<hr />\n",
- "example": 21,
- "start_line": 618,
- "end_line": 622,
- "section": "Thematic breaks"
- },
- {
- "markdown": " ** * ** * ** * **\n",
- "html": "<hr />\n",
- "example": 22,
- "start_line": 625,
- "end_line": 629,
- "section": "Thematic breaks"
- },
- {
- "markdown": "- - - -\n",
- "html": "<hr />\n",
- "example": 23,
- "start_line": 632,
- "end_line": 636,
- "section": "Thematic breaks"
- },
- {
- "markdown": "- - - - \n",
- "html": "<hr />\n",
- "example": 24,
- "start_line": 641,
- "end_line": 645,
- "section": "Thematic breaks"
- },
- {
- "markdown": "_ _ _ _ a\n\na------\n\n---a---\n",
- "html": "<p>_ _ _ _ a</p>\n<p>a------</p>\n<p>---a---</p>\n",
- "example": 25,
- "start_line": 650,
- "end_line": 660,
- "section": "Thematic breaks"
- },
- {
- "markdown": " *-*\n",
- "html": "<p><em>-</em></p>\n",
- "example": 26,
- "start_line": 666,
- "end_line": 670,
- "section": "Thematic breaks"
- },
- {
- "markdown": "- foo\n***\n- bar\n",
- "html": "<ul>\n<li>foo</li>\n</ul>\n<hr />\n<ul>\n<li>bar</li>\n</ul>\n",
- "example": 27,
- "start_line": 675,
- "end_line": 687,
- "section": "Thematic breaks"
- },
- {
- "markdown": "Foo\n***\nbar\n",
- "html": "<p>Foo</p>\n<hr />\n<p>bar</p>\n",
- "example": 28,
- "start_line": 692,
- "end_line": 700,
- "section": "Thematic breaks"
- },
- {
- "markdown": "Foo\n---\nbar\n",
- "html": "<h2>Foo</h2>\n<p>bar</p>\n",
- "example": 29,
- "start_line": 709,
- "end_line": 716,
- "section": "Thematic breaks"
- },
- {
- "markdown": "* Foo\n* * *\n* Bar\n",
- "html": "<ul>\n<li>Foo</li>\n</ul>\n<hr />\n<ul>\n<li>Bar</li>\n</ul>\n",
- "example": 30,
- "start_line": 722,
- "end_line": 734,
- "section": "Thematic breaks"
- },
- {
- "markdown": "- Foo\n- * * *\n",
- "html": "<ul>\n<li>Foo</li>\n<li>\n<hr />\n</li>\n</ul>\n",
- "example": 31,
- "start_line": 739,
- "end_line": 749,
- "section": "Thematic breaks"
- },
- {
- "markdown": "# foo\n## foo\n### foo\n#### foo\n##### foo\n###### foo\n",
- "html": "<h1>foo</h1>\n<h2>foo</h2>\n<h3>foo</h3>\n<h4>foo</h4>\n<h5>foo</h5>\n<h6>foo</h6>\n",
- "example": 32,
- "start_line": 768,
- "end_line": 782,
- "section": "ATX headings"
- },
- {
- "markdown": "####### foo\n",
- "html": "<p>####### foo</p>\n",
- "example": 33,
- "start_line": 787,
- "end_line": 791,
- "section": "ATX headings"
- },
- {
- "markdown": "#5 bolt\n\n#hashtag\n",
- "html": "<p>#5 bolt</p>\n<p>#hashtag</p>\n",
- "example": 34,
- "start_line": 802,
- "end_line": 809,
- "section": "ATX headings"
- },
- {
- "markdown": "\\## foo\n",
- "html": "<p>## foo</p>\n",
- "example": 35,
- "start_line": 814,
- "end_line": 818,
- "section": "ATX headings"
- },
- {
- "markdown": "# foo *bar* \\*baz\\*\n",
- "html": "<h1>foo <em>bar</em> *baz*</h1>\n",
- "example": 36,
- "start_line": 823,
- "end_line": 827,
- "section": "ATX headings"
- },
- {
- "markdown": "# foo \n",
- "html": "<h1>foo</h1>\n",
- "example": 37,
- "start_line": 832,
- "end_line": 836,
- "section": "ATX headings"
- },
- {
- "markdown": " ### foo\n ## foo\n # foo\n",
- "html": "<h3>foo</h3>\n<h2>foo</h2>\n<h1>foo</h1>\n",
- "example": 38,
- "start_line": 841,
- "end_line": 849,
- "section": "ATX headings"
- },
- {
- "markdown": " # foo\n",
- "html": "<pre><code># foo\n</code></pre>\n",
- "example": 39,
- "start_line": 854,
- "end_line": 859,
- "section": "ATX headings"
- },
- {
- "markdown": "foo\n # bar\n",
- "html": "<p>foo\n# bar</p>\n",
- "example": 40,
- "start_line": 862,
- "end_line": 868,
- "section": "ATX headings",
- "shouldFail": true
- },
- {
- "markdown": "## foo ##\n ### bar ###\n",
- "html": "<h2>foo</h2>\n<h3>bar</h3>\n",
- "example": 41,
- "start_line": 873,
- "end_line": 879,
- "section": "ATX headings"
- },
- {
- "markdown": "# foo ##################################\n##### foo ##\n",
- "html": "<h1>foo</h1>\n<h5>foo</h5>\n",
- "example": 42,
- "start_line": 884,
- "end_line": 890,
- "section": "ATX headings"
- },
- {
- "markdown": "### foo ### \n",
- "html": "<h3>foo</h3>\n",
- "example": 43,
- "start_line": 895,
- "end_line": 899,
- "section": "ATX headings"
- },
- {
- "markdown": "### foo ### b\n",
- "html": "<h3>foo ### b</h3>\n",
- "example": 44,
- "start_line": 906,
- "end_line": 910,
- "section": "ATX headings"
- },
- {
- "markdown": "# foo#\n",
- "html": "<h1>foo#</h1>\n",
- "example": 45,
- "start_line": 915,
- "end_line": 919,
- "section": "ATX headings",
- "shouldFail": true
- },
- {
- "markdown": "### foo \\###\n## foo #\\##\n# foo \\#\n",
- "html": "<h3>foo ###</h3>\n<h2>foo ###</h2>\n<h1>foo #</h1>\n",
- "example": 46,
- "start_line": 925,
- "end_line": 933,
- "section": "ATX headings",
- "shouldFail": true
- },
- {
- "markdown": "****\n## foo\n****\n",
- "html": "<hr />\n<h2>foo</h2>\n<hr />\n",
- "example": 47,
- "start_line": 939,
- "end_line": 947,
- "section": "ATX headings"
- },
- {
- "markdown": "Foo bar\n# baz\nBar foo\n",
- "html": "<p>Foo bar</p>\n<h1>baz</h1>\n<p>Bar foo</p>\n",
- "example": 48,
- "start_line": 950,
- "end_line": 958,
- "section": "ATX headings"
- },
- {
- "markdown": "## \n#\n### ###\n",
- "html": "<h2></h2>\n<h1></h1>\n<h3></h3>\n",
- "example": 49,
- "start_line": 963,
- "end_line": 971,
- "section": "ATX headings",
- "shouldFail": true
- },
- {
- "markdown": "Foo *bar*\n=========\n\nFoo *bar*\n---------\n",
- "html": "<h1>Foo <em>bar</em></h1>\n<h2>Foo <em>bar</em></h2>\n",
- "example": 50,
- "start_line": 1006,
- "end_line": 1015,
- "section": "Setext headings"
- },
- {
- "markdown": "Foo *bar\nbaz*\n====\n",
- "html": "<h1>Foo <em>bar\nbaz</em></h1>\n",
- "example": 51,
- "start_line": 1020,
- "end_line": 1027,
- "section": "Setext headings",
- "shouldFail": true
- },
- {
- "markdown": " Foo *bar\nbaz*\t\n====\n",
- "html": "<h1>Foo <em>bar\nbaz</em></h1>\n",
- "example": 52,
- "start_line": 1034,
- "end_line": 1041,
- "section": "Setext headings",
- "shouldFail": true
- },
- {
- "markdown": "Foo\n-------------------------\n\nFoo\n=\n",
- "html": "<h2>Foo</h2>\n<h1>Foo</h1>\n",
- "example": 53,
- "start_line": 1046,
- "end_line": 1055,
- "section": "Setext headings",
- "shouldFail": true
- },
- {
- "markdown": " Foo\n---\n\n Foo\n-----\n\n Foo\n ===\n",
- "html": "<h2>Foo</h2>\n<h2>Foo</h2>\n<h1>Foo</h1>\n",
- "example": 54,
- "start_line": 1061,
- "end_line": 1074,
- "section": "Setext headings"
- },
- {
- "markdown": " Foo\n ---\n\n Foo\n---\n",
- "html": "<pre><code>Foo\n---\n\nFoo\n</code></pre>\n<hr />\n",
- "example": 55,
- "start_line": 1079,
- "end_line": 1092,
- "section": "Setext headings"
- },
- {
- "markdown": "Foo\n ---- \n",
- "html": "<h2>Foo</h2>\n",
- "example": 56,
- "start_line": 1098,
- "end_line": 1103,
- "section": "Setext headings"
- },
- {
- "markdown": "Foo\n ---\n",
- "html": "<p>Foo\n---</p>\n",
- "example": 57,
- "start_line": 1108,
- "end_line": 1114,
- "section": "Setext headings",
- "shouldFail": true
- },
- {
- "markdown": "Foo\n= =\n\nFoo\n--- -\n",
- "html": "<p>Foo\n= =</p>\n<p>Foo</p>\n<hr />\n",
- "example": 58,
- "start_line": 1119,
- "end_line": 1130,
- "section": "Setext headings"
- },
- {
- "markdown": "Foo \n-----\n",
- "html": "<h2>Foo</h2>\n",
- "example": 59,
- "start_line": 1135,
- "end_line": 1140,
- "section": "Setext headings"
- },
- {
- "markdown": "Foo\\\n----\n",
- "html": "<h2>Foo\\</h2>\n",
- "example": 60,
- "start_line": 1145,
- "end_line": 1150,
- "section": "Setext headings"
- },
- {
- "markdown": "`Foo\n----\n`\n\n<a title=\"a lot\n---\nof dashes\"/>\n",
- "html": "<h2>`Foo</h2>\n<p>`</p>\n<h2>&lt;a title=&quot;a lot</h2>\n<p>of dashes&quot;/&gt;</p>\n",
- "example": 61,
- "start_line": 1156,
- "end_line": 1169,
- "section": "Setext headings"
- },
- {
- "markdown": "> Foo\n---\n",
- "html": "<blockquote>\n<p>Foo</p>\n</blockquote>\n<hr />\n",
- "example": 62,
- "start_line": 1175,
- "end_line": 1183,
- "section": "Setext headings"
- },
- {
- "markdown": "> foo\nbar\n===\n",
- "html": "<blockquote>\n<p>foo\nbar\n===</p>\n</blockquote>\n",
- "example": 63,
- "start_line": 1186,
- "end_line": 1196,
- "section": "Setext headings",
- "shouldFail": true
- },
- {
- "markdown": "- Foo\n---\n",
- "html": "<ul>\n<li>Foo</li>\n</ul>\n<hr />\n",
- "example": 64,
- "start_line": 1199,
- "end_line": 1207,
- "section": "Setext headings"
- },
- {
- "markdown": "Foo\nBar\n---\n",
- "html": "<h2>Foo\nBar</h2>\n",
- "example": 65,
- "start_line": 1214,
- "end_line": 1221,
- "section": "Setext headings",
- "shouldFail": true
- },
- {
- "markdown": "---\nFoo\n---\nBar\n---\nBaz\n",
- "html": "<hr />\n<h2>Foo</h2>\n<h2>Bar</h2>\n<p>Baz</p>\n",
- "example": 66,
- "start_line": 1227,
- "end_line": 1239,
- "section": "Setext headings"
- },
- {
- "markdown": "\n====\n",
- "html": "<p>====</p>\n",
- "example": 67,
- "start_line": 1244,
- "end_line": 1249,
- "section": "Setext headings"
- },
- {
- "markdown": "---\n---\n",
- "html": "<hr />\n<hr />\n",
- "example": 68,
- "start_line": 1256,
- "end_line": 1262,
- "section": "Setext headings"
- },
- {
- "markdown": "- foo\n-----\n",
- "html": "<ul>\n<li>foo</li>\n</ul>\n<hr />\n",
- "example": 69,
- "start_line": 1265,
- "end_line": 1273,
- "section": "Setext headings"
- },
- {
- "markdown": " foo\n---\n",
- "html": "<pre><code>foo\n</code></pre>\n<hr />\n",
- "example": 70,
- "start_line": 1276,
- "end_line": 1283,
- "section": "Setext headings"
- },
- {
- "markdown": "> foo\n-----\n",
- "html": "<blockquote>\n<p>foo</p>\n</blockquote>\n<hr />\n",
- "example": 71,
- "start_line": 1286,
- "end_line": 1294,
- "section": "Setext headings"
- },
- {
- "markdown": "\\> foo\n------\n",
- "html": "<h2>&gt; foo</h2>\n",
- "example": 72,
- "start_line": 1300,
- "end_line": 1305,
- "section": "Setext headings"
- },
- {
- "markdown": "Foo\n\nbar\n---\nbaz\n",
- "html": "<p>Foo</p>\n<h2>bar</h2>\n<p>baz</p>\n",
- "example": 73,
- "start_line": 1331,
- "end_line": 1341,
- "section": "Setext headings"
- },
- {
- "markdown": "Foo\nbar\n\n---\n\nbaz\n",
- "html": "<p>Foo\nbar</p>\n<hr />\n<p>baz</p>\n",
- "example": 74,
- "start_line": 1347,
- "end_line": 1359,
- "section": "Setext headings"
- },
- {
- "markdown": "Foo\nbar\n* * *\nbaz\n",
- "html": "<p>Foo\nbar</p>\n<hr />\n<p>baz</p>\n",
- "example": 75,
- "start_line": 1365,
- "end_line": 1375,
- "section": "Setext headings"
- },
- {
- "markdown": "Foo\nbar\n\\---\nbaz\n",
- "html": "<p>Foo\nbar\n---\nbaz</p>\n",
- "example": 76,
- "start_line": 1380,
- "end_line": 1390,
- "section": "Setext headings"
- },
- {
- "markdown": " a simple\n indented code block\n",
- "html": "<pre><code>a simple\n indented code block\n</code></pre>\n",
- "example": 77,
- "start_line": 1408,
- "end_line": 1415,
- "section": "Indented code blocks"
- },
- {
- "markdown": " - foo\n\n bar\n",
- "html": "<ul>\n<li>\n<p>foo</p>\n<p>bar</p>\n</li>\n</ul>\n",
- "example": 78,
- "start_line": 1422,
- "end_line": 1433,
- "section": "Indented code blocks"
- },
- {
- "markdown": "1. foo\n\n - bar\n",
- "html": "<ol>\n<li>\n<p>foo</p>\n<ul>\n<li>bar</li>\n</ul>\n</li>\n</ol>\n",
- "example": 79,
- "start_line": 1436,
- "end_line": 1449,
- "section": "Indented code blocks"
- },
- {
- "markdown": " <a/>\n *hi*\n\n - one\n",
- "html": "<pre><code>&lt;a/&gt;\n*hi*\n\n- one\n</code></pre>\n",
- "example": 80,
- "start_line": 1456,
- "end_line": 1467,
- "section": "Indented code blocks"
- },
- {
- "markdown": " chunk1\n\n chunk2\n \n \n \n chunk3\n",
- "html": "<pre><code>chunk1\n\nchunk2\n\n\n\nchunk3\n</code></pre>\n",
- "example": 81,
- "start_line": 1472,
- "end_line": 1489,
- "section": "Indented code blocks"
- },
- {
- "markdown": " chunk1\n \n chunk2\n",
- "html": "<pre><code>chunk1\n \n chunk2\n</code></pre>\n",
- "example": 82,
- "start_line": 1495,
- "end_line": 1504,
- "section": "Indented code blocks"
- },
- {
- "markdown": "Foo\n bar\n\n",
- "html": "<p>Foo\nbar</p>\n",
- "example": 83,
- "start_line": 1510,
- "end_line": 1517,
- "section": "Indented code blocks"
- },
- {
- "markdown": " foo\nbar\n",
- "html": "<pre><code>foo\n</code></pre>\n<p>bar</p>\n",
- "example": 84,
- "start_line": 1524,
- "end_line": 1531,
- "section": "Indented code blocks"
- },
- {
- "markdown": "# Heading\n foo\nHeading\n------\n foo\n----\n",
- "html": "<h1>Heading</h1>\n<pre><code>foo\n</code></pre>\n<h2>Heading</h2>\n<pre><code>foo\n</code></pre>\n<hr />\n",
- "example": 85,
- "start_line": 1537,
- "end_line": 1552,
- "section": "Indented code blocks"
- },
- {
- "markdown": " foo\n bar\n",
- "html": "<pre><code> foo\nbar\n</code></pre>\n",
- "example": 86,
- "start_line": 1557,
- "end_line": 1564,
- "section": "Indented code blocks"
- },
- {
- "markdown": "\n \n foo\n \n\n",
- "html": "<pre><code>foo\n</code></pre>\n",
- "example": 87,
- "start_line": 1570,
- "end_line": 1579,
- "section": "Indented code blocks"
- },
- {
- "markdown": " foo \n",
- "html": "<pre><code>foo \n</code></pre>\n",
- "example": 88,
- "start_line": 1584,
- "end_line": 1589,
- "section": "Indented code blocks"
- },
- {
- "markdown": "```\n<\n >\n```\n",
- "html": "<pre><code>&lt;\n &gt;\n</code></pre>\n",
- "example": 89,
- "start_line": 1639,
- "end_line": 1648,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "~~~\n<\n >\n~~~\n",
- "html": "<pre><code>&lt;\n &gt;\n</code></pre>\n",
- "example": 90,
- "start_line": 1653,
- "end_line": 1662,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "``\nfoo\n``\n",
- "html": "<p><code>foo</code></p>\n",
- "example": 91,
- "start_line": 1666,
- "end_line": 1672,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "```\naaa\n~~~\n```\n",
- "html": "<pre><code>aaa\n~~~\n</code></pre>\n",
- "example": 92,
- "start_line": 1677,
- "end_line": 1686,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "~~~\naaa\n```\n~~~\n",
- "html": "<pre><code>aaa\n```\n</code></pre>\n",
- "example": 93,
- "start_line": 1689,
- "end_line": 1698,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "````\naaa\n```\n``````\n",
- "html": "<pre><code>aaa\n```\n</code></pre>\n",
- "example": 94,
- "start_line": 1703,
- "end_line": 1712,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "~~~~\naaa\n~~~\n~~~~\n",
- "html": "<pre><code>aaa\n~~~\n</code></pre>\n",
- "example": 95,
- "start_line": 1715,
- "end_line": 1724,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "```\n",
- "html": "<pre><code></code></pre>\n",
- "example": 96,
- "start_line": 1730,
- "end_line": 1734,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "`````\n\n```\naaa\n",
- "html": "<pre><code>\n```\naaa\n</code></pre>\n",
- "example": 97,
- "start_line": 1737,
- "end_line": 1747,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "> ```\n> aaa\n\nbbb\n",
- "html": "<blockquote>\n<pre><code>aaa\n</code></pre>\n</blockquote>\n<p>bbb</p>\n",
- "example": 98,
- "start_line": 1750,
- "end_line": 1761,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "```\n\n \n```\n",
- "html": "<pre><code>\n \n</code></pre>\n",
- "example": 99,
- "start_line": 1766,
- "end_line": 1775,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "```\n```\n",
- "html": "<pre><code></code></pre>\n",
- "example": 100,
- "start_line": 1780,
- "end_line": 1785,
- "section": "Fenced code blocks"
- },
- {
- "markdown": " ```\n aaa\naaa\n```\n",
- "html": "<pre><code>aaa\naaa\n</code></pre>\n",
- "example": 101,
- "start_line": 1792,
- "end_line": 1801,
- "section": "Fenced code blocks"
- },
- {
- "markdown": " ```\naaa\n aaa\naaa\n ```\n",
- "html": "<pre><code>aaa\naaa\naaa\n</code></pre>\n",
- "example": 102,
- "start_line": 1804,
- "end_line": 1815,
- "section": "Fenced code blocks"
- },
- {
- "markdown": " ```\n aaa\n aaa\n aaa\n ```\n",
- "html": "<pre><code>aaa\n aaa\naaa\n</code></pre>\n",
- "example": 103,
- "start_line": 1818,
- "end_line": 1829,
- "section": "Fenced code blocks"
- },
- {
- "markdown": " ```\n aaa\n ```\n",
- "html": "<pre><code>```\naaa\n```\n</code></pre>\n",
- "example": 104,
- "start_line": 1834,
- "end_line": 1843,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "```\naaa\n ```\n",
- "html": "<pre><code>aaa\n</code></pre>\n",
- "example": 105,
- "start_line": 1849,
- "end_line": 1856,
- "section": "Fenced code blocks"
- },
- {
- "markdown": " ```\naaa\n ```\n",
- "html": "<pre><code>aaa\n</code></pre>\n",
- "example": 106,
- "start_line": 1859,
- "end_line": 1866,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "```\naaa\n ```\n",
- "html": "<pre><code>aaa\n ```\n</code></pre>\n",
- "example": 107,
- "start_line": 1871,
- "end_line": 1879,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "``` ```\naaa\n",
- "html": "<p><code> </code>\naaa</p>\n",
- "example": 108,
- "start_line": 1885,
- "end_line": 1891,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "~~~~~~\naaa\n~~~ ~~\n",
- "html": "<pre><code>aaa\n~~~ ~~\n</code></pre>\n",
- "example": 109,
- "start_line": 1894,
- "end_line": 1902,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "foo\n```\nbar\n```\nbaz\n",
- "html": "<p>foo</p>\n<pre><code>bar\n</code></pre>\n<p>baz</p>\n",
- "example": 110,
- "start_line": 1908,
- "end_line": 1919,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "foo\n---\n~~~\nbar\n~~~\n# baz\n",
- "html": "<h2>foo</h2>\n<pre><code>bar\n</code></pre>\n<h1>baz</h1>\n",
- "example": 111,
- "start_line": 1925,
- "end_line": 1937,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "```ruby\ndef foo(x)\n return 3\nend\n```\n",
- "html": "<pre><code class=\"language-ruby\">def foo(x)\n return 3\nend\n</code></pre>\n",
- "example": 112,
- "start_line": 1947,
- "end_line": 1958,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "~~~~ ruby startline=3 $%@#$\ndef foo(x)\n return 3\nend\n~~~~~~~\n",
- "html": "<pre><code class=\"language-ruby\">def foo(x)\n return 3\nend\n</code></pre>\n",
- "example": 113,
- "start_line": 1961,
- "end_line": 1972,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "````;\n````\n",
- "html": "<pre><code class=\"language-;\"></code></pre>\n",
- "example": 114,
- "start_line": 1975,
- "end_line": 1980,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "``` aa ```\nfoo\n",
- "html": "<p><code>aa</code>\nfoo</p>\n",
- "example": 115,
- "start_line": 1985,
- "end_line": 1991,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "~~~ aa ``` ~~~\nfoo\n~~~\n",
- "html": "<pre><code class=\"language-aa\">foo\n</code></pre>\n",
- "example": 116,
- "start_line": 1996,
- "end_line": 2003,
- "section": "Fenced code blocks",
- "shouldFail": true
- },
- {
- "markdown": "```\n``` aaa\n```\n",
- "html": "<pre><code>``` aaa\n</code></pre>\n",
- "example": 117,
- "start_line": 2008,
- "end_line": 2015,
- "section": "Fenced code blocks"
- },
- {
- "markdown": "<table><tr><td>\n<pre>\n**Hello**,\n\n_world_.\n</pre>\n</td></tr></table>\n",
- "html": "<table><tr><td>\n<pre>\n**Hello**,\n<p><em>world</em>.\n</pre></p>\n</td></tr></table>\n",
- "example": 118,
- "start_line": 2087,
- "end_line": 2102,
- "section": "HTML blocks"
- },
- {
- "markdown": "<table>\n <tr>\n <td>\n hi\n </td>\n </tr>\n</table>\n\nokay.\n",
- "html": "<table>\n <tr>\n <td>\n hi\n </td>\n </tr>\n</table>\n<p>okay.</p>\n",
- "example": 119,
- "start_line": 2116,
- "end_line": 2135,
- "section": "HTML blocks"
- },
- {
- "markdown": " <div>\n *hello*\n <foo><a>\n",
- "html": " <div>\n *hello*\n <foo><a>\n",
- "example": 120,
- "start_line": 2138,
- "end_line": 2146,
- "section": "HTML blocks"
- },
- {
- "markdown": "</div>\n*foo*\n",
- "html": "</div>\n*foo*\n",
- "example": 121,
- "start_line": 2151,
- "end_line": 2157,
- "section": "HTML blocks"
- },
- {
- "markdown": "<DIV CLASS=\"foo\">\n\n*Markdown*\n\n</DIV>\n",
- "html": "<DIV CLASS=\"foo\">\n<p><em>Markdown</em></p>\n</DIV>\n",
- "example": 122,
- "start_line": 2162,
- "end_line": 2172,
- "section": "HTML blocks"
- },
- {
- "markdown": "<div id=\"foo\"\n class=\"bar\">\n</div>\n",
- "html": "<div id=\"foo\"\n class=\"bar\">\n</div>\n",
- "example": 123,
- "start_line": 2178,
- "end_line": 2186,
- "section": "HTML blocks"
- },
- {
- "markdown": "<div id=\"foo\" class=\"bar\n baz\">\n</div>\n",
- "html": "<div id=\"foo\" class=\"bar\n baz\">\n</div>\n",
- "example": 124,
- "start_line": 2189,
- "end_line": 2197,
- "section": "HTML blocks"
- },
- {
- "markdown": "<div>\n*foo*\n\n*bar*\n",
- "html": "<div>\n*foo*\n<p><em>bar</em></p>\n",
- "example": 125,
- "start_line": 2201,
- "end_line": 2210,
- "section": "HTML blocks"
- },
- {
- "markdown": "<div id=\"foo\"\n*hi*\n",
- "html": "<div id=\"foo\"\n*hi*\n",
- "example": 126,
- "start_line": 2217,
- "end_line": 2223,
- "section": "HTML blocks"
- },
- {
- "markdown": "<div class\nfoo\n",
- "html": "<div class\nfoo\n",
- "example": 127,
- "start_line": 2226,
- "end_line": 2232,
- "section": "HTML blocks"
- },
- {
- "markdown": "<div *???-&&&-<---\n*foo*\n",
- "html": "<div *???-&&&-<---\n*foo*\n",
- "example": 128,
- "start_line": 2238,
- "end_line": 2244,
- "section": "HTML blocks"
- },
- {
- "markdown": "<div><a href=\"bar\">*foo*</a></div>\n",
- "html": "<div><a href=\"bar\">*foo*</a></div>\n",
- "example": 129,
- "start_line": 2250,
- "end_line": 2254,
- "section": "HTML blocks"
- },
- {
- "markdown": "<table><tr><td>\nfoo\n</td></tr></table>\n",
- "html": "<table><tr><td>\nfoo\n</td></tr></table>\n",
- "example": 130,
- "start_line": 2257,
- "end_line": 2265,
- "section": "HTML blocks"
- },
- {
- "markdown": "<div></div>\n``` c\nint x = 33;\n```\n",
- "html": "<div></div>\n``` c\nint x = 33;\n```\n",
- "example": 131,
- "start_line": 2274,
- "end_line": 2284,
- "section": "HTML blocks"
- },
- {
- "markdown": "<a href=\"foo\">\n*bar*\n</a>\n",
- "html": "<a href=\"foo\">\n*bar*\n</a>\n",
- "example": 132,
- "start_line": 2291,
- "end_line": 2299,
- "section": "HTML blocks"
- },
- {
- "markdown": "<Warning>\n*bar*\n</Warning>\n",
- "html": "<Warning>\n*bar*\n</Warning>\n",
- "example": 133,
- "start_line": 2304,
- "end_line": 2312,
- "section": "HTML blocks"
- },
- {
- "markdown": "<i class=\"foo\">\n*bar*\n</i>\n",
- "html": "<i class=\"foo\">\n*bar*\n</i>\n",
- "example": 134,
- "start_line": 2315,
- "end_line": 2323,
- "section": "HTML blocks"
- },
- {
- "markdown": "</ins>\n*bar*\n",
- "html": "</ins>\n*bar*\n",
- "example": 135,
- "start_line": 2326,
- "end_line": 2332,
- "section": "HTML blocks"
- },
- {
- "markdown": "<del>\n*foo*\n</del>\n",
- "html": "<del>\n*foo*\n</del>\n",
- "example": 136,
- "start_line": 2341,
- "end_line": 2349,
- "section": "HTML blocks"
- },
- {
- "markdown": "<del>\n\n*foo*\n\n</del>\n",
- "html": "<del>\n<p><em>foo</em></p>\n</del>\n",
- "example": 137,
- "start_line": 2356,
- "end_line": 2366,
- "section": "HTML blocks"
- },
- {
- "markdown": "<del>*foo*</del>\n",
- "html": "<p><del><em>foo</em></del></p>\n",
- "example": 138,
- "start_line": 2374,
- "end_line": 2378,
- "section": "HTML blocks"
- },
- {
- "markdown": "<pre language=\"haskell\"><code>\nimport Text.HTML.TagSoup\n\nmain :: IO ()\nmain = print $ parseTags tags\n</code></pre>\nokay\n",
- "html": "<pre language=\"haskell\"><code>\nimport Text.HTML.TagSoup\n\nmain :: IO ()\nmain = print $ parseTags tags\n</code></pre>\n<p>okay</p>\n",
- "example": 139,
- "start_line": 2390,
- "end_line": 2406,
- "section": "HTML blocks"
- },
- {
- "markdown": "<script type=\"text/javascript\">\n// JavaScript example\n\ndocument.getElementById(\"demo\").innerHTML = \"Hello JavaScript!\";\n</script>\nokay\n",
- "html": "<script type=\"text/javascript\">\n// JavaScript example\n\ndocument.getElementById(\"demo\").innerHTML = \"Hello JavaScript!\";\n</script>\n<p>okay</p>\n",
- "example": 140,
- "start_line": 2411,
- "end_line": 2425,
- "section": "HTML blocks"
- },
- {
- "markdown": "<style\n type=\"text/css\">\nh1 {color:red;}\n\np {color:blue;}\n</style>\nokay\n",
- "html": "<style\n type=\"text/css\">\nh1 {color:red;}\n\np {color:blue;}\n</style>\n<p>okay</p>\n",
- "example": 141,
- "start_line": 2430,
- "end_line": 2446,
- "section": "HTML blocks"
- },
- {
- "markdown": "<style\n type=\"text/css\">\n\nfoo\n",
- "html": "<style\n type=\"text/css\">\n\nfoo\n",
- "example": 142,
- "start_line": 2453,
- "end_line": 2463,
- "section": "HTML blocks"
- },
- {
- "markdown": "> <div>\n> foo\n\nbar\n",
- "html": "<blockquote>\n<div>\nfoo\n</blockquote>\n<p>bar</p>\n",
- "example": 143,
- "start_line": 2466,
- "end_line": 2477,
- "section": "HTML blocks"
- },
- {
- "markdown": "- <div>\n- foo\n",
- "html": "<ul>\n<li>\n<div>\n</li>\n<li>foo</li>\n</ul>\n",
- "example": 144,
- "start_line": 2480,
- "end_line": 2490,
- "section": "HTML blocks"
- },
- {
- "markdown": "<style>p{color:red;}</style>\n*foo*\n",
- "html": "<style>p{color:red;}</style>\n<p><em>foo</em></p>\n",
- "example": 145,
- "start_line": 2495,
- "end_line": 2501,
- "section": "HTML blocks"
- },
- {
- "markdown": "<!-- foo -->*bar*\n*baz*\n",
- "html": "<!-- foo -->*bar*\n<p><em>baz</em></p>\n",
- "example": 146,
- "start_line": 2504,
- "end_line": 2510,
- "section": "HTML blocks"
- },
- {
- "markdown": "<script>\nfoo\n</script>1. *bar*\n",
- "html": "<script>\nfoo\n</script>1. *bar*\n",
- "example": 147,
- "start_line": 2516,
- "end_line": 2524,
- "section": "HTML blocks"
- },
- {
- "markdown": "<!-- Foo\n\nbar\n baz -->\nokay\n",
- "html": "<!-- Foo\n\nbar\n baz -->\n<p>okay</p>\n",
- "example": 148,
- "start_line": 2529,
- "end_line": 2541,
- "section": "HTML blocks"
- },
- {
- "markdown": "<?php\n\n echo '>';\n\n?>\nokay\n",
- "html": "<?php\n\n echo '>';\n\n?>\n<p>okay</p>\n",
- "example": 149,
- "start_line": 2547,
- "end_line": 2561,
- "section": "HTML blocks"
- },
- {
- "markdown": "<!DOCTYPE html>\n",
- "html": "<!DOCTYPE html>\n",
- "example": 150,
- "start_line": 2566,
- "end_line": 2570,
- "section": "HTML blocks"
- },
- {
- "markdown": "<![CDATA[\nfunction matchwo(a,b)\n{\n if (a < b && a < 0) then {\n return 1;\n\n } else {\n\n return 0;\n }\n}\n]]>\nokay\n",
- "html": "<![CDATA[\nfunction matchwo(a,b)\n{\n if (a < b && a < 0) then {\n return 1;\n\n } else {\n\n return 0;\n }\n}\n]]>\n<p>okay</p>\n",
- "example": 151,
- "start_line": 2575,
- "end_line": 2603,
- "section": "HTML blocks"
- },
- {
- "markdown": " <!-- foo -->\n\n <!-- foo -->\n",
- "html": " <!-- foo -->\n<pre><code>&lt;!-- foo --&gt;\n</code></pre>\n",
- "example": 152,
- "start_line": 2608,
- "end_line": 2616,
- "section": "HTML blocks"
- },
- {
- "markdown": " <div>\n\n <div>\n",
- "html": " <div>\n<pre><code>&lt;div&gt;\n</code></pre>\n",
- "example": 153,
- "start_line": 2619,
- "end_line": 2627,
- "section": "HTML blocks"
- },
- {
- "markdown": "Foo\n<div>\nbar\n</div>\n",
- "html": "<p>Foo</p>\n<div>\nbar\n</div>\n",
- "example": 154,
- "start_line": 2633,
- "end_line": 2643,
- "section": "HTML blocks"
- },
- {
- "markdown": "<div>\nbar\n</div>\n*foo*\n",
- "html": "<div>\nbar\n</div>\n*foo*\n",
- "example": 155,
- "start_line": 2650,
- "end_line": 2660,
- "section": "HTML blocks"
- },
- {
- "markdown": "Foo\n<a href=\"bar\">\nbaz\n",
- "html": "<p>Foo\n<a href=\"bar\">\nbaz</p>\n",
- "example": 156,
- "start_line": 2665,
- "end_line": 2673,
- "section": "HTML blocks"
- },
- {
- "markdown": "<div>\n\n*Emphasized* text.\n\n</div>\n",
- "html": "<div>\n<p><em>Emphasized</em> text.</p>\n</div>\n",
- "example": 157,
- "start_line": 2706,
- "end_line": 2716,
- "section": "HTML blocks"
- },
- {
- "markdown": "<div>\n*Emphasized* text.\n</div>\n",
- "html": "<div>\n*Emphasized* text.\n</div>\n",
- "example": 158,
- "start_line": 2719,
- "end_line": 2727,
- "section": "HTML blocks"
- },
- {
- "markdown": "<table>\n\n<tr>\n\n<td>\nHi\n</td>\n\n</tr>\n\n</table>\n",
- "html": "<table>\n<tr>\n<td>\nHi\n</td>\n</tr>\n</table>\n",
- "example": 159,
- "start_line": 2741,
- "end_line": 2761,
- "section": "HTML blocks"
- },
- {
- "markdown": "<table>\n\n <tr>\n\n <td>\n Hi\n </td>\n\n </tr>\n\n</table>\n",
- "html": "<table>\n <tr>\n<pre><code>&lt;td&gt;\n Hi\n&lt;/td&gt;\n</code></pre>\n </tr>\n</table>\n",
- "example": 160,
- "start_line": 2768,
- "end_line": 2789,
- "section": "HTML blocks"
- },
- {
- "markdown": "[foo]: /url \"title\"\n\n[foo]\n",
- "html": "<p><a href=\"/url\" title=\"title\">foo</a></p>\n",
- "example": 161,
- "start_line": 2816,
- "end_line": 2822,
- "section": "Link reference definitions"
- },
- {
- "markdown": " [foo]: \n /url \n 'the title' \n\n[foo]\n",
- "html": "<p><a href=\"/url\" title=\"the title\">foo</a></p>\n",
- "example": 162,
- "start_line": 2825,
- "end_line": 2833,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[Foo*bar\\]]:my_(url) 'title (with parens)'\n\n[Foo*bar\\]]\n",
- "html": "<p><a href=\"my_(url)\" title=\"title (with parens)\">Foo*bar]</a></p>\n",
- "example": 163,
- "start_line": 2836,
- "end_line": 2842,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[Foo bar]:\n<my url>\n'title'\n\n[Foo bar]\n",
- "html": "<p><a href=\"my%20url\" title=\"title\">Foo bar</a></p>\n",
- "example": 164,
- "start_line": 2845,
- "end_line": 2853,
- "section": "Link reference definitions",
- "shouldFail": true
- },
- {
- "markdown": "[foo]: /url '\ntitle\nline1\nline2\n'\n\n[foo]\n",
- "html": "<p><a href=\"/url\" title=\"\ntitle\nline1\nline2\n\">foo</a></p>\n",
- "example": 165,
- "start_line": 2858,
- "end_line": 2872,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[foo]: /url 'title\n\nwith blank line'\n\n[foo]\n",
- "html": "<p>[foo]: /url 'title</p>\n<p>with blank line'</p>\n<p>[foo]</p>\n",
- "example": 166,
- "start_line": 2877,
- "end_line": 2887,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[foo]:\n/url\n\n[foo]\n",
- "html": "<p><a href=\"/url\">foo</a></p>\n",
- "example": 167,
- "start_line": 2892,
- "end_line": 2899,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[foo]:\n\n[foo]\n",
- "html": "<p>[foo]:</p>\n<p>[foo]</p>\n",
- "example": 168,
- "start_line": 2904,
- "end_line": 2911,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[foo]: <>\n\n[foo]\n",
- "html": "<p><a href=\"\">foo</a></p>\n",
- "example": 169,
- "start_line": 2916,
- "end_line": 2922,
- "section": "Link reference definitions",
- "shouldFail": true
- },
- {
- "markdown": "[foo]: <bar>(baz)\n\n[foo]\n",
- "html": "<p>[foo]: <bar>(baz)</p>\n<p>[foo]</p>\n",
- "example": 170,
- "start_line": 2927,
- "end_line": 2934,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[foo]: /url\\bar\\*baz \"foo\\\"bar\\baz\"\n\n[foo]\n",
- "html": "<p><a href=\"/url%5Cbar*baz\" title=\"foo&quot;bar\\baz\">foo</a></p>\n",
- "example": 171,
- "start_line": 2940,
- "end_line": 2946,
- "section": "Link reference definitions",
- "shouldFail": true
- },
- {
- "markdown": "[foo]\n\n[foo]: url\n",
- "html": "<p><a href=\"url\">foo</a></p>\n",
- "example": 172,
- "start_line": 2951,
- "end_line": 2957,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[foo]\n\n[foo]: first\n[foo]: second\n",
- "html": "<p><a href=\"first\">foo</a></p>\n",
- "example": 173,
- "start_line": 2963,
- "end_line": 2970,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[FOO]: /url\n\n[Foo]\n",
- "html": "<p><a href=\"/url\">Foo</a></p>\n",
- "example": 174,
- "start_line": 2976,
- "end_line": 2982,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[ΑΓΩ]: /φου\n\n[αγω]\n",
- "html": "<p><a href=\"/%CF%86%CE%BF%CF%85\">αγω</a></p>\n",
- "example": 175,
- "start_line": 2985,
- "end_line": 2991,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[foo]: /url\n",
- "html": "",
- "example": 176,
- "start_line": 2997,
- "end_line": 3000,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[\nfoo\n]: /url\nbar\n",
- "html": "<p>bar</p>\n",
- "example": 177,
- "start_line": 3005,
- "end_line": 3012,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[foo]: /url \"title\" ok\n",
- "html": "<p>[foo]: /url &quot;title&quot; ok</p>\n",
- "example": 178,
- "start_line": 3018,
- "end_line": 3022,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[foo]: /url\n\"title\" ok\n",
- "html": "<p>&quot;title&quot; ok</p>\n",
- "example": 179,
- "start_line": 3027,
- "end_line": 3032,
- "section": "Link reference definitions"
- },
- {
- "markdown": " [foo]: /url \"title\"\n\n[foo]\n",
- "html": "<pre><code>[foo]: /url &quot;title&quot;\n</code></pre>\n<p>[foo]</p>\n",
- "example": 180,
- "start_line": 3038,
- "end_line": 3046,
- "section": "Link reference definitions"
- },
- {
- "markdown": "```\n[foo]: /url\n```\n\n[foo]\n",
- "html": "<pre><code>[foo]: /url\n</code></pre>\n<p>[foo]</p>\n",
- "example": 181,
- "start_line": 3052,
- "end_line": 3062,
- "section": "Link reference definitions"
- },
- {
- "markdown": "Foo\n[bar]: /baz\n\n[bar]\n",
- "html": "<p>Foo\n[bar]: /baz</p>\n<p>[bar]</p>\n",
- "example": 182,
- "start_line": 3067,
- "end_line": 3076,
- "section": "Link reference definitions"
- },
- {
- "markdown": "# [Foo]\n[foo]: /url\n> bar\n",
- "html": "<h1><a href=\"/url\">Foo</a></h1>\n<blockquote>\n<p>bar</p>\n</blockquote>\n",
- "example": 183,
- "start_line": 3082,
- "end_line": 3091,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[foo]: /url\nbar\n===\n[foo]\n",
- "html": "<h1>bar</h1>\n<p><a href=\"/url\">foo</a></p>\n",
- "example": 184,
- "start_line": 3093,
- "end_line": 3101,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[foo]: /url\n===\n[foo]\n",
- "html": "<p>===\n<a href=\"/url\">foo</a></p>\n",
- "example": 185,
- "start_line": 3103,
- "end_line": 3110,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[foo]: /foo-url \"foo\"\n[bar]: /bar-url\n \"bar\"\n[baz]: /baz-url\n\n[foo],\n[bar],\n[baz]\n",
- "html": "<p><a href=\"/foo-url\" title=\"foo\">foo</a>,\n<a href=\"/bar-url\" title=\"bar\">bar</a>,\n<a href=\"/baz-url\">baz</a></p>\n",
- "example": 186,
- "start_line": 3116,
- "end_line": 3129,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[foo]\n\n> [foo]: /url\n",
- "html": "<p><a href=\"/url\">foo</a></p>\n<blockquote>\n</blockquote>\n",
- "example": 187,
- "start_line": 3137,
- "end_line": 3145,
- "section": "Link reference definitions"
- },
- {
- "markdown": "[foo]: /url\n",
- "html": "",
- "example": 188,
- "start_line": 3154,
- "end_line": 3157,
- "section": "Link reference definitions"
- },
- {
- "markdown": "aaa\n\nbbb\n",
- "html": "<p>aaa</p>\n<p>bbb</p>\n",
- "example": 189,
- "start_line": 3171,
- "end_line": 3178,
- "section": "Paragraphs"
- },
- {
- "markdown": "aaa\nbbb\n\nccc\nddd\n",
- "html": "<p>aaa\nbbb</p>\n<p>ccc\nddd</p>\n",
- "example": 190,
- "start_line": 3183,
- "end_line": 3194,
- "section": "Paragraphs"
- },
- {
- "markdown": "aaa\n\n\nbbb\n",
- "html": "<p>aaa</p>\n<p>bbb</p>\n",
- "example": 191,
- "start_line": 3199,
- "end_line": 3207,
- "section": "Paragraphs"
- },
- {
- "markdown": " aaa\n bbb\n",
- "html": "<p>aaa\nbbb</p>\n",
- "example": 192,
- "start_line": 3212,
- "end_line": 3218,
- "section": "Paragraphs"
- },
- {
- "markdown": "aaa\n bbb\n ccc\n",
- "html": "<p>aaa\nbbb\nccc</p>\n",
- "example": 193,
- "start_line": 3224,
- "end_line": 3232,
- "section": "Paragraphs"
- },
- {
- "markdown": " aaa\nbbb\n",
- "html": "<p>aaa\nbbb</p>\n",
- "example": 194,
- "start_line": 3238,
- "end_line": 3244,
- "section": "Paragraphs"
- },
- {
- "markdown": " aaa\nbbb\n",
- "html": "<pre><code>aaa\n</code></pre>\n<p>bbb</p>\n",
- "example": 195,
- "start_line": 3247,
- "end_line": 3254,
- "section": "Paragraphs"
- },
- {
- "markdown": "aaa \nbbb \n",
- "html": "<p>aaa<br />\nbbb</p>\n",
- "example": 196,
- "start_line": 3261,
- "end_line": 3267,
- "section": "Paragraphs"
- },
- {
- "markdown": " \n\naaa\n \n\n# aaa\n\n \n",
- "html": "<p>aaa</p>\n<h1>aaa</h1>\n",
- "example": 197,
- "start_line": 3278,
- "end_line": 3290,
- "section": "Blank lines"
- },
- {
- "markdown": "> # Foo\n> bar\n> baz\n",
- "html": "<blockquote>\n<h1>Foo</h1>\n<p>bar\nbaz</p>\n</blockquote>\n",
- "example": 198,
- "start_line": 3344,
- "end_line": 3354,
- "section": "Block quotes"
- },
- {
- "markdown": "># Foo\n>bar\n> baz\n",
- "html": "<blockquote>\n<h1>Foo</h1>\n<p>bar\nbaz</p>\n</blockquote>\n",
- "example": 199,
- "start_line": 3359,
- "end_line": 3369,
- "section": "Block quotes"
- },
- {
- "markdown": " > # Foo\n > bar\n > baz\n",
- "html": "<blockquote>\n<h1>Foo</h1>\n<p>bar\nbaz</p>\n</blockquote>\n",
- "example": 200,
- "start_line": 3374,
- "end_line": 3384,
- "section": "Block quotes"
- },
- {
- "markdown": " > # Foo\n > bar\n > baz\n",
- "html": "<pre><code>&gt; # Foo\n&gt; bar\n&gt; baz\n</code></pre>\n",
- "example": 201,
- "start_line": 3389,
- "end_line": 3398,
- "section": "Block quotes"
- },
- {
- "markdown": "> # Foo\n> bar\nbaz\n",
- "html": "<blockquote>\n<h1>Foo</h1>\n<p>bar\nbaz</p>\n</blockquote>\n",
- "example": 202,
- "start_line": 3404,
- "end_line": 3414,
- "section": "Block quotes"
- },
- {
- "markdown": "> bar\nbaz\n> foo\n",
- "html": "<blockquote>\n<p>bar\nbaz\nfoo</p>\n</blockquote>\n",
- "example": 203,
- "start_line": 3420,
- "end_line": 3430,
- "section": "Block quotes"
- },
- {
- "markdown": "> foo\n---\n",
- "html": "<blockquote>\n<p>foo</p>\n</blockquote>\n<hr />\n",
- "example": 204,
- "start_line": 3444,
- "end_line": 3452,
- "section": "Block quotes"
- },
- {
- "markdown": "> - foo\n- bar\n",
- "html": "<blockquote>\n<ul>\n<li>foo</li>\n</ul>\n</blockquote>\n<ul>\n<li>bar</li>\n</ul>\n",
- "example": 205,
- "start_line": 3464,
- "end_line": 3476,
- "section": "Block quotes",
- "shouldFail": true
- },
- {
- "markdown": "> foo\n bar\n",
- "html": "<blockquote>\n<pre><code>foo\n</code></pre>\n</blockquote>\n<pre><code>bar\n</code></pre>\n",
- "example": 206,
- "start_line": 3482,
- "end_line": 3492,
- "section": "Block quotes",
- "shouldFail": true
- },
- {
- "markdown": "> ```\nfoo\n```\n",
- "html": "<blockquote>\n<pre><code></code></pre>\n</blockquote>\n<p>foo</p>\n<pre><code></code></pre>\n",
- "example": 207,
- "start_line": 3495,
- "end_line": 3505,
- "section": "Block quotes",
- "shouldFail": true
- },
- {
- "markdown": "> foo\n - bar\n",
- "html": "<blockquote>\n<p>foo\n- bar</p>\n</blockquote>\n",
- "example": 208,
- "start_line": 3511,
- "end_line": 3519,
- "section": "Block quotes"
- },
- {
- "markdown": ">\n",
- "html": "<blockquote>\n</blockquote>\n",
- "example": 209,
- "start_line": 3535,
- "end_line": 3540,
- "section": "Block quotes"
- },
- {
- "markdown": ">\n> \n> \n",
- "html": "<blockquote>\n</blockquote>\n",
- "example": 210,
- "start_line": 3543,
- "end_line": 3550,
- "section": "Block quotes"
- },
- {
- "markdown": ">\n> foo\n> \n",
- "html": "<blockquote>\n<p>foo</p>\n</blockquote>\n",
- "example": 211,
- "start_line": 3555,
- "end_line": 3563,
- "section": "Block quotes"
- },
- {
- "markdown": "> foo\n\n> bar\n",
- "html": "<blockquote>\n<p>foo</p>\n</blockquote>\n<blockquote>\n<p>bar</p>\n</blockquote>\n",
- "example": 212,
- "start_line": 3568,
- "end_line": 3579,
- "section": "Block quotes"
- },
- {
- "markdown": "> foo\n> bar\n",
- "html": "<blockquote>\n<p>foo\nbar</p>\n</blockquote>\n",
- "example": 213,
- "start_line": 3590,
- "end_line": 3598,
- "section": "Block quotes"
- },
- {
- "markdown": "> foo\n>\n> bar\n",
- "html": "<blockquote>\n<p>foo</p>\n<p>bar</p>\n</blockquote>\n",
- "example": 214,
- "start_line": 3603,
- "end_line": 3612,
- "section": "Block quotes"
- },
- {
- "markdown": "foo\n> bar\n",
- "html": "<p>foo</p>\n<blockquote>\n<p>bar</p>\n</blockquote>\n",
- "example": 215,
- "start_line": 3617,
- "end_line": 3625,
- "section": "Block quotes"
- },
- {
- "markdown": "> aaa\n***\n> bbb\n",
- "html": "<blockquote>\n<p>aaa</p>\n</blockquote>\n<hr />\n<blockquote>\n<p>bbb</p>\n</blockquote>\n",
- "example": 216,
- "start_line": 3631,
- "end_line": 3643,
- "section": "Block quotes"
- },
- {
- "markdown": "> bar\nbaz\n",
- "html": "<blockquote>\n<p>bar\nbaz</p>\n</blockquote>\n",
- "example": 217,
- "start_line": 3649,
- "end_line": 3657,
- "section": "Block quotes"
- },
- {
- "markdown": "> bar\n\nbaz\n",
- "html": "<blockquote>\n<p>bar</p>\n</blockquote>\n<p>baz</p>\n",
- "example": 218,
- "start_line": 3660,
- "end_line": 3669,
- "section": "Block quotes"
- },
- {
- "markdown": "> bar\n>\nbaz\n",
- "html": "<blockquote>\n<p>bar</p>\n</blockquote>\n<p>baz</p>\n",
- "example": 219,
- "start_line": 3672,
- "end_line": 3681,
- "section": "Block quotes"
- },
- {
- "markdown": "> > > foo\nbar\n",
- "html": "<blockquote>\n<blockquote>\n<blockquote>\n<p>foo\nbar</p>\n</blockquote>\n</blockquote>\n</blockquote>\n",
- "example": 220,
- "start_line": 3688,
- "end_line": 3700,
- "section": "Block quotes"
- },
- {
- "markdown": ">>> foo\n> bar\n>>baz\n",
- "html": "<blockquote>\n<blockquote>\n<blockquote>\n<p>foo\nbar\nbaz</p>\n</blockquote>\n</blockquote>\n</blockquote>\n",
- "example": 221,
- "start_line": 3703,
- "end_line": 3717,
- "section": "Block quotes"
- },
- {
- "markdown": "> code\n\n> not code\n",
- "html": "<blockquote>\n<pre><code>code\n</code></pre>\n</blockquote>\n<blockquote>\n<p>not code</p>\n</blockquote>\n",
- "example": 222,
- "start_line": 3725,
- "end_line": 3737,
- "section": "Block quotes"
- },
- {
- "markdown": "A paragraph\nwith two lines.\n\n indented code\n\n> A block quote.\n",
- "html": "<p>A paragraph\nwith two lines.</p>\n<pre><code>indented code\n</code></pre>\n<blockquote>\n<p>A block quote.</p>\n</blockquote>\n",
- "example": 223,
- "start_line": 3779,
- "end_line": 3794,
- "section": "List items"
- },
- {
- "markdown": "1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote.\n",
- "html": "<ol>\n<li>\n<p>A paragraph\nwith two lines.</p>\n<pre><code>indented code\n</code></pre>\n<blockquote>\n<p>A block quote.</p>\n</blockquote>\n</li>\n</ol>\n",
- "example": 224,
- "start_line": 3801,
- "end_line": 3820,
- "section": "List items"
- },
- {
- "markdown": "- one\n\n two\n",
- "html": "<ul>\n<li>one</li>\n</ul>\n<p>two</p>\n",
- "example": 225,
- "start_line": 3834,
- "end_line": 3843,
- "section": "List items",
- "shouldFail": true
- },
- {
- "markdown": "- one\n\n two\n",
- "html": "<ul>\n<li>\n<p>one</p>\n<p>two</p>\n</li>\n</ul>\n",
- "example": 226,
- "start_line": 3846,
- "end_line": 3857,
- "section": "List items"
- },
- {
- "markdown": " - one\n\n two\n",
- "html": "<ul>\n<li>one</li>\n</ul>\n<pre><code> two\n</code></pre>\n",
- "example": 227,
- "start_line": 3860,
- "end_line": 3870,
- "section": "List items",
- "shouldFail": true
- },
- {
- "markdown": " - one\n\n two\n",
- "html": "<ul>\n<li>\n<p>one</p>\n<p>two</p>\n</li>\n</ul>\n",
- "example": 228,
- "start_line": 3873,
- "end_line": 3884,
- "section": "List items"
- },
- {
- "markdown": " > > 1. one\n>>\n>> two\n",
- "html": "<blockquote>\n<blockquote>\n<ol>\n<li>\n<p>one</p>\n<p>two</p>\n</li>\n</ol>\n</blockquote>\n</blockquote>\n",
- "example": 229,
- "start_line": 3895,
- "end_line": 3910,
- "section": "List items"
- },
- {
- "markdown": ">>- one\n>>\n > > two\n",
- "html": "<blockquote>\n<blockquote>\n<ul>\n<li>one</li>\n</ul>\n<p>two</p>\n</blockquote>\n</blockquote>\n",
- "example": 230,
- "start_line": 3922,
- "end_line": 3935,
- "section": "List items"
- },
- {
- "markdown": "-one\n\n2.two\n",
- "html": "<p>-one</p>\n<p>2.two</p>\n",
- "example": 231,
- "start_line": 3941,
- "end_line": 3948,
- "section": "List items"
- },
- {
- "markdown": "- foo\n\n\n bar\n",
- "html": "<ul>\n<li>\n<p>foo</p>\n<p>bar</p>\n</li>\n</ul>\n",
- "example": 232,
- "start_line": 3954,
- "end_line": 3966,
- "section": "List items",
- "shouldFail": true
- },
- {
- "markdown": "1. foo\n\n ```\n bar\n ```\n\n baz\n\n > bam\n",
- "html": "<ol>\n<li>\n<p>foo</p>\n<pre><code>bar\n</code></pre>\n<p>baz</p>\n<blockquote>\n<p>bam</p>\n</blockquote>\n</li>\n</ol>\n",
- "example": 233,
- "start_line": 3971,
- "end_line": 3993,
- "section": "List items"
- },
- {
- "markdown": "- Foo\n\n bar\n\n\n baz\n",
- "html": "<ul>\n<li>\n<p>Foo</p>\n<pre><code>bar\n\n\nbaz\n</code></pre>\n</li>\n</ul>\n",
- "example": 234,
- "start_line": 3999,
- "end_line": 4017,
- "section": "List items",
- "shouldFail": true
- },
- {
- "markdown": "123456789. ok\n",
- "html": "<ol start=\"123456789\">\n<li>ok</li>\n</ol>\n",
- "example": 235,
- "start_line": 4021,
- "end_line": 4027,
- "section": "List items"
- },
- {
- "markdown": "1234567890. not ok\n",
- "html": "<p>1234567890. not ok</p>\n",
- "example": 236,
- "start_line": 4030,
- "end_line": 4034,
- "section": "List items"
- },
- {
- "markdown": "0. ok\n",
- "html": "<ol start=\"0\">\n<li>ok</li>\n</ol>\n",
- "example": 237,
- "start_line": 4039,
- "end_line": 4045,
- "section": "List items"
- },
- {
- "markdown": "003. ok\n",
- "html": "<ol start=\"3\">\n<li>ok</li>\n</ol>\n",
- "example": 238,
- "start_line": 4048,
- "end_line": 4054,
- "section": "List items"
- },
- {
- "markdown": "-1. not ok\n",
- "html": "<p>-1. not ok</p>\n",
- "example": 239,
- "start_line": 4059,
- "end_line": 4063,
- "section": "List items"
- },
- {
- "markdown": "- foo\n\n bar\n",
- "html": "<ul>\n<li>\n<p>foo</p>\n<pre><code>bar\n</code></pre>\n</li>\n</ul>\n",
- "example": 240,
- "start_line": 4082,
- "end_line": 4094,
- "section": "List items"
- },
- {
- "markdown": " 10. foo\n\n bar\n",
- "html": "<ol start=\"10\">\n<li>\n<p>foo</p>\n<pre><code>bar\n</code></pre>\n</li>\n</ol>\n",
- "example": 241,
- "start_line": 4099,
- "end_line": 4111,
- "section": "List items"
- },
- {
- "markdown": " indented code\n\nparagraph\n\n more code\n",
- "html": "<pre><code>indented code\n</code></pre>\n<p>paragraph</p>\n<pre><code>more code\n</code></pre>\n",
- "example": 242,
- "start_line": 4118,
- "end_line": 4130,
- "section": "List items"
- },
- {
- "markdown": "1. indented code\n\n paragraph\n\n more code\n",
- "html": "<ol>\n<li>\n<pre><code>indented code\n</code></pre>\n<p>paragraph</p>\n<pre><code>more code\n</code></pre>\n</li>\n</ol>\n",
- "example": 243,
- "start_line": 4133,
- "end_line": 4149,
- "section": "List items",
- "shouldFail": true
- },
- {
- "markdown": "1. indented code\n\n paragraph\n\n more code\n",
- "html": "<ol>\n<li>\n<pre><code> indented code\n</code></pre>\n<p>paragraph</p>\n<pre><code>more code\n</code></pre>\n</li>\n</ol>\n",
- "example": 244,
- "start_line": 4155,
- "end_line": 4171,
- "section": "List items",
- "shouldFail": true
- },
- {
- "markdown": " foo\n\nbar\n",
- "html": "<p>foo</p>\n<p>bar</p>\n",
- "example": 245,
- "start_line": 4182,
- "end_line": 4189,
- "section": "List items"
- },
- {
- "markdown": "- foo\n\n bar\n",
- "html": "<ul>\n<li>foo</li>\n</ul>\n<p>bar</p>\n",
- "example": 246,
- "start_line": 4192,
- "end_line": 4201,
- "section": "List items",
- "shouldFail": true
- },
- {
- "markdown": "- foo\n\n bar\n",
- "html": "<ul>\n<li>\n<p>foo</p>\n<p>bar</p>\n</li>\n</ul>\n",
- "example": 247,
- "start_line": 4209,
- "end_line": 4220,
- "section": "List items"
- },
- {
- "markdown": "-\n foo\n-\n ```\n bar\n ```\n-\n baz\n",
- "html": "<ul>\n<li>foo</li>\n<li>\n<pre><code>bar\n</code></pre>\n</li>\n<li>\n<pre><code>baz\n</code></pre>\n</li>\n</ul>\n",
- "example": 248,
- "start_line": 4237,
- "end_line": 4258,
- "section": "List items",
- "shouldFail": true
- },
- {
- "markdown": "- \n foo\n",
- "html": "<ul>\n<li>foo</li>\n</ul>\n",
- "example": 249,
- "start_line": 4263,
- "end_line": 4270,
- "section": "List items"
- },
- {
- "markdown": "-\n\n foo\n",
- "html": "<ul>\n<li></li>\n</ul>\n<p>foo</p>\n",
- "example": 250,
- "start_line": 4277,
- "end_line": 4286,
- "section": "List items",
- "shouldFail": true
- },
- {
- "markdown": "- foo\n-\n- bar\n",
- "html": "<ul>\n<li>foo</li>\n<li></li>\n<li>bar</li>\n</ul>\n",
- "example": 251,
- "start_line": 4291,
- "end_line": 4301,
- "section": "List items"
- },
- {
- "markdown": "- foo\n- \n- bar\n",
- "html": "<ul>\n<li>foo</li>\n<li></li>\n<li>bar</li>\n</ul>\n",
- "example": 252,
- "start_line": 4306,
- "end_line": 4316,
- "section": "List items"
- },
- {
- "markdown": "1. foo\n2.\n3. bar\n",
- "html": "<ol>\n<li>foo</li>\n<li></li>\n<li>bar</li>\n</ol>\n",
- "example": 253,
- "start_line": 4321,
- "end_line": 4331,
- "section": "List items"
- },
- {
- "markdown": "*\n",
- "html": "<ul>\n<li></li>\n</ul>\n",
- "example": 254,
- "start_line": 4336,
- "end_line": 4342,
- "section": "List items",
- "shouldFail": true
- },
- {
- "markdown": "foo\n*\n\nfoo\n1.\n",
- "html": "<p>foo\n*</p>\n<p>foo\n1.</p>\n",
- "example": 255,
- "start_line": 4346,
- "end_line": 4357,
- "section": "List items"
- },
- {
- "markdown": " 1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote.\n",
- "html": "<ol>\n<li>\n<p>A paragraph\nwith two lines.</p>\n<pre><code>indented code\n</code></pre>\n<blockquote>\n<p>A block quote.</p>\n</blockquote>\n</li>\n</ol>\n",
- "example": 256,
- "start_line": 4368,
- "end_line": 4387,
- "section": "List items"
- },
- {
- "markdown": " 1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote.\n",
- "html": "<ol>\n<li>\n<p>A paragraph\nwith two lines.</p>\n<pre><code>indented code\n</code></pre>\n<blockquote>\n<p>A block quote.</p>\n</blockquote>\n</li>\n</ol>\n",
- "example": 257,
- "start_line": 4392,
- "end_line": 4411,
- "section": "List items"
- },
- {
- "markdown": " 1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote.\n",
- "html": "<ol>\n<li>\n<p>A paragraph\nwith two lines.</p>\n<pre><code>indented code\n</code></pre>\n<blockquote>\n<p>A block quote.</p>\n</blockquote>\n</li>\n</ol>\n",
- "example": 258,
- "start_line": 4416,
- "end_line": 4435,
- "section": "List items"
- },
- {
- "markdown": " 1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote.\n",
- "html": "<pre><code>1. A paragraph\n with two lines.\n\n indented code\n\n &gt; A block quote.\n</code></pre>\n",
- "example": 259,
- "start_line": 4440,
- "end_line": 4455,
- "section": "List items"
- },
- {
- "markdown": " 1. A paragraph\nwith two lines.\n\n indented code\n\n > A block quote.\n",
- "html": "<ol>\n<li>\n<p>A paragraph\nwith two lines.</p>\n<pre><code>indented code\n</code></pre>\n<blockquote>\n<p>A block quote.</p>\n</blockquote>\n</li>\n</ol>\n",
- "example": 260,
- "start_line": 4470,
- "end_line": 4489,
- "section": "List items"
- },
- {
- "markdown": " 1. A paragraph\n with two lines.\n",
- "html": "<ol>\n<li>A paragraph\nwith two lines.</li>\n</ol>\n",
- "example": 261,
- "start_line": 4494,
- "end_line": 4502,
- "section": "List items"
- },
- {
- "markdown": "> 1. > Blockquote\ncontinued here.\n",
- "html": "<blockquote>\n<ol>\n<li>\n<blockquote>\n<p>Blockquote\ncontinued here.</p>\n</blockquote>\n</li>\n</ol>\n</blockquote>\n",
- "example": 262,
- "start_line": 4507,
- "end_line": 4521,
- "section": "List items"
- },
- {
- "markdown": "> 1. > Blockquote\n> continued here.\n",
- "html": "<blockquote>\n<ol>\n<li>\n<blockquote>\n<p>Blockquote\ncontinued here.</p>\n</blockquote>\n</li>\n</ol>\n</blockquote>\n",
- "example": 263,
- "start_line": 4524,
- "end_line": 4538,
- "section": "List items"
- },
- {
- "markdown": "- foo\n - bar\n - baz\n - boo\n",
- "html": "<ul>\n<li>foo\n<ul>\n<li>bar\n<ul>\n<li>baz\n<ul>\n<li>boo</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n",
- "example": 264,
- "start_line": 4552,
- "end_line": 4573,
- "section": "List items"
- },
- {
- "markdown": "- foo\n - bar\n - baz\n - boo\n",
- "html": "<ul>\n<li>foo</li>\n<li>bar</li>\n<li>baz</li>\n<li>boo</li>\n</ul>\n",
- "example": 265,
- "start_line": 4578,
- "end_line": 4590,
- "section": "List items",
- "shouldFail": true
- },
- {
- "markdown": "10) foo\n - bar\n",
- "html": "<ol start=\"10\">\n<li>foo\n<ul>\n<li>bar</li>\n</ul>\n</li>\n</ol>\n",
- "example": 266,
- "start_line": 4595,
- "end_line": 4606,
- "section": "List items",
- "shouldFail": true
- },
- {
- "markdown": "10) foo\n - bar\n",
- "html": "<ol start=\"10\">\n<li>foo</li>\n</ol>\n<ul>\n<li>bar</li>\n</ul>\n",
- "example": 267,
- "start_line": 4611,
- "end_line": 4621,
- "section": "List items",
- "shouldFail": true
- },
- {
- "markdown": "- - foo\n",
- "html": "<ul>\n<li>\n<ul>\n<li>foo</li>\n</ul>\n</li>\n</ul>\n",
- "example": 268,
- "start_line": 4626,
- "end_line": 4636,
- "section": "List items"
- },
- {
- "markdown": "1. - 2. foo\n",
- "html": "<ol>\n<li>\n<ul>\n<li>\n<ol start=\"2\">\n<li>foo</li>\n</ol>\n</li>\n</ul>\n</li>\n</ol>\n",
- "example": 269,
- "start_line": 4639,
- "end_line": 4653,
- "section": "List items"
- },
- {
- "markdown": "- # Foo\n- Bar\n ---\n baz\n",
- "html": "<ul>\n<li>\n<h1>Foo</h1>\n</li>\n<li>\n<h2>Bar</h2>\nbaz</li>\n</ul>\n",
- "example": 270,
- "start_line": 4658,
- "end_line": 4672,
- "section": "List items"
- },
- {
- "markdown": "- foo\n- bar\n+ baz\n",
- "html": "<ul>\n<li>foo</li>\n<li>bar</li>\n</ul>\n<ul>\n<li>baz</li>\n</ul>\n",
- "example": 271,
- "start_line": 4894,
- "end_line": 4906,
- "section": "Lists",
- "shouldFail": true
- },
- {
- "markdown": "1. foo\n2. bar\n3) baz\n",
- "html": "<ol>\n<li>foo</li>\n<li>bar</li>\n</ol>\n<ol start=\"3\">\n<li>baz</li>\n</ol>\n",
- "example": 272,
- "start_line": 4909,
- "end_line": 4921,
- "section": "Lists",
- "shouldFail": true
- },
- {
- "markdown": "Foo\n- bar\n- baz\n",
- "html": "<p>Foo</p>\n<ul>\n<li>bar</li>\n<li>baz</li>\n</ul>\n",
- "example": 273,
- "start_line": 4928,
- "end_line": 4938,
- "section": "Lists"
- },
- {
- "markdown": "The number of windows in my house is\n14. The number of doors is 6.\n",
- "html": "<p>The number of windows in my house is\n14. The number of doors is 6.</p>\n",
- "example": 274,
- "start_line": 5005,
- "end_line": 5011,
- "section": "Lists",
- "shouldFail": true
- },
- {
- "markdown": "The number of windows in my house is\n1. The number of doors is 6.\n",
- "html": "<p>The number of windows in my house is</p>\n<ol>\n<li>The number of doors is 6.</li>\n</ol>\n",
- "example": 275,
- "start_line": 5015,
- "end_line": 5023,
- "section": "Lists"
- },
- {
- "markdown": "- foo\n\n- bar\n\n\n- baz\n",
- "html": "<ul>\n<li>\n<p>foo</p>\n</li>\n<li>\n<p>bar</p>\n</li>\n<li>\n<p>baz</p>\n</li>\n</ul>\n",
- "example": 276,
- "start_line": 5029,
- "end_line": 5048,
- "section": "Lists",
- "shouldFail": true
- },
- {
- "markdown": "- foo\n - bar\n - baz\n\n\n bim\n",
- "html": "<ul>\n<li>foo\n<ul>\n<li>bar\n<ul>\n<li>\n<p>baz</p>\n<p>bim</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n",
- "example": 277,
- "start_line": 5050,
- "end_line": 5072,
- "section": "Lists",
- "shouldFail": true
- },
- {
- "markdown": "- foo\n- bar\n\n<!-- -->\n\n- baz\n- bim\n",
- "html": "<ul>\n<li>foo</li>\n<li>bar</li>\n</ul>\n<!-- -->\n<ul>\n<li>baz</li>\n<li>bim</li>\n</ul>\n",
- "example": 278,
- "start_line": 5080,
- "end_line": 5098,
- "section": "Lists"
- },
- {
- "markdown": "- foo\n\n notcode\n\n- foo\n\n<!-- -->\n\n code\n",
- "html": "<ul>\n<li>\n<p>foo</p>\n<p>notcode</p>\n</li>\n<li>\n<p>foo</p>\n</li>\n</ul>\n<!-- -->\n<pre><code>code\n</code></pre>\n",
- "example": 279,
- "start_line": 5101,
- "end_line": 5124,
- "section": "Lists"
- },
- {
- "markdown": "- a\n - b\n - c\n - d\n - e\n - f\n- g\n",
- "html": "<ul>\n<li>a</li>\n<li>b</li>\n<li>c</li>\n<li>d</li>\n<li>e</li>\n<li>f</li>\n<li>g</li>\n</ul>\n",
- "example": 280,
- "start_line": 5132,
- "end_line": 5150,
- "section": "Lists",
- "shouldFail": true
- },
- {
- "markdown": "1. a\n\n 2. b\n\n 3. c\n",
- "html": "<ol>\n<li>\n<p>a</p>\n</li>\n<li>\n<p>b</p>\n</li>\n<li>\n<p>c</p>\n</li>\n</ol>\n",
- "example": 281,
- "start_line": 5153,
- "end_line": 5171,
- "section": "Lists",
- "shouldFail": true
- },
- {
- "markdown": "- a\n - b\n - c\n - d\n - e\n",
- "html": "<ul>\n<li>a</li>\n<li>b</li>\n<li>c</li>\n<li>d\n- e</li>\n</ul>\n",
- "example": 282,
- "start_line": 5177,
- "end_line": 5191,
- "section": "Lists",
- "shouldFail": true
- },
- {
- "markdown": "1. a\n\n 2. b\n\n 3. c\n",
- "html": "<ol>\n<li>\n<p>a</p>\n</li>\n<li>\n<p>b</p>\n</li>\n</ol>\n<pre><code>3. c\n</code></pre>\n",
- "example": 283,
- "start_line": 5197,
- "end_line": 5214,
- "section": "Lists",
- "shouldFail": true
- },
- {
- "markdown": "- a\n- b\n\n- c\n",
- "html": "<ul>\n<li>\n<p>a</p>\n</li>\n<li>\n<p>b</p>\n</li>\n<li>\n<p>c</p>\n</li>\n</ul>\n",
- "example": 284,
- "start_line": 5220,
- "end_line": 5237,
- "section": "Lists"
- },
- {
- "markdown": "* a\n*\n\n* c\n",
- "html": "<ul>\n<li>\n<p>a</p>\n</li>\n<li></li>\n<li>\n<p>c</p>\n</li>\n</ul>\n",
- "example": 285,
- "start_line": 5242,
- "end_line": 5257,
- "section": "Lists"
- },
- {
- "markdown": "- a\n- b\n\n c\n- d\n",
- "html": "<ul>\n<li>\n<p>a</p>\n</li>\n<li>\n<p>b</p>\n<p>c</p>\n</li>\n<li>\n<p>d</p>\n</li>\n</ul>\n",
- "example": 286,
- "start_line": 5264,
- "end_line": 5283,
- "section": "Lists"
- },
- {
- "markdown": "- a\n- b\n\n [ref]: /url\n- d\n",
- "html": "<ul>\n<li>\n<p>a</p>\n</li>\n<li>\n<p>b</p>\n</li>\n<li>\n<p>d</p>\n</li>\n</ul>\n",
- "example": 287,
- "start_line": 5286,
- "end_line": 5304,
- "section": "Lists",
- "shouldFail": true
- },
- {
- "markdown": "- a\n- ```\n b\n\n\n ```\n- c\n",
- "html": "<ul>\n<li>a</li>\n<li>\n<pre><code>b\n\n\n</code></pre>\n</li>\n<li>c</li>\n</ul>\n",
- "example": 288,
- "start_line": 5309,
- "end_line": 5328,
- "section": "Lists",
- "shouldFail": true
- },
- {
- "markdown": "- a\n - b\n\n c\n- d\n",
- "html": "<ul>\n<li>a\n<ul>\n<li>\n<p>b</p>\n<p>c</p>\n</li>\n</ul>\n</li>\n<li>d</li>\n</ul>\n",
- "example": 289,
- "start_line": 5335,
- "end_line": 5353,
- "section": "Lists",
- "shouldFail": true
- },
- {
- "markdown": "* a\n > b\n >\n* c\n",
- "html": "<ul>\n<li>a\n<blockquote>\n<p>b</p>\n</blockquote>\n</li>\n<li>c</li>\n</ul>\n",
- "example": 290,
- "start_line": 5359,
- "end_line": 5373,
- "section": "Lists"
- },
- {
- "markdown": "- a\n > b\n ```\n c\n ```\n- d\n",
- "html": "<ul>\n<li>a\n<blockquote>\n<p>b</p>\n</blockquote>\n<pre><code>c\n</code></pre>\n</li>\n<li>d</li>\n</ul>\n",
- "example": 291,
- "start_line": 5379,
- "end_line": 5397,
- "section": "Lists",
- "shouldFail": true
- },
- {
- "markdown": "- a\n",
- "html": "<ul>\n<li>a</li>\n</ul>\n",
- "example": 292,
- "start_line": 5402,
- "end_line": 5408,
- "section": "Lists"
- },
- {
- "markdown": "- a\n - b\n",
- "html": "<ul>\n<li>a\n<ul>\n<li>b</li>\n</ul>\n</li>\n</ul>\n",
- "example": 293,
- "start_line": 5411,
- "end_line": 5422,
- "section": "Lists"
- },
- {
- "markdown": "1. ```\n foo\n ```\n\n bar\n",
- "html": "<ol>\n<li>\n<pre><code>foo\n</code></pre>\n<p>bar</p>\n</li>\n</ol>\n",
- "example": 294,
- "start_line": 5428,
- "end_line": 5442,
- "section": "Lists"
- },
- {
- "markdown": "* foo\n * bar\n\n baz\n",
- "html": "<ul>\n<li>\n<p>foo</p>\n<ul>\n<li>bar</li>\n</ul>\n<p>baz</p>\n</li>\n</ul>\n",
- "example": 295,
- "start_line": 5447,
- "end_line": 5462,
- "section": "Lists"
- },
- {
- "markdown": "- a\n - b\n - c\n\n- d\n - e\n - f\n",
- "html": "<ul>\n<li>\n<p>a</p>\n<ul>\n<li>b</li>\n<li>c</li>\n</ul>\n</li>\n<li>\n<p>d</p>\n<ul>\n<li>e</li>\n<li>f</li>\n</ul>\n</li>\n</ul>\n",
- "example": 296,
- "start_line": 5465,
- "end_line": 5490,
- "section": "Lists"
- },
- {
- "markdown": "`hi`lo`\n",
- "html": "<p><code>hi</code>lo`</p>\n",
- "example": 297,
- "start_line": 5499,
- "end_line": 5503,
- "section": "Inlines"
- },
- {
- "markdown": "\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\-\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\\\\\]\\^\\_\\`\\{\\|\\}\\~\n",
- "html": "<p>!&quot;#$%&amp;'()*+,-./:;&lt;=&gt;?@[\\]^_`{|}~</p>\n",
- "example": 298,
- "start_line": 5513,
- "end_line": 5517,
- "section": "Backslash escapes"
- },
- {
- "markdown": "\\\t\\A\\a\\ \\3\\φ\\«\n",
- "html": "<p>\\\t\\A\\a\\ \\3\\φ\\«</p>\n",
- "example": 299,
- "start_line": 5523,
- "end_line": 5527,
- "section": "Backslash escapes"
- },
- {
- "markdown": "\\*not emphasized*\n\\<br/> not a tag\n\\[not a link](/foo)\n\\`not code`\n1\\. not a list\n\\* not a list\n\\# not a heading\n\\[foo]: /url \"not a reference\"\n\\&ouml; not a character entity\n",
- "html": "<p>*not emphasized*\n&lt;br/&gt; not a tag\n[not a link](/foo)\n`not code`\n1. not a list\n* not a list\n# not a heading\n[foo]: /url &quot;not a reference&quot;\n&amp;ouml; not a character entity</p>\n",
- "example": 300,
- "start_line": 5533,
- "end_line": 5553,
- "section": "Backslash escapes"
- },
- {
- "markdown": "\\\\*emphasis*\n",
- "html": "<p>\\<em>emphasis</em></p>\n",
- "example": 301,
- "start_line": 5558,
- "end_line": 5562,
- "section": "Backslash escapes"
- },
- {
- "markdown": "foo\\\nbar\n",
- "html": "<p>foo<br />\nbar</p>\n",
- "example": 302,
- "start_line": 5567,
- "end_line": 5573,
- "section": "Backslash escapes"
- },
- {
- "markdown": "`` \\[\\` ``\n",
- "html": "<p><code>\\[\\`</code></p>\n",
- "example": 303,
- "start_line": 5579,
- "end_line": 5583,
- "section": "Backslash escapes"
- },
- {
- "markdown": " \\[\\]\n",
- "html": "<pre><code>\\[\\]\n</code></pre>\n",
- "example": 304,
- "start_line": 5586,
- "end_line": 5591,
- "section": "Backslash escapes"
- },
- {
- "markdown": "~~~\n\\[\\]\n~~~\n",
- "html": "<pre><code>\\[\\]\n</code></pre>\n",
- "example": 305,
- "start_line": 5594,
- "end_line": 5601,
- "section": "Backslash escapes"
- },
- {
- "markdown": "<http://example.com?find=\\*>\n",
- "html": "<p><a href=\"http://example.com?find=%5C*\">http://example.com?find=\\*</a></p>\n",
- "example": 306,
- "start_line": 5604,
- "end_line": 5608,
- "section": "Backslash escapes"
- },
- {
- "markdown": "<a href=\"/bar\\/)\">\n",
- "html": "<a href=\"/bar\\/)\">\n",
- "example": 307,
- "start_line": 5611,
- "end_line": 5615,
- "section": "Backslash escapes"
- },
- {
- "markdown": "[foo](/bar\\* \"ti\\*tle\")\n",
- "html": "<p><a href=\"/bar*\" title=\"ti*tle\">foo</a></p>\n",
- "example": 308,
- "start_line": 5621,
- "end_line": 5625,
- "section": "Backslash escapes"
- },
- {
- "markdown": "[foo]\n\n[foo]: /bar\\* \"ti\\*tle\"\n",
- "html": "<p><a href=\"/bar*\" title=\"ti*tle\">foo</a></p>\n",
- "example": 309,
- "start_line": 5628,
- "end_line": 5634,
- "section": "Backslash escapes",
- "shouldFail": true
- },
- {
- "markdown": "``` foo\\+bar\nfoo\n```\n",
- "html": "<pre><code class=\"language-foo+bar\">foo\n</code></pre>\n",
- "example": 310,
- "start_line": 5637,
- "end_line": 5644,
- "section": "Backslash escapes",
- "shouldFail": true
- },
- {
- "markdown": "&nbsp; &amp; &copy; &AElig; &Dcaron;\n&frac34; &HilbertSpace; &DifferentialD;\n&ClockwiseContourIntegral; &ngE;\n",
- "html": "<p>  &amp; © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸</p>\n",
- "example": 311,
- "start_line": 5674,
- "end_line": 5682,
- "section": "Entity and numeric character references"
- },
- {
- "markdown": "&#35; &#1234; &#992; &#0;\n",
- "html": "<p># Ӓ Ϡ �</p>\n",
- "example": 312,
- "start_line": 5693,
- "end_line": 5697,
- "section": "Entity and numeric character references"
- },
- {
- "markdown": "&#X22; &#XD06; &#xcab;\n",
- "html": "<p>&quot; ആ ಫ</p>\n",
- "example": 313,
- "start_line": 5706,
- "end_line": 5710,
- "section": "Entity and numeric character references"
- },
- {
- "markdown": "&nbsp &x; &#; &#x;\n&#987654321;\n&#abcdef0;\n&ThisIsNotDefined; &hi?;\n",
- "html": "<p>&amp;nbsp &amp;x; &amp;#; &amp;#x;\n&amp;#987654321;\n&amp;#abcdef0;\n&amp;ThisIsNotDefined; &amp;hi?;</p>\n",
- "example": 314,
- "start_line": 5715,
- "end_line": 5725,
- "section": "Entity and numeric character references",
- "shouldFail": true
- },
- {
- "markdown": "&copy\n",
- "html": "<p>&amp;copy</p>\n",
- "example": 315,
- "start_line": 5732,
- "end_line": 5736,
- "section": "Entity and numeric character references"
- },
- {
- "markdown": "&MadeUpEntity;\n",
- "html": "<p>&amp;MadeUpEntity;</p>\n",
- "example": 316,
- "start_line": 5742,
- "end_line": 5746,
- "section": "Entity and numeric character references"
- },
- {
- "markdown": "<a href=\"&ouml;&ouml;.html\">\n",
- "html": "<a href=\"&ouml;&ouml;.html\">\n",
- "example": 317,
- "start_line": 5753,
- "end_line": 5757,
- "section": "Entity and numeric character references"
- },
- {
- "markdown": "[foo](/f&ouml;&ouml; \"f&ouml;&ouml;\")\n",
- "html": "<p><a href=\"/f%C3%B6%C3%B6\" title=\"föö\">foo</a></p>\n",
- "example": 318,
- "start_line": 5760,
- "end_line": 5764,
- "section": "Entity and numeric character references",
- "shouldFail": true
- },
- {
- "markdown": "[foo]\n\n[foo]: /f&ouml;&ouml; \"f&ouml;&ouml;\"\n",
- "html": "<p><a href=\"/f%C3%B6%C3%B6\" title=\"föö\">foo</a></p>\n",
- "example": 319,
- "start_line": 5767,
- "end_line": 5773,
- "section": "Entity and numeric character references",
- "shouldFail": true
- },
- {
- "markdown": "``` f&ouml;&ouml;\nfoo\n```\n",
- "html": "<pre><code class=\"language-föö\">foo\n</code></pre>\n",
- "example": 320,
- "start_line": 5776,
- "end_line": 5783,
- "section": "Entity and numeric character references",
- "shouldFail": true
- },
- {
- "markdown": "`f&ouml;&ouml;`\n",
- "html": "<p><code>f&amp;ouml;&amp;ouml;</code></p>\n",
- "example": 321,
- "start_line": 5789,
- "end_line": 5793,
- "section": "Entity and numeric character references"
- },
- {
- "markdown": " f&ouml;f&ouml;\n",
- "html": "<pre><code>f&amp;ouml;f&amp;ouml;\n</code></pre>\n",
- "example": 322,
- "start_line": 5796,
- "end_line": 5801,
- "section": "Entity and numeric character references"
- },
- {
- "markdown": "&#42;foo&#42;\n*foo*\n",
- "html": "<p>*foo*\n<em>foo</em></p>\n",
- "example": 323,
- "start_line": 5808,
- "end_line": 5814,
- "section": "Entity and numeric character references"
- },
- {
- "markdown": "&#42; foo\n\n* foo\n",
- "html": "<p>* foo</p>\n<ul>\n<li>foo</li>\n</ul>\n",
- "example": 324,
- "start_line": 5816,
- "end_line": 5825,
- "section": "Entity and numeric character references"
- },
- {
- "markdown": "foo&#10;&#10;bar\n",
- "html": "<p>foo\n\nbar</p>\n",
- "example": 325,
- "start_line": 5827,
- "end_line": 5833,
- "section": "Entity and numeric character references"
- },
- {
- "markdown": "&#9;foo\n",
- "html": "<p>\tfoo</p>\n",
- "example": 326,
- "start_line": 5835,
- "end_line": 5839,
- "section": "Entity and numeric character references"
- },
- {
- "markdown": "[a](url &quot;tit&quot;)\n",
- "html": "<p>[a](url &quot;tit&quot;)</p>\n",
- "example": 327,
- "start_line": 5842,
- "end_line": 5846,
- "section": "Entity and numeric character references"
- },
- {
- "markdown": "`foo`\n",
- "html": "<p><code>foo</code></p>\n",
- "example": 328,
- "start_line": 5870,
- "end_line": 5874,
- "section": "Code spans"
- },
- {
- "markdown": "`` foo ` bar ``\n",
- "html": "<p><code>foo ` bar</code></p>\n",
- "example": 329,
- "start_line": 5881,
- "end_line": 5885,
- "section": "Code spans"
- },
- {
- "markdown": "` `` `\n",
- "html": "<p><code>``</code></p>\n",
- "example": 330,
- "start_line": 5891,
- "end_line": 5895,
- "section": "Code spans"
- },
- {
- "markdown": "` `` `\n",
- "html": "<p><code> `` </code></p>\n",
- "example": 331,
- "start_line": 5899,
- "end_line": 5903,
- "section": "Code spans"
- },
- {
- "markdown": "` a`\n",
- "html": "<p><code> a</code></p>\n",
- "example": 332,
- "start_line": 5908,
- "end_line": 5912,
- "section": "Code spans"
- },
- {
- "markdown": "` b `\n",
- "html": "<p><code> b </code></p>\n",
- "example": 333,
- "start_line": 5917,
- "end_line": 5921,
- "section": "Code spans"
- },
- {
- "markdown": "` `\n` `\n",
- "html": "<p><code> </code>\n<code> </code></p>\n",
- "example": 334,
- "start_line": 5925,
- "end_line": 5931,
- "section": "Code spans"
- },
- {
- "markdown": "``\nfoo\nbar \nbaz\n``\n",
- "html": "<p><code>foo bar baz</code></p>\n",
- "example": 335,
- "start_line": 5936,
- "end_line": 5944,
- "section": "Code spans"
- },
- {
- "markdown": "``\nfoo \n``\n",
- "html": "<p><code>foo </code></p>\n",
- "example": 336,
- "start_line": 5946,
- "end_line": 5952,
- "section": "Code spans"
- },
- {
- "markdown": "`foo bar \nbaz`\n",
- "html": "<p><code>foo bar baz</code></p>\n",
- "example": 337,
- "start_line": 5957,
- "end_line": 5962,
- "section": "Code spans"
- },
- {
- "markdown": "`foo\\`bar`\n",
- "html": "<p><code>foo\\</code>bar`</p>\n",
- "example": 338,
- "start_line": 5974,
- "end_line": 5978,
- "section": "Code spans"
- },
- {
- "markdown": "``foo`bar``\n",
- "html": "<p><code>foo`bar</code></p>\n",
- "example": 339,
- "start_line": 5985,
- "end_line": 5989,
- "section": "Code spans"
- },
- {
- "markdown": "` foo `` bar `\n",
- "html": "<p><code>foo `` bar</code></p>\n",
- "example": 340,
- "start_line": 5991,
- "end_line": 5995,
- "section": "Code spans"
- },
- {
- "markdown": "*foo`*`\n",
- "html": "<p>*foo<code>*</code></p>\n",
- "example": 341,
- "start_line": 6003,
- "end_line": 6007,
- "section": "Code spans",
- "shouldFail": true
- },
- {
- "markdown": "[not a `link](/foo`)\n",
- "html": "<p>[not a <code>link](/foo</code>)</p>\n",
- "example": 342,
- "start_line": 6012,
- "end_line": 6016,
- "section": "Code spans",
- "shouldFail": true
- },
- {
- "markdown": "`<a href=\"`\">`\n",
- "html": "<p><code>&lt;a href=&quot;</code>&quot;&gt;`</p>\n",
- "example": 343,
- "start_line": 6022,
- "end_line": 6026,
- "section": "Code spans"
- },
- {
- "markdown": "<a href=\"`\">`\n",
- "html": "<p><a href=\"`\">`</p>\n",
- "example": 344,
- "start_line": 6031,
- "end_line": 6035,
- "section": "Code spans"
- },
- {
- "markdown": "`<http://foo.bar.`baz>`\n",
- "html": "<p><code>&lt;http://foo.bar.</code>baz&gt;`</p>\n",
- "example": 345,
- "start_line": 6040,
- "end_line": 6044,
- "section": "Code spans"
- },
- {
- "markdown": "<http://foo.bar.`baz>`\n",
- "html": "<p><a href=\"http://foo.bar.%60baz\">http://foo.bar.`baz</a>`</p>\n",
- "example": 346,
- "start_line": 6049,
- "end_line": 6053,
- "section": "Code spans"
- },
- {
- "markdown": "```foo``\n",
- "html": "<p>```foo``</p>\n",
- "example": 347,
- "start_line": 6059,
- "end_line": 6063,
- "section": "Code spans"
- },
- {
- "markdown": "`foo\n",
- "html": "<p>`foo</p>\n",
- "example": 348,
- "start_line": 6066,
- "end_line": 6070,
- "section": "Code spans"
- },
- {
- "markdown": "`foo``bar``\n",
- "html": "<p>`foo<code>bar</code></p>\n",
- "example": 349,
- "start_line": 6075,
- "end_line": 6079,
- "section": "Code spans"
- },
- {
- "markdown": "*foo bar*\n",
- "html": "<p><em>foo bar</em></p>\n",
- "example": 350,
- "start_line": 6292,
- "end_line": 6296,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "a * foo bar*\n",
- "html": "<p>a * foo bar*</p>\n",
- "example": 351,
- "start_line": 6302,
- "end_line": 6306,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "a*\"foo\"*\n",
- "html": "<p>a*&quot;foo&quot;*</p>\n",
- "example": 352,
- "start_line": 6313,
- "end_line": 6317,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "* a *\n",
- "html": "<p>* a *</p>\n",
- "example": 353,
- "start_line": 6322,
- "end_line": 6326,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "foo*bar*\n",
- "html": "<p>foo<em>bar</em></p>\n",
- "example": 354,
- "start_line": 6331,
- "end_line": 6335,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "5*6*78\n",
- "html": "<p>5<em>6</em>78</p>\n",
- "example": 355,
- "start_line": 6338,
- "end_line": 6342,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "_foo bar_\n",
- "html": "<p><em>foo bar</em></p>\n",
- "example": 356,
- "start_line": 6347,
- "end_line": 6351,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "_ foo bar_\n",
- "html": "<p>_ foo bar_</p>\n",
- "example": 357,
- "start_line": 6357,
- "end_line": 6361,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "a_\"foo\"_\n",
- "html": "<p>a_&quot;foo&quot;_</p>\n",
- "example": 358,
- "start_line": 6367,
- "end_line": 6371,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "foo_bar_\n",
- "html": "<p>foo_bar_</p>\n",
- "example": 359,
- "start_line": 6376,
- "end_line": 6380,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "5_6_78\n",
- "html": "<p>5_6_78</p>\n",
- "example": 360,
- "start_line": 6383,
- "end_line": 6387,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "пристаням_стремятся_\n",
- "html": "<p>пристаням_стремятся_</p>\n",
- "example": 361,
- "start_line": 6390,
- "end_line": 6394,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "aa_\"bb\"_cc\n",
- "html": "<p>aa_&quot;bb&quot;_cc</p>\n",
- "example": 362,
- "start_line": 6400,
- "end_line": 6404,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "foo-_(bar)_\n",
- "html": "<p>foo-<em>(bar)</em></p>\n",
- "example": 363,
- "start_line": 6411,
- "end_line": 6415,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "_foo*\n",
- "html": "<p>_foo*</p>\n",
- "example": 364,
- "start_line": 6423,
- "end_line": 6427,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "*foo bar *\n",
- "html": "<p>*foo bar *</p>\n",
- "example": 365,
- "start_line": 6433,
- "end_line": 6437,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "*foo bar\n*\n",
- "html": "<p>*foo bar\n*</p>\n",
- "example": 366,
- "start_line": 6442,
- "end_line": 6448,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "*(*foo)\n",
- "html": "<p>*(*foo)</p>\n",
- "example": 367,
- "start_line": 6455,
- "end_line": 6459,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "*(*foo*)*\n",
- "html": "<p><em>(<em>foo</em>)</em></p>\n",
- "example": 368,
- "start_line": 6465,
- "end_line": 6469,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "*foo*bar\n",
- "html": "<p><em>foo</em>bar</p>\n",
- "example": 369,
- "start_line": 6474,
- "end_line": 6478,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "_foo bar _\n",
- "html": "<p>_foo bar _</p>\n",
- "example": 370,
- "start_line": 6487,
- "end_line": 6491,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "_(_foo)\n",
- "html": "<p>_(_foo)</p>\n",
- "example": 371,
- "start_line": 6497,
- "end_line": 6501,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "_(_foo_)_\n",
- "html": "<p><em>(<em>foo</em>)</em></p>\n",
- "example": 372,
- "start_line": 6506,
- "end_line": 6510,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "_foo_bar\n",
- "html": "<p>_foo_bar</p>\n",
- "example": 373,
- "start_line": 6515,
- "end_line": 6519,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "_пристаням_стремятся\n",
- "html": "<p>_пристаням_стремятся</p>\n",
- "example": 374,
- "start_line": 6522,
- "end_line": 6526,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "_foo_bar_baz_\n",
- "html": "<p><em>foo_bar_baz</em></p>\n",
- "example": 375,
- "start_line": 6529,
- "end_line": 6533,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "_(bar)_.\n",
- "html": "<p><em>(bar)</em>.</p>\n",
- "example": 376,
- "start_line": 6540,
- "end_line": 6544,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**foo bar**\n",
- "html": "<p><strong>foo bar</strong></p>\n",
- "example": 377,
- "start_line": 6549,
- "end_line": 6553,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "** foo bar**\n",
- "html": "<p>** foo bar**</p>\n",
- "example": 378,
- "start_line": 6559,
- "end_line": 6563,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "a**\"foo\"**\n",
- "html": "<p>a**&quot;foo&quot;**</p>\n",
- "example": 379,
- "start_line": 6570,
- "end_line": 6574,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "foo**bar**\n",
- "html": "<p>foo<strong>bar</strong></p>\n",
- "example": 380,
- "start_line": 6579,
- "end_line": 6583,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "__foo bar__\n",
- "html": "<p><strong>foo bar</strong></p>\n",
- "example": 381,
- "start_line": 6588,
- "end_line": 6592,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "__ foo bar__\n",
- "html": "<p>__ foo bar__</p>\n",
- "example": 382,
- "start_line": 6598,
- "end_line": 6602,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "__\nfoo bar__\n",
- "html": "<p>__\nfoo bar__</p>\n",
- "example": 383,
- "start_line": 6606,
- "end_line": 6612,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "a__\"foo\"__\n",
- "html": "<p>a__&quot;foo&quot;__</p>\n",
- "example": 384,
- "start_line": 6618,
- "end_line": 6622,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "foo__bar__\n",
- "html": "<p>foo__bar__</p>\n",
- "example": 385,
- "start_line": 6627,
- "end_line": 6631,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "5__6__78\n",
- "html": "<p>5__6__78</p>\n",
- "example": 386,
- "start_line": 6634,
- "end_line": 6638,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "пристаням__стремятся__\n",
- "html": "<p>пристаням__стремятся__</p>\n",
- "example": 387,
- "start_line": 6641,
- "end_line": 6645,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "__foo, __bar__, baz__\n",
- "html": "<p><strong>foo, <strong>bar</strong>, baz</strong></p>\n",
- "example": 388,
- "start_line": 6648,
- "end_line": 6652,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "foo-__(bar)__\n",
- "html": "<p>foo-<strong>(bar)</strong></p>\n",
- "example": 389,
- "start_line": 6659,
- "end_line": 6663,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**foo bar **\n",
- "html": "<p>**foo bar **</p>\n",
- "example": 390,
- "start_line": 6672,
- "end_line": 6676,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "**(**foo)\n",
- "html": "<p>**(**foo)</p>\n",
- "example": 391,
- "start_line": 6685,
- "end_line": 6689,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "*(**foo**)*\n",
- "html": "<p><em>(<strong>foo</strong>)</em></p>\n",
- "example": 392,
- "start_line": 6695,
- "end_line": 6699,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**Gomphocarpus (*Gomphocarpus physocarpus*, syn.\n*Asclepias physocarpa*)**\n",
- "html": "<p><strong>Gomphocarpus (<em>Gomphocarpus physocarpus</em>, syn.\n<em>Asclepias physocarpa</em>)</strong></p>\n",
- "example": 393,
- "start_line": 6702,
- "end_line": 6708,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**foo \"*bar*\" foo**\n",
- "html": "<p><strong>foo &quot;<em>bar</em>&quot; foo</strong></p>\n",
- "example": 394,
- "start_line": 6711,
- "end_line": 6715,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**foo**bar\n",
- "html": "<p><strong>foo</strong>bar</p>\n",
- "example": 395,
- "start_line": 6720,
- "end_line": 6724,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "__foo bar __\n",
- "html": "<p>__foo bar __</p>\n",
- "example": 396,
- "start_line": 6732,
- "end_line": 6736,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "__(__foo)\n",
- "html": "<p>__(__foo)</p>\n",
- "example": 397,
- "start_line": 6742,
- "end_line": 6746,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "_(__foo__)_\n",
- "html": "<p><em>(<strong>foo</strong>)</em></p>\n",
- "example": 398,
- "start_line": 6752,
- "end_line": 6756,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "__foo__bar\n",
- "html": "<p>__foo__bar</p>\n",
- "example": 399,
- "start_line": 6761,
- "end_line": 6765,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "__пристаням__стремятся\n",
- "html": "<p>__пристаням__стремятся</p>\n",
- "example": 400,
- "start_line": 6768,
- "end_line": 6772,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "__foo__bar__baz__\n",
- "html": "<p><strong>foo__bar__baz</strong></p>\n",
- "example": 401,
- "start_line": 6775,
- "end_line": 6779,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "__(bar)__.\n",
- "html": "<p><strong>(bar)</strong>.</p>\n",
- "example": 402,
- "start_line": 6786,
- "end_line": 6790,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "*foo [bar](/url)*\n",
- "html": "<p><em>foo <a href=\"/url\">bar</a></em></p>\n",
- "example": 403,
- "start_line": 6798,
- "end_line": 6802,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "*foo\nbar*\n",
- "html": "<p><em>foo\nbar</em></p>\n",
- "example": 404,
- "start_line": 6805,
- "end_line": 6811,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "_foo __bar__ baz_\n",
- "html": "<p><em>foo <strong>bar</strong> baz</em></p>\n",
- "example": 405,
- "start_line": 6817,
- "end_line": 6821,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "_foo _bar_ baz_\n",
- "html": "<p><em>foo <em>bar</em> baz</em></p>\n",
- "example": 406,
- "start_line": 6824,
- "end_line": 6828,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "__foo_ bar_\n",
- "html": "<p><em><em>foo</em> bar</em></p>\n",
- "example": 407,
- "start_line": 6831,
- "end_line": 6835,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "*foo *bar**\n",
- "html": "<p><em>foo <em>bar</em></em></p>\n",
- "example": 408,
- "start_line": 6838,
- "end_line": 6842,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "*foo **bar** baz*\n",
- "html": "<p><em>foo <strong>bar</strong> baz</em></p>\n",
- "example": 409,
- "start_line": 6845,
- "end_line": 6849,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "*foo**bar**baz*\n",
- "html": "<p><em>foo<strong>bar</strong>baz</em></p>\n",
- "example": 410,
- "start_line": 6851,
- "end_line": 6855,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "*foo**bar*\n",
- "html": "<p><em>foo**bar</em></p>\n",
- "example": 411,
- "start_line": 6875,
- "end_line": 6879,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "***foo** bar*\n",
- "html": "<p><em><strong>foo</strong> bar</em></p>\n",
- "example": 412,
- "start_line": 6888,
- "end_line": 6892,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "*foo **bar***\n",
- "html": "<p><em>foo <strong>bar</strong></em></p>\n",
- "example": 413,
- "start_line": 6895,
- "end_line": 6899,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "*foo**bar***\n",
- "html": "<p><em>foo<strong>bar</strong></em></p>\n",
- "example": 414,
- "start_line": 6902,
- "end_line": 6906,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "foo***bar***baz\n",
- "html": "<p>foo<em><strong>bar</strong></em>baz</p>\n",
- "example": 415,
- "start_line": 6913,
- "end_line": 6917,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "foo******bar*********baz\n",
- "html": "<p>foo<strong><strong><strong>bar</strong></strong></strong>***baz</p>\n",
- "example": 416,
- "start_line": 6919,
- "end_line": 6923,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "*foo **bar *baz* bim** bop*\n",
- "html": "<p><em>foo <strong>bar <em>baz</em> bim</strong> bop</em></p>\n",
- "example": 417,
- "start_line": 6928,
- "end_line": 6932,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "*foo [*bar*](/url)*\n",
- "html": "<p><em>foo <a href=\"/url\"><em>bar</em></a></em></p>\n",
- "example": 418,
- "start_line": 6935,
- "end_line": 6939,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "** is not an empty emphasis\n",
- "html": "<p>** is not an empty emphasis</p>\n",
- "example": 419,
- "start_line": 6944,
- "end_line": 6948,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**** is not an empty strong emphasis\n",
- "html": "<p>**** is not an empty strong emphasis</p>\n",
- "example": 420,
- "start_line": 6951,
- "end_line": 6955,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**foo [bar](/url)**\n",
- "html": "<p><strong>foo <a href=\"/url\">bar</a></strong></p>\n",
- "example": 421,
- "start_line": 6964,
- "end_line": 6968,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**foo\nbar**\n",
- "html": "<p><strong>foo\nbar</strong></p>\n",
- "example": 422,
- "start_line": 6971,
- "end_line": 6977,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "__foo _bar_ baz__\n",
- "html": "<p><strong>foo <em>bar</em> baz</strong></p>\n",
- "example": 423,
- "start_line": 6983,
- "end_line": 6987,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "__foo __bar__ baz__\n",
- "html": "<p><strong>foo <strong>bar</strong> baz</strong></p>\n",
- "example": 424,
- "start_line": 6990,
- "end_line": 6994,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "____foo__ bar__\n",
- "html": "<p><strong><strong>foo</strong> bar</strong></p>\n",
- "example": 425,
- "start_line": 6997,
- "end_line": 7001,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "**foo **bar****\n",
- "html": "<p><strong>foo <strong>bar</strong></strong></p>\n",
- "example": 426,
- "start_line": 7004,
- "end_line": 7008,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**foo *bar* baz**\n",
- "html": "<p><strong>foo <em>bar</em> baz</strong></p>\n",
- "example": 427,
- "start_line": 7011,
- "end_line": 7015,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**foo*bar*baz**\n",
- "html": "<p><strong>foo<em>bar</em>baz</strong></p>\n",
- "example": 428,
- "start_line": 7018,
- "end_line": 7022,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "***foo* bar**\n",
- "html": "<p><strong><em>foo</em> bar</strong></p>\n",
- "example": 429,
- "start_line": 7025,
- "end_line": 7029,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**foo *bar***\n",
- "html": "<p><strong>foo <em>bar</em></strong></p>\n",
- "example": 430,
- "start_line": 7032,
- "end_line": 7036,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**foo *bar **baz**\nbim* bop**\n",
- "html": "<p><strong>foo <em>bar <strong>baz</strong>\nbim</em> bop</strong></p>\n",
- "example": 431,
- "start_line": 7041,
- "end_line": 7047,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "**foo [*bar*](/url)**\n",
- "html": "<p><strong>foo <a href=\"/url\"><em>bar</em></a></strong></p>\n",
- "example": 432,
- "start_line": 7050,
- "end_line": 7054,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "__ is not an empty emphasis\n",
- "html": "<p>__ is not an empty emphasis</p>\n",
- "example": 433,
- "start_line": 7059,
- "end_line": 7063,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "____ is not an empty strong emphasis\n",
- "html": "<p>____ is not an empty strong emphasis</p>\n",
- "example": 434,
- "start_line": 7066,
- "end_line": 7070,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "foo ***\n",
- "html": "<p>foo ***</p>\n",
- "example": 435,
- "start_line": 7076,
- "end_line": 7080,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "foo *\\**\n",
- "html": "<p>foo <em>*</em></p>\n",
- "example": 436,
- "start_line": 7083,
- "end_line": 7087,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "foo *_*\n",
- "html": "<p>foo <em>_</em></p>\n",
- "example": 437,
- "start_line": 7090,
- "end_line": 7094,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "foo *****\n",
- "html": "<p>foo *****</p>\n",
- "example": 438,
- "start_line": 7097,
- "end_line": 7101,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "foo **\\***\n",
- "html": "<p>foo <strong>*</strong></p>\n",
- "example": 439,
- "start_line": 7104,
- "end_line": 7108,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "foo **_**\n",
- "html": "<p>foo <strong>_</strong></p>\n",
- "example": 440,
- "start_line": 7111,
- "end_line": 7115,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**foo*\n",
- "html": "<p>*<em>foo</em></p>\n",
- "example": 441,
- "start_line": 7122,
- "end_line": 7126,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "*foo**\n",
- "html": "<p><em>foo</em>*</p>\n",
- "example": 442,
- "start_line": 7129,
- "end_line": 7133,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "***foo**\n",
- "html": "<p>*<strong>foo</strong></p>\n",
- "example": 443,
- "start_line": 7136,
- "end_line": 7140,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "****foo*\n",
- "html": "<p>***<em>foo</em></p>\n",
- "example": 444,
- "start_line": 7143,
- "end_line": 7147,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "**foo***\n",
- "html": "<p><strong>foo</strong>*</p>\n",
- "example": 445,
- "start_line": 7150,
- "end_line": 7154,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "*foo****\n",
- "html": "<p><em>foo</em>***</p>\n",
- "example": 446,
- "start_line": 7157,
- "end_line": 7161,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "foo ___\n",
- "html": "<p>foo ___</p>\n",
- "example": 447,
- "start_line": 7167,
- "end_line": 7171,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "foo _\\__\n",
- "html": "<p>foo <em>_</em></p>\n",
- "example": 448,
- "start_line": 7174,
- "end_line": 7178,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "foo _*_\n",
- "html": "<p>foo <em>*</em></p>\n",
- "example": 449,
- "start_line": 7181,
- "end_line": 7185,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "foo _____\n",
- "html": "<p>foo _____</p>\n",
- "example": 450,
- "start_line": 7188,
- "end_line": 7192,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "foo __\\___\n",
- "html": "<p>foo <strong>_</strong></p>\n",
- "example": 451,
- "start_line": 7195,
- "end_line": 7199,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "foo __*__\n",
- "html": "<p>foo <strong>*</strong></p>\n",
- "example": 452,
- "start_line": 7202,
- "end_line": 7206,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "__foo_\n",
- "html": "<p>_<em>foo</em></p>\n",
- "example": 453,
- "start_line": 7209,
- "end_line": 7213,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "_foo__\n",
- "html": "<p><em>foo</em>_</p>\n",
- "example": 454,
- "start_line": 7220,
- "end_line": 7224,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "___foo__\n",
- "html": "<p>_<strong>foo</strong></p>\n",
- "example": 455,
- "start_line": 7227,
- "end_line": 7231,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "____foo_\n",
- "html": "<p>___<em>foo</em></p>\n",
- "example": 456,
- "start_line": 7234,
- "end_line": 7238,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "__foo___\n",
- "html": "<p><strong>foo</strong>_</p>\n",
- "example": 457,
- "start_line": 7241,
- "end_line": 7245,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "_foo____\n",
- "html": "<p><em>foo</em>___</p>\n",
- "example": 458,
- "start_line": 7248,
- "end_line": 7252,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "**foo**\n",
- "html": "<p><strong>foo</strong></p>\n",
- "example": 459,
- "start_line": 7258,
- "end_line": 7262,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "*_foo_*\n",
- "html": "<p><em><em>foo</em></em></p>\n",
- "example": 460,
- "start_line": 7265,
- "end_line": 7269,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "__foo__\n",
- "html": "<p><strong>foo</strong></p>\n",
- "example": 461,
- "start_line": 7272,
- "end_line": 7276,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "_*foo*_\n",
- "html": "<p><em><em>foo</em></em></p>\n",
- "example": 462,
- "start_line": 7279,
- "end_line": 7283,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "****foo****\n",
- "html": "<p><strong><strong>foo</strong></strong></p>\n",
- "example": 463,
- "start_line": 7289,
- "end_line": 7293,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "____foo____\n",
- "html": "<p><strong><strong>foo</strong></strong></p>\n",
- "example": 464,
- "start_line": 7296,
- "end_line": 7300,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "******foo******\n",
- "html": "<p><strong><strong><strong>foo</strong></strong></strong></p>\n",
- "example": 465,
- "start_line": 7307,
- "end_line": 7311,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "***foo***\n",
- "html": "<p><em><strong>foo</strong></em></p>\n",
- "example": 466,
- "start_line": 7316,
- "end_line": 7320,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "_____foo_____\n",
- "html": "<p><em><strong><strong>foo</strong></strong></em></p>\n",
- "example": 467,
- "start_line": 7323,
- "end_line": 7327,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "*foo _bar* baz_\n",
- "html": "<p><em>foo _bar</em> baz_</p>\n",
- "example": 468,
- "start_line": 7332,
- "end_line": 7336,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "*foo __bar *baz bim__ bam*\n",
- "html": "<p><em>foo <strong>bar *baz bim</strong> bam</em></p>\n",
- "example": 469,
- "start_line": 7339,
- "end_line": 7343,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**foo **bar baz**\n",
- "html": "<p>**foo <strong>bar baz</strong></p>\n",
- "example": 470,
- "start_line": 7348,
- "end_line": 7352,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "*foo *bar baz*\n",
- "html": "<p>*foo <em>bar baz</em></p>\n",
- "example": 471,
- "start_line": 7355,
- "end_line": 7359,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "*[bar*](/url)\n",
- "html": "<p>*<a href=\"/url\">bar*</a></p>\n",
- "example": 472,
- "start_line": 7364,
- "end_line": 7368,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "_foo [bar_](/url)\n",
- "html": "<p>_foo <a href=\"/url\">bar_</a></p>\n",
- "example": 473,
- "start_line": 7371,
- "end_line": 7375,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "*<img src=\"foo\" title=\"*\"/>\n",
- "html": "<p>*<img src=\"foo\" title=\"*\"/></p>\n",
- "example": 474,
- "start_line": 7378,
- "end_line": 7382,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**<a href=\"**\">\n",
- "html": "<p>**<a href=\"**\"></p>\n",
- "example": 475,
- "start_line": 7385,
- "end_line": 7389,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "__<a href=\"__\">\n",
- "html": "<p>__<a href=\"__\"></p>\n",
- "example": 476,
- "start_line": 7392,
- "end_line": 7396,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "*a `*`*\n",
- "html": "<p><em>a <code>*</code></em></p>\n",
- "example": 477,
- "start_line": 7399,
- "end_line": 7403,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "_a `_`_\n",
- "html": "<p><em>a <code>_</code></em></p>\n",
- "example": 478,
- "start_line": 7406,
- "end_line": 7410,
- "section": "Emphasis and strong emphasis"
- },
- {
- "markdown": "**a<http://foo.bar/?q=**>\n",
- "html": "<p>**a<a href=\"http://foo.bar/?q=**\">http://foo.bar/?q=**</a></p>\n",
- "example": 479,
- "start_line": 7413,
- "end_line": 7417,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "__a<http://foo.bar/?q=__>\n",
- "html": "<p>__a<a href=\"http://foo.bar/?q=__\">http://foo.bar/?q=__</a></p>\n",
- "example": 480,
- "start_line": 7420,
- "end_line": 7424,
- "section": "Emphasis and strong emphasis",
- "shouldFail": true
- },
- {
- "markdown": "[link](/uri \"title\")\n",
- "html": "<p><a href=\"/uri\" title=\"title\">link</a></p>\n",
- "example": 481,
- "start_line": 7503,
- "end_line": 7507,
- "section": "Links"
- },
- {
- "markdown": "[link](/uri)\n",
- "html": "<p><a href=\"/uri\">link</a></p>\n",
- "example": 482,
- "start_line": 7512,
- "end_line": 7516,
- "section": "Links"
- },
- {
- "markdown": "[link]()\n",
- "html": "<p><a href=\"\">link</a></p>\n",
- "example": 483,
- "start_line": 7521,
- "end_line": 7525,
- "section": "Links"
- },
- {
- "markdown": "[link](<>)\n",
- "html": "<p><a href=\"\">link</a></p>\n",
- "example": 484,
- "start_line": 7528,
- "end_line": 7532,
- "section": "Links"
- },
- {
- "markdown": "[link](/my uri)\n",
- "html": "<p>[link](/my uri)</p>\n",
- "example": 485,
- "start_line": 7537,
- "end_line": 7541,
- "section": "Links"
- },
- {
- "markdown": "[link](</my uri>)\n",
- "html": "<p><a href=\"/my%20uri\">link</a></p>\n",
- "example": 486,
- "start_line": 7543,
- "end_line": 7547,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[link](foo\nbar)\n",
- "html": "<p>[link](foo\nbar)</p>\n",
- "example": 487,
- "start_line": 7552,
- "end_line": 7558,
- "section": "Links"
- },
- {
- "markdown": "[link](<foo\nbar>)\n",
- "html": "<p>[link](<foo\nbar>)</p>\n",
- "example": 488,
- "start_line": 7560,
- "end_line": 7566,
- "section": "Links"
- },
- {
- "markdown": "[a](<b)c>)\n",
- "html": "<p><a href=\"b)c\">a</a></p>\n",
- "example": 489,
- "start_line": 7571,
- "end_line": 7575,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[link](<foo\\>)\n",
- "html": "<p>[link](&lt;foo&gt;)</p>\n",
- "example": 490,
- "start_line": 7579,
- "end_line": 7583,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[a](<b)c\n[a](<b)c>\n[a](<b>c)\n",
- "html": "<p>[a](&lt;b)c\n[a](&lt;b)c&gt;\n[a](<b>c)</p>\n",
- "example": 491,
- "start_line": 7588,
- "end_line": 7596,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[link](\\(foo\\))\n",
- "html": "<p><a href=\"(foo)\">link</a></p>\n",
- "example": 492,
- "start_line": 7600,
- "end_line": 7604,
- "section": "Links"
- },
- {
- "markdown": "[link](foo(and(bar)))\n",
- "html": "<p><a href=\"foo(and(bar))\">link</a></p>\n",
- "example": 493,
- "start_line": 7609,
- "end_line": 7613,
- "section": "Links"
- },
- {
- "markdown": "[link](foo\\(and\\(bar\\))\n",
- "html": "<p><a href=\"foo(and(bar)\">link</a></p>\n",
- "example": 494,
- "start_line": 7618,
- "end_line": 7622,
- "section": "Links"
- },
- {
- "markdown": "[link](<foo(and(bar)>)\n",
- "html": "<p><a href=\"foo(and(bar)\">link</a></p>\n",
- "example": 495,
- "start_line": 7625,
- "end_line": 7629,
- "section": "Links"
- },
- {
- "markdown": "[link](foo\\)\\:)\n",
- "html": "<p><a href=\"foo):\">link</a></p>\n",
- "example": 496,
- "start_line": 7635,
- "end_line": 7639,
- "section": "Links"
- },
- {
- "markdown": "[link](#fragment)\n\n[link](http://example.com#fragment)\n\n[link](http://example.com?foo=3#frag)\n",
- "html": "<p><a href=\"#fragment\">link</a></p>\n<p><a href=\"http://example.com#fragment\">link</a></p>\n<p><a href=\"http://example.com?foo=3#frag\">link</a></p>\n",
- "example": 497,
- "start_line": 7644,
- "end_line": 7654,
- "section": "Links"
- },
- {
- "markdown": "[link](foo\\bar)\n",
- "html": "<p><a href=\"foo%5Cbar\">link</a></p>\n",
- "example": 498,
- "start_line": 7660,
- "end_line": 7664,
- "section": "Links"
- },
- {
- "markdown": "[link](foo%20b&auml;)\n",
- "html": "<p><a href=\"foo%20b%C3%A4\">link</a></p>\n",
- "example": 499,
- "start_line": 7676,
- "end_line": 7680,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[link](\"title\")\n",
- "html": "<p><a href=\"%22title%22\">link</a></p>\n",
- "example": 500,
- "start_line": 7687,
- "end_line": 7691,
- "section": "Links"
- },
- {
- "markdown": "[link](/url \"title\")\n[link](/url 'title')\n[link](/url (title))\n",
- "html": "<p><a href=\"/url\" title=\"title\">link</a>\n<a href=\"/url\" title=\"title\">link</a>\n<a href=\"/url\" title=\"title\">link</a></p>\n",
- "example": 501,
- "start_line": 7696,
- "end_line": 7704,
- "section": "Links"
- },
- {
- "markdown": "[link](/url \"title \\\"&quot;\")\n",
- "html": "<p><a href=\"/url\" title=\"title &quot;&quot;\">link</a></p>\n",
- "example": 502,
- "start_line": 7710,
- "end_line": 7714,
- "section": "Links"
- },
- {
- "markdown": "[link](/url \"title\")\n",
- "html": "<p><a href=\"/url%C2%A0%22title%22\">link</a></p>\n",
- "example": 503,
- "start_line": 7720,
- "end_line": 7724,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[link](/url \"title \"and\" title\")\n",
- "html": "<p>[link](/url &quot;title &quot;and&quot; title&quot;)</p>\n",
- "example": 504,
- "start_line": 7729,
- "end_line": 7733,
- "section": "Links"
- },
- {
- "markdown": "[link](/url 'title \"and\" title')\n",
- "html": "<p><a href=\"/url\" title=\"title &quot;and&quot; title\">link</a></p>\n",
- "example": 505,
- "start_line": 7738,
- "end_line": 7742,
- "section": "Links"
- },
- {
- "markdown": "[link]( /uri\n \"title\" )\n",
- "html": "<p><a href=\"/uri\" title=\"title\">link</a></p>\n",
- "example": 506,
- "start_line": 7762,
- "end_line": 7767,
- "section": "Links"
- },
- {
- "markdown": "[link] (/uri)\n",
- "html": "<p>[link] (/uri)</p>\n",
- "example": 507,
- "start_line": 7773,
- "end_line": 7777,
- "section": "Links"
- },
- {
- "markdown": "[link [foo [bar]]](/uri)\n",
- "html": "<p><a href=\"/uri\">link [foo [bar]]</a></p>\n",
- "example": 508,
- "start_line": 7783,
- "end_line": 7787,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[link] bar](/uri)\n",
- "html": "<p>[link] bar](/uri)</p>\n",
- "example": 509,
- "start_line": 7790,
- "end_line": 7794,
- "section": "Links"
- },
- {
- "markdown": "[link [bar](/uri)\n",
- "html": "<p>[link <a href=\"/uri\">bar</a></p>\n",
- "example": 510,
- "start_line": 7797,
- "end_line": 7801,
- "section": "Links"
- },
- {
- "markdown": "[link \\[bar](/uri)\n",
- "html": "<p><a href=\"/uri\">link [bar</a></p>\n",
- "example": 511,
- "start_line": 7804,
- "end_line": 7808,
- "section": "Links"
- },
- {
- "markdown": "[link *foo **bar** `#`*](/uri)\n",
- "html": "<p><a href=\"/uri\">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>\n",
- "example": 512,
- "start_line": 7813,
- "end_line": 7817,
- "section": "Links"
- },
- {
- "markdown": "[![moon](moon.jpg)](/uri)\n",
- "html": "<p><a href=\"/uri\"><img src=\"moon.jpg\" alt=\"moon\" /></a></p>\n",
- "example": 513,
- "start_line": 7820,
- "end_line": 7824,
- "section": "Links"
- },
- {
- "markdown": "[foo [bar](/uri)](/uri)\n",
- "html": "<p>[foo <a href=\"/uri\">bar</a>](/uri)</p>\n",
- "example": 514,
- "start_line": 7829,
- "end_line": 7833,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[foo *[bar [baz](/uri)](/uri)*](/uri)\n",
- "html": "<p>[foo <em>[bar <a href=\"/uri\">baz</a>](/uri)</em>](/uri)</p>\n",
- "example": 515,
- "start_line": 7836,
- "end_line": 7840,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "![[[foo](uri1)](uri2)](uri3)\n",
- "html": "<p><img src=\"uri3\" alt=\"[foo](uri2)\" /></p>\n",
- "example": 516,
- "start_line": 7843,
- "end_line": 7847,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "*[foo*](/uri)\n",
- "html": "<p>*<a href=\"/uri\">foo*</a></p>\n",
- "example": 517,
- "start_line": 7853,
- "end_line": 7857,
- "section": "Links"
- },
- {
- "markdown": "[foo *bar](baz*)\n",
- "html": "<p><a href=\"baz*\">foo *bar</a></p>\n",
- "example": 518,
- "start_line": 7860,
- "end_line": 7864,
- "section": "Links"
- },
- {
- "markdown": "*foo [bar* baz]\n",
- "html": "<p><em>foo [bar</em> baz]</p>\n",
- "example": 519,
- "start_line": 7870,
- "end_line": 7874,
- "section": "Links"
- },
- {
- "markdown": "[foo <bar attr=\"](baz)\">\n",
- "html": "<p>[foo <bar attr=\"](baz)\"></p>\n",
- "example": 520,
- "start_line": 7880,
- "end_line": 7884,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[foo`](/uri)`\n",
- "html": "<p>[foo<code>](/uri)</code></p>\n",
- "example": 521,
- "start_line": 7887,
- "end_line": 7891,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[foo<http://example.com/?search=](uri)>\n",
- "html": "<p>[foo<a href=\"http://example.com/?search=%5D(uri)\">http://example.com/?search=](uri)</a></p>\n",
- "example": 522,
- "start_line": 7894,
- "end_line": 7898,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[foo][bar]\n\n[bar]: /url \"title\"\n",
- "html": "<p><a href=\"/url\" title=\"title\">foo</a></p>\n",
- "example": 523,
- "start_line": 7932,
- "end_line": 7938,
- "section": "Links"
- },
- {
- "markdown": "[link [foo [bar]]][ref]\n\n[ref]: /uri\n",
- "html": "<p><a href=\"/uri\">link [foo [bar]]</a></p>\n",
- "example": 524,
- "start_line": 7947,
- "end_line": 7953,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[link \\[bar][ref]\n\n[ref]: /uri\n",
- "html": "<p><a href=\"/uri\">link [bar</a></p>\n",
- "example": 525,
- "start_line": 7956,
- "end_line": 7962,
- "section": "Links"
- },
- {
- "markdown": "[link *foo **bar** `#`*][ref]\n\n[ref]: /uri\n",
- "html": "<p><a href=\"/uri\">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>\n",
- "example": 526,
- "start_line": 7967,
- "end_line": 7973,
- "section": "Links"
- },
- {
- "markdown": "[![moon](moon.jpg)][ref]\n\n[ref]: /uri\n",
- "html": "<p><a href=\"/uri\"><img src=\"moon.jpg\" alt=\"moon\" /></a></p>\n",
- "example": 527,
- "start_line": 7976,
- "end_line": 7982,
- "section": "Links"
- },
- {
- "markdown": "[foo [bar](/uri)][ref]\n\n[ref]: /uri\n",
- "html": "<p>[foo <a href=\"/uri\">bar</a>]<a href=\"/uri\">ref</a></p>\n",
- "example": 528,
- "start_line": 7987,
- "end_line": 7993,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[foo *bar [baz][ref]*][ref]\n\n[ref]: /uri\n",
- "html": "<p>[foo <em>bar <a href=\"/uri\">baz</a></em>]<a href=\"/uri\">ref</a></p>\n",
- "example": 529,
- "start_line": 7996,
- "end_line": 8002,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "*[foo*][ref]\n\n[ref]: /uri\n",
- "html": "<p>*<a href=\"/uri\">foo*</a></p>\n",
- "example": 530,
- "start_line": 8011,
- "end_line": 8017,
- "section": "Links"
- },
- {
- "markdown": "[foo *bar][ref]\n\n[ref]: /uri\n",
- "html": "<p><a href=\"/uri\">foo *bar</a></p>\n",
- "example": 531,
- "start_line": 8020,
- "end_line": 8026,
- "section": "Links"
- },
- {
- "markdown": "[foo <bar attr=\"][ref]\">\n\n[ref]: /uri\n",
- "html": "<p>[foo <bar attr=\"][ref]\"></p>\n",
- "example": 532,
- "start_line": 8032,
- "end_line": 8038,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[foo`][ref]`\n\n[ref]: /uri\n",
- "html": "<p>[foo<code>][ref]</code></p>\n",
- "example": 533,
- "start_line": 8041,
- "end_line": 8047,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[foo<http://example.com/?search=][ref]>\n\n[ref]: /uri\n",
- "html": "<p>[foo<a href=\"http://example.com/?search=%5D%5Bref%5D\">http://example.com/?search=][ref]</a></p>\n",
- "example": 534,
- "start_line": 8050,
- "end_line": 8056,
- "section": "Links",
- "shouldFail": true
- },
- {
- "markdown": "[foo][BaR]\n\n[bar]: /url \"title\"\n",
- "html": "<p><a href=\"/url\" title=\"title\">foo</a></p>\n",
- "example": 535,
- "start_line": 8061,
- "end_line": 8067,
- "section": "Links"
- },
- {
- "markdown": "[Толпой][Толпой] is a Russian word.\n\n[ТОЛПОЙ]: /url\n",
- "html": "<p><a href=\"/url\">Толпой</a> is a Russian word.</p>\n",
- "example": 536,
- "start_line": 8072,
- "end_line": 8078,
- "section": "Links"
- },
- {
- "markdown": "[Foo\n bar]: /url\n\n[Baz][Foo bar]\n",
- "html": "<p><a href=\"/url\">Baz</a></p>\n",
- "example": 537,
- "start_line": 8084,
- "end_line": 8091,
- "section": "Links"
- },
- {
- "markdown": "[foo] [bar]\n\n[bar]: /url \"title\"\n",
- "html": "<p>[foo] <a href=\"/url\" title=\"title\">bar</a></p>\n",
- "example": 538,
- "start_line": 8097,
- "end_line": 8103,
- "section": "Links"
- },
- {
- "markdown": "[foo]\n[bar]\n\n[bar]: /url \"title\"\n",
- "html": "<p>[foo]\n<a href=\"/url\" title=\"title\">bar</a></p>\n",
- "example": 539,
- "start_line": 8106,
- "end_line": 8114,
- "section": "Links"
- },
- {
- "markdown": "[foo]: /url1\n\n[foo]: /url2\n\n[bar][foo]\n",
- "html": "<p><a href=\"/url1\">bar</a></p>\n",
- "example": 540,
- "start_line": 8147,
- "end_line": 8155,
- "section": "Links"
- },
- {
- "markdown": "[bar][foo\\!]\n\n[foo!]: /url\n",
- "html": "<p>[bar][foo!]</p>\n",
- "example": 541,
- "start_line": 8162,
- "end_line": 8168,
- "section": "Links"
- },
- {
- "markdown": "[foo][ref[]\n\n[ref[]: /uri\n",
- "html": "<p>[foo][ref[]</p>\n<p>[ref[]: /uri</p>\n",
- "example": 542,
- "start_line": 8174,
- "end_line": 8181,
- "section": "Links"
- },
- {
- "markdown": "[foo][ref[bar]]\n\n[ref[bar]]: /uri\n",
- "html": "<p>[foo][ref[bar]]</p>\n<p>[ref[bar]]: /uri</p>\n",
- "example": 543,
- "start_line": 8184,
- "end_line": 8191,
- "section": "Links"
- },
- {
- "markdown": "[[[foo]]]\n\n[[[foo]]]: /url\n",
- "html": "<p>[[[foo]]]</p>\n<p>[[[foo]]]: /url</p>\n",
- "example": 544,
- "start_line": 8194,
- "end_line": 8201,
- "section": "Links"
- },
- {
- "markdown": "[foo][ref\\[]\n\n[ref\\[]: /uri\n",
- "html": "<p><a href=\"/uri\">foo</a></p>\n",
- "example": 545,
- "start_line": 8204,
- "end_line": 8210,
- "section": "Links"
- },
- {
- "markdown": "[bar\\\\]: /uri\n\n[bar\\\\]\n",
- "html": "<p><a href=\"/uri\">bar\\</a></p>\n",
- "example": 546,
- "start_line": 8215,
- "end_line": 8221,
- "section": "Links"
- },
- {
- "markdown": "[]\n\n[]: /uri\n",
- "html": "<p>[]</p>\n<p>[]: /uri</p>\n",
- "example": 547,
- "start_line": 8226,
- "end_line": 8233,
- "section": "Links"
- },
- {
- "markdown": "[\n ]\n\n[\n ]: /uri\n",
- "html": "<p>[\n]</p>\n<p>[\n]: /uri</p>\n",
- "example": 548,
- "start_line": 8236,
- "end_line": 8247,
- "section": "Links"
- },
- {
- "markdown": "[foo][]\n\n[foo]: /url \"title\"\n",
- "html": "<p><a href=\"/url\" title=\"title\">foo</a></p>\n",
- "example": 549,
- "start_line": 8259,
- "end_line": 8265,
- "section": "Links"
- },
- {
- "markdown": "[*foo* bar][]\n\n[*foo* bar]: /url \"title\"\n",
- "html": "<p><a href=\"/url\" title=\"title\"><em>foo</em> bar</a></p>\n",
- "example": 550,
- "start_line": 8268,
- "end_line": 8274,
- "section": "Links"
- },
- {
- "markdown": "[Foo][]\n\n[foo]: /url \"title\"\n",
- "html": "<p><a href=\"/url\" title=\"title\">Foo</a></p>\n",
- "example": 551,
- "start_line": 8279,
- "end_line": 8285,
- "section": "Links"
- },
- {
- "markdown": "[foo] \n[]\n\n[foo]: /url \"title\"\n",
- "html": "<p><a href=\"/url\" title=\"title\">foo</a>\n[]</p>\n",
- "example": 552,
- "start_line": 8292,
- "end_line": 8300,
- "section": "Links"
- },
- {
- "markdown": "[foo]\n\n[foo]: /url \"title\"\n",
- "html": "<p><a href=\"/url\" title=\"title\">foo</a></p>\n",
- "example": 553,
- "start_line": 8312,
- "end_line": 8318,
- "section": "Links"
- },
- {
- "markdown": "[*foo* bar]\n\n[*foo* bar]: /url \"title\"\n",
- "html": "<p><a href=\"/url\" title=\"title\"><em>foo</em> bar</a></p>\n",
- "example": 554,
- "start_line": 8321,
- "end_line": 8327,
- "section": "Links"
- },
- {
- "markdown": "[[*foo* bar]]\n\n[*foo* bar]: /url \"title\"\n",
- "html": "<p>[<a href=\"/url\" title=\"title\"><em>foo</em> bar</a>]</p>\n",
- "example": 555,
- "start_line": 8330,
- "end_line": 8336,
- "section": "Links"
- },
- {
- "markdown": "[[bar [foo]\n\n[foo]: /url\n",
- "html": "<p>[[bar <a href=\"/url\">foo</a></p>\n",
- "example": 556,
- "start_line": 8339,
- "end_line": 8345,
- "section": "Links"
- },
- {
- "markdown": "[Foo]\n\n[foo]: /url \"title\"\n",
- "html": "<p><a href=\"/url\" title=\"title\">Foo</a></p>\n",
- "example": 557,
- "start_line": 8350,
- "end_line": 8356,
- "section": "Links"
- },
- {
- "markdown": "[foo] bar\n\n[foo]: /url\n",
- "html": "<p><a href=\"/url\">foo</a> bar</p>\n",
- "example": 558,
- "start_line": 8361,
- "end_line": 8367,
- "section": "Links"
- },
- {
- "markdown": "\\[foo]\n\n[foo]: /url \"title\"\n",
- "html": "<p>[foo]</p>\n",
- "example": 559,
- "start_line": 8373,
- "end_line": 8379,
- "section": "Links"
- },
- {
- "markdown": "[foo*]: /url\n\n*[foo*]\n",
- "html": "<p>*<a href=\"/url\">foo*</a></p>\n",
- "example": 560,
- "start_line": 8385,
- "end_line": 8391,
- "section": "Links"
- },
- {
- "markdown": "[foo][bar]\n\n[foo]: /url1\n[bar]: /url2\n",
- "html": "<p><a href=\"/url2\">foo</a></p>\n",
- "example": 561,
- "start_line": 8397,
- "end_line": 8404,
- "section": "Links"
- },
- {
- "markdown": "[foo][]\n\n[foo]: /url1\n",
- "html": "<p><a href=\"/url1\">foo</a></p>\n",
- "example": 562,
- "start_line": 8406,
- "end_line": 8412,
- "section": "Links"
- },
- {
- "markdown": "[foo]()\n\n[foo]: /url1\n",
- "html": "<p><a href=\"\">foo</a></p>\n",
- "example": 563,
- "start_line": 8416,
- "end_line": 8422,
- "section": "Links"
- },
- {
- "markdown": "[foo](not a link)\n\n[foo]: /url1\n",
- "html": "<p><a href=\"/url1\">foo</a>(not a link)</p>\n",
- "example": 564,
- "start_line": 8424,
- "end_line": 8430,
- "section": "Links"
- },
- {
- "markdown": "[foo][bar][baz]\n\n[baz]: /url\n",
- "html": "<p>[foo]<a href=\"/url\">bar</a></p>\n",
- "example": 565,
- "start_line": 8435,
- "end_line": 8441,
- "section": "Links"
- },
- {
- "markdown": "[foo][bar][baz]\n\n[baz]: /url1\n[bar]: /url2\n",
- "html": "<p><a href=\"/url2\">foo</a><a href=\"/url1\">baz</a></p>\n",
- "example": 566,
- "start_line": 8447,
- "end_line": 8454,
- "section": "Links"
- },
- {
- "markdown": "[foo][bar][baz]\n\n[baz]: /url1\n[foo]: /url2\n",
- "html": "<p>[foo]<a href=\"/url1\">bar</a></p>\n",
- "example": 567,
- "start_line": 8460,
- "end_line": 8467,
- "section": "Links"
- },
- {
- "markdown": "![foo](/url \"title\")\n",
- "html": "<p><img src=\"/url\" alt=\"foo\" title=\"title\" /></p>\n",
- "example": 568,
- "start_line": 8483,
- "end_line": 8487,
- "section": "Images"
- },
- {
- "markdown": "![foo *bar*]\n\n[foo *bar*]: train.jpg \"train & tracks\"\n",
- "html": "<p><img src=\"train.jpg\" alt=\"foo bar\" title=\"train &amp; tracks\" /></p>\n",
- "example": 569,
- "start_line": 8490,
- "end_line": 8496,
- "section": "Images",
- "shouldFail": true
- },
- {
- "markdown": "![foo ![bar](/url)](/url2)\n",
- "html": "<p><img src=\"/url2\" alt=\"foo bar\" /></p>\n",
- "example": 570,
- "start_line": 8499,
- "end_line": 8503,
- "section": "Images",
- "shouldFail": true
- },
- {
- "markdown": "![foo [bar](/url)](/url2)\n",
- "html": "<p><img src=\"/url2\" alt=\"foo bar\" /></p>\n",
- "example": 571,
- "start_line": 8506,
- "end_line": 8510,
- "section": "Images",
- "shouldFail": true
- },
- {
- "markdown": "![foo *bar*][]\n\n[foo *bar*]: train.jpg \"train & tracks\"\n",
- "html": "<p><img src=\"train.jpg\" alt=\"foo bar\" title=\"train &amp; tracks\" /></p>\n",
- "example": 572,
- "start_line": 8520,
- "end_line": 8526,
- "section": "Images",
- "shouldFail": true
- },
- {
- "markdown": "![foo *bar*][foobar]\n\n[FOOBAR]: train.jpg \"train & tracks\"\n",
- "html": "<p><img src=\"train.jpg\" alt=\"foo bar\" title=\"train &amp; tracks\" /></p>\n",
- "example": 573,
- "start_line": 8529,
- "end_line": 8535,
- "section": "Images",
- "shouldFail": true
- },
- {
- "markdown": "![foo](train.jpg)\n",
- "html": "<p><img src=\"train.jpg\" alt=\"foo\" /></p>\n",
- "example": 574,
- "start_line": 8538,
- "end_line": 8542,
- "section": "Images"
- },
- {
- "markdown": "My ![foo bar](/path/to/train.jpg \"title\" )\n",
- "html": "<p>My <img src=\"/path/to/train.jpg\" alt=\"foo bar\" title=\"title\" /></p>\n",
- "example": 575,
- "start_line": 8545,
- "end_line": 8549,
- "section": "Images"
- },
- {
- "markdown": "![foo](<url>)\n",
- "html": "<p><img src=\"url\" alt=\"foo\" /></p>\n",
- "example": 576,
- "start_line": 8552,
- "end_line": 8556,
- "section": "Images"
- },
- {
- "markdown": "![](/url)\n",
- "html": "<p><img src=\"/url\" alt=\"\" /></p>\n",
- "example": 577,
- "start_line": 8559,
- "end_line": 8563,
- "section": "Images"
- },
- {
- "markdown": "![foo][bar]\n\n[bar]: /url\n",
- "html": "<p><img src=\"/url\" alt=\"foo\" /></p>\n",
- "example": 578,
- "start_line": 8568,
- "end_line": 8574,
- "section": "Images"
- },
- {
- "markdown": "![foo][bar]\n\n[BAR]: /url\n",
- "html": "<p><img src=\"/url\" alt=\"foo\" /></p>\n",
- "example": 579,
- "start_line": 8577,
- "end_line": 8583,
- "section": "Images"
- },
- {
- "markdown": "![foo][]\n\n[foo]: /url \"title\"\n",
- "html": "<p><img src=\"/url\" alt=\"foo\" title=\"title\" /></p>\n",
- "example": 580,
- "start_line": 8588,
- "end_line": 8594,
- "section": "Images"
- },
- {
- "markdown": "![*foo* bar][]\n\n[*foo* bar]: /url \"title\"\n",
- "html": "<p><img src=\"/url\" alt=\"foo bar\" title=\"title\" /></p>\n",
- "example": 581,
- "start_line": 8597,
- "end_line": 8603,
- "section": "Images",
- "shouldFail": true
- },
- {
- "markdown": "![Foo][]\n\n[foo]: /url \"title\"\n",
- "html": "<p><img src=\"/url\" alt=\"Foo\" title=\"title\" /></p>\n",
- "example": 582,
- "start_line": 8608,
- "end_line": 8614,
- "section": "Images"
- },
- {
- "markdown": "![foo] \n[]\n\n[foo]: /url \"title\"\n",
- "html": "<p><img src=\"/url\" alt=\"foo\" title=\"title\" />\n[]</p>\n",
- "example": 583,
- "start_line": 8620,
- "end_line": 8628,
- "section": "Images"
- },
- {
- "markdown": "![foo]\n\n[foo]: /url \"title\"\n",
- "html": "<p><img src=\"/url\" alt=\"foo\" title=\"title\" /></p>\n",
- "example": 584,
- "start_line": 8633,
- "end_line": 8639,
- "section": "Images"
- },
- {
- "markdown": "![*foo* bar]\n\n[*foo* bar]: /url \"title\"\n",
- "html": "<p><img src=\"/url\" alt=\"foo bar\" title=\"title\" /></p>\n",
- "example": 585,
- "start_line": 8642,
- "end_line": 8648,
- "section": "Images",
- "shouldFail": true
- },
- {
- "markdown": "![[foo]]\n\n[[foo]]: /url \"title\"\n",
- "html": "<p>![[foo]]</p>\n<p>[[foo]]: /url &quot;title&quot;</p>\n",
- "example": 586,
- "start_line": 8653,
- "end_line": 8660,
- "section": "Images"
- },
- {
- "markdown": "![Foo]\n\n[foo]: /url \"title\"\n",
- "html": "<p><img src=\"/url\" alt=\"Foo\" title=\"title\" /></p>\n",
- "example": 587,
- "start_line": 8665,
- "end_line": 8671,
- "section": "Images"
- },
- {
- "markdown": "!\\[foo]\n\n[foo]: /url \"title\"\n",
- "html": "<p>![foo]</p>\n",
- "example": 588,
- "start_line": 8677,
- "end_line": 8683,
- "section": "Images"
- },
- {
- "markdown": "\\![foo]\n\n[foo]: /url \"title\"\n",
- "html": "<p>!<a href=\"/url\" title=\"title\">foo</a></p>\n",
- "example": 589,
- "start_line": 8689,
- "end_line": 8695,
- "section": "Images"
- },
- {
- "markdown": "<http://foo.bar.baz>\n",
- "html": "<p><a href=\"http://foo.bar.baz\">http://foo.bar.baz</a></p>\n",
- "example": 590,
- "start_line": 8722,
- "end_line": 8726,
- "section": "Autolinks"
- },
- {
- "markdown": "<http://foo.bar.baz/test?q=hello&id=22&boolean>\n",
- "html": "<p><a href=\"http://foo.bar.baz/test?q=hello&amp;id=22&amp;boolean\">http://foo.bar.baz/test?q=hello&amp;id=22&amp;boolean</a></p>\n",
- "example": 591,
- "start_line": 8729,
- "end_line": 8733,
- "section": "Autolinks"
- },
- {
- "markdown": "<irc://foo.bar:2233/baz>\n",
- "html": "<p><a href=\"irc://foo.bar:2233/baz\">irc://foo.bar:2233/baz</a></p>\n",
- "example": 592,
- "start_line": 8736,
- "end_line": 8740,
- "section": "Autolinks"
- },
- {
- "markdown": "<MAILTO:FOO@BAR.BAZ>\n",
- "html": "<p><a href=\"MAILTO:FOO@BAR.BAZ\">MAILTO:FOO@BAR.BAZ</a></p>\n",
- "example": 593,
- "start_line": 8745,
- "end_line": 8749,
- "section": "Autolinks"
- },
- {
- "markdown": "<a+b+c:d>\n",
- "html": "<p><a href=\"a+b+c:d\">a+b+c:d</a></p>\n",
- "example": 594,
- "start_line": 8757,
- "end_line": 8761,
- "section": "Autolinks"
- },
- {
- "markdown": "<made-up-scheme://foo,bar>\n",
- "html": "<p><a href=\"made-up-scheme://foo,bar\">made-up-scheme://foo,bar</a></p>\n",
- "example": 595,
- "start_line": 8764,
- "end_line": 8768,
- "section": "Autolinks"
- },
- {
- "markdown": "<http://../>\n",
- "html": "<p><a href=\"http://../\">http://../</a></p>\n",
- "example": 596,
- "start_line": 8771,
- "end_line": 8775,
- "section": "Autolinks"
- },
- {
- "markdown": "<localhost:5001/foo>\n",
- "html": "<p><a href=\"localhost:5001/foo\">localhost:5001/foo</a></p>\n",
- "example": 597,
- "start_line": 8778,
- "end_line": 8782,
- "section": "Autolinks"
- },
- {
- "markdown": "<http://foo.bar/baz bim>\n",
- "html": "<p>&lt;http://foo.bar/baz bim&gt;</p>\n",
- "example": 598,
- "start_line": 8787,
- "end_line": 8791,
- "section": "Autolinks",
- "shouldFail": true
- },
- {
- "markdown": "<http://example.com/\\[\\>\n",
- "html": "<p><a href=\"http://example.com/%5C%5B%5C\">http://example.com/\\[\\</a></p>\n",
- "example": 599,
- "start_line": 8796,
- "end_line": 8800,
- "section": "Autolinks"
- },
- {
- "markdown": "<foo@bar.example.com>\n",
- "html": "<p><a href=\"mailto:foo@bar.example.com\">foo@bar.example.com</a></p>\n",
- "example": 600,
- "start_line": 8818,
- "end_line": 8822,
- "section": "Autolinks"
- },
- {
- "markdown": "<foo+special@Bar.baz-bar0.com>\n",
- "html": "<p><a href=\"mailto:foo+special@Bar.baz-bar0.com\">foo+special@Bar.baz-bar0.com</a></p>\n",
- "example": 601,
- "start_line": 8825,
- "end_line": 8829,
- "section": "Autolinks"
- },
- {
- "markdown": "<foo\\+@bar.example.com>\n",
- "html": "<p>&lt;foo+@bar.example.com&gt;</p>\n",
- "example": 602,
- "start_line": 8834,
- "end_line": 8838,
- "section": "Autolinks"
- },
- {
- "markdown": "<>\n",
- "html": "<p>&lt;&gt;</p>\n",
- "example": 603,
- "start_line": 8843,
- "end_line": 8847,
- "section": "Autolinks"
- },
- {
- "markdown": "< http://foo.bar >\n",
- "html": "<p>&lt; http://foo.bar &gt;</p>\n",
- "example": 604,
- "start_line": 8850,
- "end_line": 8854,
- "section": "Autolinks",
- "shouldFail": true
- },
- {
- "markdown": "<m:abc>\n",
- "html": "<p>&lt;m:abc&gt;</p>\n",
- "example": 605,
- "start_line": 8857,
- "end_line": 8861,
- "section": "Autolinks"
- },
- {
- "markdown": "<foo.bar.baz>\n",
- "html": "<p>&lt;foo.bar.baz&gt;</p>\n",
- "example": 606,
- "start_line": 8864,
- "end_line": 8868,
- "section": "Autolinks"
- },
- {
- "markdown": "http://example.com\n",
- "html": "<p>http://example.com</p>\n",
- "example": 607,
- "start_line": 8871,
- "end_line": 8875,
- "section": "Autolinks",
- "shouldFail": true
- },
- {
- "markdown": "foo@bar.example.com\n",
- "html": "<p>foo@bar.example.com</p>\n",
- "example": 608,
- "start_line": 8878,
- "end_line": 8882,
- "section": "Autolinks",
- "shouldFail": true
- },
- {
- "markdown": "<a><bab><c2c>\n",
- "html": "<p><a><bab><c2c></p>\n",
- "example": 609,
- "start_line": 8960,
- "end_line": 8964,
- "section": "Raw HTML"
- },
- {
- "markdown": "<a/><b2/>\n",
- "html": "<p><a/><b2/></p>\n",
- "example": 610,
- "start_line": 8969,
- "end_line": 8973,
- "section": "Raw HTML"
- },
- {
- "markdown": "<a /><b2\ndata=\"foo\" >\n",
- "html": "<p><a /><b2\ndata=\"foo\" ></p>\n",
- "example": 611,
- "start_line": 8978,
- "end_line": 8984,
- "section": "Raw HTML"
- },
- {
- "markdown": "<a foo=\"bar\" bam = 'baz <em>\"</em>'\n_boolean zoop:33=zoop:33 />\n",
- "html": "<p><a foo=\"bar\" bam = 'baz <em>\"</em>'\n_boolean zoop:33=zoop:33 /></p>\n",
- "example": 612,
- "start_line": 8989,
- "end_line": 8995,
- "section": "Raw HTML"
- },
- {
- "markdown": "Foo <responsive-image src=\"foo.jpg\" />\n",
- "html": "<p>Foo <responsive-image src=\"foo.jpg\" /></p>\n",
- "example": 613,
- "start_line": 9000,
- "end_line": 9004,
- "section": "Raw HTML"
- },
- {
- "markdown": "<33> <__>\n",
- "html": "<p>&lt;33&gt; &lt;__&gt;</p>\n",
- "example": 614,
- "start_line": 9009,
- "end_line": 9013,
- "section": "Raw HTML"
- },
- {
- "markdown": "<a h*#ref=\"hi\">\n",
- "html": "<p>&lt;a h*#ref=&quot;hi&quot;&gt;</p>\n",
- "example": 615,
- "start_line": 9018,
- "end_line": 9022,
- "section": "Raw HTML"
- },
- {
- "markdown": "<a href=\"hi'> <a href=hi'>\n",
- "html": "<p>&lt;a href=&quot;hi'&gt; &lt;a href=hi'&gt;</p>\n",
- "example": 616,
- "start_line": 9027,
- "end_line": 9031,
- "section": "Raw HTML"
- },
- {
- "markdown": "< a><\nfoo><bar/ >\n<foo bar=baz\nbim!bop />\n",
- "html": "<p>&lt; a&gt;&lt;\nfoo&gt;&lt;bar/ &gt;\n&lt;foo bar=baz\nbim!bop /&gt;</p>\n",
- "example": 617,
- "start_line": 9036,
- "end_line": 9046,
- "section": "Raw HTML"
- },
- {
- "markdown": "<a href='bar'title=title>\n",
- "html": "<p>&lt;a href='bar'title=title&gt;</p>\n",
- "example": 618,
- "start_line": 9051,
- "end_line": 9055,
- "section": "Raw HTML"
- },
- {
- "markdown": "</a></foo >\n",
- "html": "<p></a></foo ></p>\n",
- "example": 619,
- "start_line": 9060,
- "end_line": 9064,
- "section": "Raw HTML"
- },
- {
- "markdown": "</a href=\"foo\">\n",
- "html": "<p>&lt;/a href=&quot;foo&quot;&gt;</p>\n",
- "example": 620,
- "start_line": 9069,
- "end_line": 9073,
- "section": "Raw HTML"
- },
- {
- "markdown": "foo <!-- this is a\ncomment - with hyphen -->\n",
- "html": "<p>foo <!-- this is a\ncomment - with hyphen --></p>\n",
- "example": 621,
- "start_line": 9078,
- "end_line": 9084,
- "section": "Raw HTML"
- },
- {
- "markdown": "foo <!-- not a comment -- two hyphens -->\n",
- "html": "<p>foo &lt;!-- not a comment -- two hyphens --&gt;</p>\n",
- "example": 622,
- "start_line": 9087,
- "end_line": 9091,
- "section": "Raw HTML",
- "shouldFail": true
- },
- {
- "markdown": "foo <!--> foo -->\n\nfoo <!-- foo--->\n",
- "html": "<p>foo &lt;!--&gt; foo --&gt;</p>\n<p>foo &lt;!-- foo---&gt;</p>\n",
- "example": 623,
- "start_line": 9096,
- "end_line": 9103,
- "section": "Raw HTML",
- "shouldFail": true
- },
- {
- "markdown": "foo <?php echo $a; ?>\n",
- "html": "<p>foo <?php echo $a; ?></p>\n",
- "example": 624,
- "start_line": 9108,
- "end_line": 9112,
- "section": "Raw HTML"
- },
- {
- "markdown": "foo <!ELEMENT br EMPTY>\n",
- "html": "<p>foo <!ELEMENT br EMPTY></p>\n",
- "example": 625,
- "start_line": 9117,
- "end_line": 9121,
- "section": "Raw HTML"
- },
- {
- "markdown": "foo <![CDATA[>&<]]>\n",
- "html": "<p>foo <![CDATA[>&<]]></p>\n",
- "example": 626,
- "start_line": 9126,
- "end_line": 9130,
- "section": "Raw HTML"
- },
- {
- "markdown": "foo <a href=\"&ouml;\">\n",
- "html": "<p>foo <a href=\"&ouml;\"></p>\n",
- "example": 627,
- "start_line": 9136,
- "end_line": 9140,
- "section": "Raw HTML"
- },
- {
- "markdown": "foo <a href=\"\\*\">\n",
- "html": "<p>foo <a href=\"\\*\"></p>\n",
- "example": 628,
- "start_line": 9145,
- "end_line": 9149,
- "section": "Raw HTML"
- },
- {
- "markdown": "<a href=\"\\\"\">\n",
- "html": "<p>&lt;a href=&quot;&quot;&quot;&gt;</p>\n",
- "example": 629,
- "start_line": 9152,
- "end_line": 9156,
- "section": "Raw HTML"
- },
- {
- "markdown": "foo \nbaz\n",
- "html": "<p>foo<br />\nbaz</p>\n",
- "example": 630,
- "start_line": 9166,
- "end_line": 9172,
- "section": "Hard line breaks"
- },
- {
- "markdown": "foo\\\nbaz\n",
- "html": "<p>foo<br />\nbaz</p>\n",
- "example": 631,
- "start_line": 9178,
- "end_line": 9184,
- "section": "Hard line breaks"
- },
- {
- "markdown": "foo \nbaz\n",
- "html": "<p>foo<br />\nbaz</p>\n",
- "example": 632,
- "start_line": 9189,
- "end_line": 9195,
- "section": "Hard line breaks"
- },
- {
- "markdown": "foo \n bar\n",
- "html": "<p>foo<br />\nbar</p>\n",
- "example": 633,
- "start_line": 9200,
- "end_line": 9206,
- "section": "Hard line breaks"
- },
- {
- "markdown": "foo\\\n bar\n",
- "html": "<p>foo<br />\nbar</p>\n",
- "example": 634,
- "start_line": 9209,
- "end_line": 9215,
- "section": "Hard line breaks"
- },
- {
- "markdown": "*foo \nbar*\n",
- "html": "<p><em>foo<br />\nbar</em></p>\n",
- "example": 635,
- "start_line": 9221,
- "end_line": 9227,
- "section": "Hard line breaks"
- },
- {
- "markdown": "*foo\\\nbar*\n",
- "html": "<p><em>foo<br />\nbar</em></p>\n",
- "example": 636,
- "start_line": 9230,
- "end_line": 9236,
- "section": "Hard line breaks"
- },
- {
- "markdown": "`code \nspan`\n",
- "html": "<p><code>code span</code></p>\n",
- "example": 637,
- "start_line": 9241,
- "end_line": 9246,
- "section": "Hard line breaks"
- },
- {
- "markdown": "`code\\\nspan`\n",
- "html": "<p><code>code\\ span</code></p>\n",
- "example": 638,
- "start_line": 9249,
- "end_line": 9254,
- "section": "Hard line breaks"
- },
- {
- "markdown": "<a href=\"foo \nbar\">\n",
- "html": "<p><a href=\"foo \nbar\"></p>\n",
- "example": 639,
- "start_line": 9259,
- "end_line": 9265,
- "section": "Hard line breaks"
- },
- {
- "markdown": "<a href=\"foo\\\nbar\">\n",
- "html": "<p><a href=\"foo\\\nbar\"></p>\n",
- "example": 640,
- "start_line": 9268,
- "end_line": 9274,
- "section": "Hard line breaks"
- },
- {
- "markdown": "foo\\\n",
- "html": "<p>foo\\</p>\n",
- "example": 641,
- "start_line": 9281,
- "end_line": 9285,
- "section": "Hard line breaks"
- },
- {
- "markdown": "foo \n",
- "html": "<p>foo</p>\n",
- "example": 642,
- "start_line": 9288,
- "end_line": 9292,
- "section": "Hard line breaks"
- },
- {
- "markdown": "### foo\\\n",
- "html": "<h3>foo\\</h3>\n",
- "example": 643,
- "start_line": 9295,
- "end_line": 9299,
- "section": "Hard line breaks"
- },
- {
- "markdown": "### foo \n",
- "html": "<h3>foo</h3>\n",
- "example": 644,
- "start_line": 9302,
- "end_line": 9306,
- "section": "Hard line breaks"
- },
- {
- "markdown": "foo\nbaz\n",
- "html": "<p>foo\nbaz</p>\n",
- "example": 645,
- "start_line": 9317,
- "end_line": 9323,
- "section": "Soft line breaks"
- },
- {
- "markdown": "foo \n baz\n",
- "html": "<p>foo\nbaz</p>\n",
- "example": 646,
- "start_line": 9329,
- "end_line": 9335,
- "section": "Soft line breaks"
- },
- {
- "markdown": "hello $.;'there\n",
- "html": "<p>hello $.;'there</p>\n",
- "example": 647,
- "start_line": 9349,
- "end_line": 9353,
- "section": "Textual content"
- },
- {
- "markdown": "Foo χρῆν\n",
- "html": "<p>Foo χρῆν</p>\n",
- "example": 648,
- "start_line": 9356,
- "end_line": 9360,
- "section": "Textual content"
- },
- {
- "markdown": "Multiple spaces\n",
- "html": "<p>Multiple spaces</p>\n",
- "example": 649,
- "start_line": 9365,
- "end_line": 9369,
- "section": "Textual content"
- }
-]
diff --git a/packages/markdown/marked/test/specs/commonmark/getSpecs.js b/packages/markdown/marked/test/specs/commonmark/getSpecs.js
deleted file mode 100644
index f22e00c0..00000000
--- a/packages/markdown/marked/test/specs/commonmark/getSpecs.js
+++ /dev/null
@@ -1,24 +0,0 @@
-const fetch = require('node-fetch');
-const marked = require('../../../');
-const htmlDiffer = require('../../helpers/html-differ.js');
-const fs = require('fs');
-
-fetch('https://raw.githubusercontent.com/commonmark/commonmark.js/master/package.json')
- .then(res => res.json())
- .then(pkg => pkg.version.replace(/^(\d+\.\d+).*$/, '$1'))
- .then(version =>
- fetch(`https://spec.commonmark.org/${version}/spec.json`)
- .then(res => res.json())
- .then(specs => {
- specs.forEach(spec => {
- const html = marked(spec.markdown, {headerIds: false});
- if (!htmlDiffer.isEqual(html, spec.html)) {
- spec.shouldFail = true;
- }
- });
- fs.writeFileSync(`commonmark.${version}.json`, JSON.stringify(specs, null, 2) + '\n');
- })
- )
- .catch((err) => {
- console.error(err);
- });
diff --git a/packages/markdown/marked/test/specs/gfm/getSpecs.js b/packages/markdown/marked/test/specs/gfm/getSpecs.js
deleted file mode 100644
index 2746bdbb..00000000
--- a/packages/markdown/marked/test/specs/gfm/getSpecs.js
+++ /dev/null
@@ -1,44 +0,0 @@
-const fetch = require('node-fetch');
-const cheerio = require('cheerio');
-const marked = require('../../../');
-const htmlDiffer = require('../../helpers/html-differ.js');
-const fs = require('fs');
-
-fetch('https://github.github.com/gfm/')
- .then(res => res.text())
- .then(html => cheerio.load(html))
- .then($ => {
- const version = $('.version').text().match(/\d+\.\d+/)[0];
- if (!version) {
- throw new Error('No version found');
- }
- const specs = [];
- $('.extension').each((i, ext) => {
- const section = $('.definition', ext).text().trim().replace(/^\d+\.\d+(.*?) \(extension\)[\s\S]*$/, '$1');
- $('.example', ext).each((j, exa) => {
- const example = +$(exa).attr('id').replace(/\D/g, '');
- const markdown = $('.language-markdown', exa).text().trim();
- const html = $('.language-html', exa).text().trim();
- specs.push({
- section,
- html,
- markdown,
- example
- });
- });
- });
-
- return [version, specs];
- })
- .then(([version, specs]) => {
- specs.forEach(spec => {
- const html = marked(spec.markdown, {gfm: true});
- if (!htmlDiffer.isEqual(html, spec.html)) {
- spec.shouldFail = true;
- }
- });
- fs.writeFileSync(`gfm.${version}.json`, JSON.stringify(specs, null, 2) + '\n');
- })
- .catch((err) => {
- console.error(err);
- });
diff --git a/packages/markdown/marked/test/specs/gfm/gfm.0.29.json b/packages/markdown/marked/test/specs/gfm/gfm.0.29.json
deleted file mode 100644
index 7d1d43e4..00000000
--- a/packages/markdown/marked/test/specs/gfm/gfm.0.29.json
+++ /dev/null
@@ -1,147 +0,0 @@
-[
- {
- "section": "Tables",
- "html": "<table>\n<thead>\n<tr>\n<th>foo</th>\n<th>bar</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>baz</td>\n<td>bim</td>\n</tr>\n</tbody>\n</table>",
- "markdown": "| foo | bar |\n| --- | --- |\n| baz | bim |",
- "example": 198
- },
- {
- "section": "Tables",
- "html": "<table>\n<thead>\n<tr>\n<th align=\"center\">abc</th>\n<th align=\"right\">defghi</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td align=\"center\">bar</td>\n<td align=\"right\">baz</td>\n</tr>\n</tbody>\n</table>",
- "markdown": "| abc | defghi |\n:-: | -----------:\nbar | baz",
- "example": 199
- },
- {
- "section": "Tables",
- "html": "<table>\n<thead>\n<tr>\n<th>f|oo</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>b <code>|</code> az</td>\n</tr>\n<tr>\n<td>b <strong>|</strong> im</td>\n</tr>\n</tbody>\n</table>",
- "markdown": "| f\\|oo |\n| ------ |\n| b `\\|` az |\n| b **\\|** im |",
- "example": 200
- },
- {
- "section": "Tables",
- "html": "<table>\n<thead>\n<tr>\n<th>abc</th>\n<th>def</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bar</td>\n<td>baz</td>\n</tr>\n</tbody>\n</table>\n<blockquote>\n<p>bar</p>\n</blockquote>",
- "markdown": "| abc | def |\n| --- | --- |\n| bar | baz |\n> bar",
- "example": 201
- },
- {
- "section": "Tables",
- "html": "<table>\n<thead>\n<tr>\n<th>abc</th>\n<th>def</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bar</td>\n<td>baz</td>\n</tr>\n<tr>\n<td>bar</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n<p>bar</p>",
- "markdown": "| abc | def |\n| --- | --- |\n| bar | baz |\nbar\n\nbar",
- "example": 202
- },
- {
- "section": "Tables",
- "html": "<p>| abc | def |\n| --- |\n| bar |</p>",
- "markdown": "| abc | def |\n| --- |\n| bar |",
- "example": 203
- },
- {
- "section": "Tables",
- "html": "<table>\n<thead>\n<tr>\n<th>abc</th>\n<th>def</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bar</td>\n<td></td>\n</tr>\n<tr>\n<td>bar</td>\n<td>baz</td>\n</tr>\n</tbody>\n</table>",
- "markdown": "| abc | def |\n| --- | --- |\n| bar |\n| bar | baz | boo |",
- "example": 204
- },
- {
- "section": "Tables",
- "html": "<table>\n<thead>\n<tr>\n<th>abc</th>\n<th>def</th>\n</tr>\n</thead>\n</table>",
- "markdown": "| abc | def |\n| --- | --- |",
- "example": 205
- },
- {
- "section": "Task list items",
- "html": "<ul>\n<li><input disabled=\"\" type=\"checkbox\"> foo</li>\n<li><input checked=\"\" disabled=\"\" type=\"checkbox\"> bar</li>\n</ul>",
- "markdown": "- [ ] foo\n- [x] bar",
- "example": 279
- },
- {
- "section": "Task list items",
- "html": "<ul>\n<li><input checked=\"\" disabled=\"\" type=\"checkbox\"> foo\n<ul>\n<li><input disabled=\"\" type=\"checkbox\"> bar</li>\n<li><input checked=\"\" disabled=\"\" type=\"checkbox\"> baz</li>\n</ul>\n</li>\n<li><input disabled=\"\" type=\"checkbox\"> bim</li>\n</ul>",
- "markdown": "- [x] foo\n - [ ] bar\n - [x] baz\n- [ ] bim",
- "example": 280
- },
- {
- "section": "Strikethrough",
- "html": "<p><del>Hi</del> Hello, world!</p>",
- "markdown": "~~Hi~~ Hello, world!",
- "example": 491
- },
- {
- "section": "Strikethrough",
- "html": "<p>This ~~has a</p>\n<p>new paragraph~~.</p>",
- "markdown": "This ~~has a\n\nnew paragraph~~.",
- "example": 492
- },
- {
- "section": "Autolinks",
- "html": "<p><a href=\"http://www.commonmark.org\">www.commonmark.org</a></p>",
- "markdown": "www.commonmark.org",
- "example": 621
- },
- {
- "section": "Autolinks",
- "html": "<p>Visit <a href=\"http://www.commonmark.org/help\">www.commonmark.org/help</a> for more information.</p>",
- "markdown": "Visit www.commonmark.org/help for more information.",
- "example": 622
- },
- {
- "section": "Autolinks",
- "html": "<p>Visit <a href=\"http://www.commonmark.org\">www.commonmark.org</a>.</p>\n<p>Visit <a href=\"http://www.commonmark.org/a.b\">www.commonmark.org/a.b</a>.</p>",
- "markdown": "Visit www.commonmark.org.\n\nVisit www.commonmark.org/a.b.",
- "example": 623
- },
- {
- "section": "Autolinks",
- "html": "<p><a href=\"http://www.google.com/search?q=Markup+(business)\">www.google.com/search?q=Markup+(business)</a></p>\n<p>(<a href=\"http://www.google.com/search?q=Markup+(business)\">www.google.com/search?q=Markup+(business)</a>)</p>",
- "markdown": "www.google.com/search?q=Markup+(business)\n\n(www.google.com/search?q=Markup+(business))",
- "example": 624
- },
- {
- "section": "Autolinks",
- "html": "<p><a href=\"http://www.google.com/search?q=(business))+ok\">www.google.com/search?q=(business))+ok</a></p>",
- "markdown": "www.google.com/search?q=(business))+ok",
- "example": 625
- },
- {
- "section": "Autolinks",
- "html": "<p><a href=\"http://www.google.com/search?q=commonmark&amp;hl=en\">www.google.com/search?q=commonmark&amp;hl=en</a></p>\n<p><a href=\"http://www.google.com/search?q=commonmark\">www.google.com/search?q=commonmark</a>&amp;hl;</p>",
- "markdown": "www.google.com/search?q=commonmark&hl=en\n\nwww.google.com/search?q=commonmark&hl;",
- "example": 626
- },
- {
- "section": "Autolinks",
- "html": "<p><a href=\"http://www.commonmark.org/he\">www.commonmark.org/he</a>&lt;lp</p>",
- "markdown": "www.commonmark.org/he<lp",
- "example": 627
- },
- {
- "section": "Autolinks",
- "html": "<p><a href=\"http://commonmark.org\">http://commonmark.org</a></p>\n<p>(Visit <a href=\"https://encrypted.google.com/search?q=Markup+(business)\">https://encrypted.google.com/search?q=Markup+(business)</a>)</p>\n<p>Anonymous FTP is available at <a href=\"ftp://foo.bar.baz\">ftp://foo.bar.baz</a>.</p>",
- "markdown": "http://commonmark.org\n\n(Visit https://encrypted.google.com/search?q=Markup+(business))\n\nAnonymous FTP is available at ftp://foo.bar.baz.",
- "example": 628
- },
- {
- "section": "Autolinks",
- "html": "<p><a href=\"mailto:foo@bar.baz\">foo@bar.baz</a></p>",
- "markdown": "foo@bar.baz",
- "example": 629
- },
- {
- "section": "Autolinks",
- "html": "<p>hello@mail+xyz.example isn't valid, but <a href=\"mailto:hello+xyz@mail.example\">hello+xyz@mail.example</a> is.</p>",
- "markdown": "hello@mail+xyz.example isn't valid, but hello+xyz@mail.example is.",
- "example": 630
- },
- {
- "section": "Autolinks",
- "html": "<p><a href=\"mailto:a.b-c_d@a.b\">a.b-c_d@a.b</a></p>\n<p><a href=\"mailto:a.b-c_d@a.b\">a.b-c_d@a.b</a>.</p>\n<p>a.b-c_d@a.b-</p>\n<p>a.b-c_d@a.b_</p>",
- "markdown": "a.b-c_d@a.b\n\na.b-c_d@a.b.\n\na.b-c_d@a.b-\n\na.b-c_d@a.b_",
- "example": 631
- },
- {
- "section": "Disallowed Raw HTML",
- "html": "<p><strong> &lt;title> &lt;style> <em></p>\n<blockquote>\n &lt;xmp> is disallowed. &lt;XMP> is also disallowed.\n</blockquote>",
- "markdown": "<strong> <title> <style> <em>\n\n<blockquote>\n <xmp> is disallowed. <XMP> is also disallowed.\n</blockquote>",
- "example": 653,
- "shouldFail": true
- }
-]
diff --git a/packages/markdown/marked/test/specs/original/specs-spec.js b/packages/markdown/marked/test/specs/original/specs-spec.js
deleted file mode 100644
index 82d300a5..00000000
--- a/packages/markdown/marked/test/specs/original/specs-spec.js
+++ /dev/null
@@ -1,12 +0,0 @@
-var specTests = require('../../');
-
-it('should run spec tests', () => {
- // hide output
- spyOn(console, 'log');
- if (!specTests(['', '', '--stop'])) {
- // if tests fail rerun tests and show output
- console.log.and.callThrough();
- specTests([]);
- fail();
- }
-});
diff --git a/packages/markdown/marked/test/specs/redos-spec.js b/packages/markdown/marked/test/specs/redos-spec.js
deleted file mode 100644
index 1f94a42e..00000000
--- a/packages/markdown/marked/test/specs/redos-spec.js
+++ /dev/null
@@ -1,24 +0,0 @@
-const path = require('path');
-const fs = require('fs');
-
-const redosDir = path.resolve(__dirname, '../redos');
-
-describe('ReDOS tests', () => {
- const files = fs.readdirSync(redosDir);
- files.forEach(file => {
- if (!file.match(/\.js$/)) {
- return;
- }
-
- it(file, () => {
- const spec = require(path.resolve(redosDir, file));
- const before = process.hrtime();
- expect(spec).toRender(spec.html);
- const elapsed = process.hrtime(before);
- if (elapsed[0] > 0) {
- const s = (elapsed[0] + elapsed[1] * 1e-9).toFixed(3);
- fail(`took too long: ${s}s`);
- }
- });
- });
-});
diff --git a/packages/markdown/marked/test/specs/run-spec.js b/packages/markdown/marked/test/specs/run-spec.js
deleted file mode 100644
index 3af0aa45..00000000
--- a/packages/markdown/marked/test/specs/run-spec.js
+++ /dev/null
@@ -1,52 +0,0 @@
-function runSpecs(title, file, options) {
- const json = require(file);
- let longestName = 0;
- let maxSpecs = 0;
- const specs = json.reduce((obj, spec) => {
- if (!obj[spec.section]) {
- longestName = Math.max(spec.section.length, longestName);
- obj[spec.section] = {
- specs: [],
- pass: 0,
- total: 0
- };
- }
- obj[spec.section].total++;
- maxSpecs = Math.max(obj[spec.section].total, maxSpecs);
- if (!spec.shouldFail) {
- obj[spec.section].pass++;
- }
- obj[spec.section].specs.push(spec);
- return obj;
- }, {});
-
- describe(title, () => {
- const maxSpecsLen = ('' + maxSpecs).length;
- const spaces = maxSpecsLen * 2 + longestName + 11;
- console.log('-'.padEnd(spaces + 4, '-'));
- console.log(`| ${title.padStart(Math.ceil((spaces + title.length) / 2)).padEnd(spaces)} |`);
- console.log(`| ${' '.padEnd(spaces)} |`);
- Object.keys(specs).forEach(section => {
- console.log(`| ${section.padEnd(longestName)} ${('' + specs[section].pass).padStart(maxSpecsLen)} of ${('' + specs[section].total).padStart(maxSpecsLen)} ${(100 * specs[section].pass / specs[section].total).toFixed().padStart(4)}% |`);
- describe(section, () => {
- specs[section].specs.forEach((spec) => {
- if (options) {
- spec.options = Object.assign({}, options, (spec.options || {}));
- }
- (spec.only ? fit : it)('should ' + (spec.shouldFail ? 'fail' : 'pass') + ' example ' + spec.example, () => {
- if (spec.shouldFail) {
- expect(spec).not.toRender(spec.html);
- } else {
- expect(spec).toRender(spec.html);
- }
- });
- });
- });
- });
- console.log('-'.padEnd(spaces + 4, '-'));
- console.log();
- });
-};
-
-runSpecs('GFM 0.29', './gfm/gfm.0.29.json', {gfm: true});
-runSpecs('CommonMark 0.29', './commonmark/commonmark.0.29.json', {headerIds: false});
diff --git a/packages/markdown/marked/test/unit/marked-spec.js b/packages/markdown/marked/test/unit/marked-spec.js
deleted file mode 100644
index 994c5dc8..00000000
--- a/packages/markdown/marked/test/unit/marked-spec.js
+++ /dev/null
@@ -1,73 +0,0 @@
-var marked = require('../../lib/marked.js');
-
-describe('Test heading ID functionality', () => {
- it('should add id attribute by default', () => {
- var renderer = new marked.Renderer();
- var slugger = new marked.Slugger();
- var header = renderer.heading('test', 1, 'test', slugger);
- expect(header).toBe('<h1 id="test">test</h1>\n');
- });
-
- it('should NOT add id attribute when options set false', () => {
- var renderer = new marked.Renderer({ headerIds: false });
- var header = renderer.heading('test', 1, 'test');
- expect(header).toBe('<h1>test</h1>\n');
- });
-});
-
-describe('Test slugger functionality', () => {
- it('should use lowercase slug', () => {
- var slugger = new marked.Slugger();
- expect(slugger.slug('Test')).toBe('test');
- });
-
- it('should be unique to avoid collisions 1280', () => {
- var slugger = new marked.Slugger();
- expect(slugger.slug('test')).toBe('test');
- expect(slugger.slug('test')).toBe('test-1');
- expect(slugger.slug('test')).toBe('test-2');
- });
-
- it('should be unique when slug ends with number', () => {
- var slugger = new marked.Slugger();
- expect(slugger.slug('test 1')).toBe('test-1');
- expect(slugger.slug('test')).toBe('test');
- expect(slugger.slug('test')).toBe('test-2');
- });
-
- it('should be unique when slug ends with hyphen number', () => {
- var slugger = new marked.Slugger();
- expect(slugger.slug('foo')).toBe('foo');
- expect(slugger.slug('foo')).toBe('foo-1');
- expect(slugger.slug('foo 1')).toBe('foo-1-1');
- expect(slugger.slug('foo-1')).toBe('foo-1-2');
- expect(slugger.slug('foo')).toBe('foo-2');
- });
-
- it('should allow non-latin chars', () => {
- var slugger = new marked.Slugger();
- expect(slugger.slug('привет')).toBe('привет');
- });
-
- it('should remove ampersands 857', () => {
- var slugger = new marked.Slugger();
- expect(slugger.slug('This & That Section')).toBe('this--that-section');
- });
-
- it('should remove periods', () => {
- var slugger = new marked.Slugger();
- expect(slugger.slug('file.txt')).toBe('filetxt');
- });
-});
-
-describe('Test paragraph token type', () => {
- it('should use the "paragraph" type on top level', () => {
- const md = 'A Paragraph.\n\n> A blockquote\n\n- list item\n';
-
- const tokens = marked.lexer(md);
-
- expect(tokens[0].type).toBe('paragraph');
- expect(tokens[3].type).toBe('paragraph');
- expect(tokens[7].type).toBe('text');
- });
-});