@awesome-fe/translate
Version:
Translation utils
989 lines (907 loc) • 127 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Examples = void 0;
class Examples {
static documentAdoc = `= Document Title
Kismet R. Lee <kismet@asciidoctor.org>; B. Steppenwolf
v1.0.0, 2020-01-01
:description: The document's description.
:sectanchors:
:url-repo: https://my-git-repo.com`;
static documentAdocCn = `= 译Document Title
Kismet R. Lee <kismet@asciidoctor.org>; B. Steppenwolf
v1.0.0, 2020-01-01
:description: 译The document's description.
:sectanchors:
:url-repo: https://my-git-repo.com
:original_doctitle: Document Title
:original_description: The document's description.`;
static documentHtml = `<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Asciidoctor 2.0.17">
<meta name="description" content="The document's description.">
<meta name="author" content="Kismet R. Lee, B. Steppenwolf">
<title>Document Title</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
<link rel="stylesheet" href="./asciidoctor.css">
</head>
<body class="article">
<div id="header">
<h1>Document Title</h1>
<div class="details">
<span id="author" class="author">Kismet R. Lee</span><br>
<span id="email" class="email"><a href="mailto:kismet@asciidoctor.org">kismet@asciidoctor.org</a></span><br>
<span id="author2" class="author">B. Steppenwolf</span><br>
<span id="revnumber">version 1.0.0,</span>
<span id="revdate">2020-01-01</span>
</div>
</div>
<div id="content">
</div>
<div id="footer">
<div id="footer-text">
Version 1.0.0<br>
Last updated 2000-01-01 00:00:00 +0000
</div>
</div>
</body>
</html>`;
static documentTiny = `<article adoc-name="document" data-doctitle="Document Title" data-authorcount="2" type-data-authorcount="number" data-firstname="Kismet" data-authorinitials="KRL" data-middlename="R." data-lastname="Lee" data-author="Kismet R. Lee" data-email="kismet@asciidoctor.org" data-authors="Kismet R. Lee, B. Steppenwolf" data-firstname_2="B." data-authorinitials_2="BS" data-lastname_2="Steppenwolf" data-author_2="B. Steppenwolf" data-author_1="Kismet R. Lee" data-authorinitials_1="KRL" data-firstname_1="Kismet" data-middlename_1="R." data-lastname_1="Lee" data-email_1="kismet@asciidoctor.org" data-revnumber="1.0.0" data-revdate="2020-01-01" data-description="The document's description." data-sectanchors="" data-url-repo="https://my-git-repo.com"></article>`;
static documentNormalized = this.documentAdoc;
static documentWithPreambleAdoc = `= Document Title
Preamble paragraph
== Section title`;
static documentWithPreambleAdocCn = `= 译Document Title
:original_doctitle: Document Title
Preamble paragraph
译Preamble paragraph
[original_title=Section title]
== 译Section title`;
static documentWithPreambleHtml = `<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Asciidoctor 2.0.17">
<title>Document Title</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
<link rel="stylesheet" href="./asciidoctor.css">
</head>
<body class="article">
<div id="header">
<h1>Document Title</h1>
</div>
<div id="content">
<div id="preamble">
<div class="sectionbody">
<div class="paragraph">
<p>Preamble paragraph</p>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_section_title">Section title</h2>
<div class="sectionbody">
</div>
</div>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2000-01-01 00:00:00 +0000
</div>
</div>
</body>
</html>`;
static documentWithPreambleTiny = `<article adoc-name="document" data-doctitle="Document Title"><summary adoc-name="preamble"><p adoc-name="paragraph">Preamble paragraph</p></summary><section adoc-name="section" attr-Level="1" type-attr-Level="number" attr-SectionName="section" attr-Title="Section title" attr-Id="_section_title"></section></article>`;
static documentWithPreambleNormalized = this.documentWithPreambleAdoc;
static paragraphAdoc = `paragraph1
paragraph2`;
static paragraphAdocCn = `paragraph1
译paragraph1
paragraph2
译paragraph2`;
static paragraphHtml = `<div class="paragraph">
<p>paragraph1</p>
</div>
<div class="paragraph">
<p>paragraph2</p>
</div>`;
static paragraphTiny = `<article adoc-name="document"><p adoc-name="paragraph">paragraph1</p><p adoc-name="paragraph">paragraph2</p></article>`;
static paragraphNormalized = this.paragraphAdoc;
static sectionSimpleAdoc = `== Section Title`;
static sectionSimpleAdocCn = `[original_title=Section Title]
== 译Section Title`;
static sectionSimpleHtml = `<div class="sect1">
<h2 id="_section_title">Section Title</h2>
<div class="sectionbody">
</div>
</div>`;
static sectionSimpleTiny = `<article adoc-name="document"><section adoc-name="section" attr-Level="1" type-attr-Level="number" attr-SectionName="section" attr-Title="Section Title" attr-Id="_section_title"></section></article>`;
static sectionSimpleNormalized = this.sectionSimpleAdoc;
static floatingTitleAdoc = `[discrete]
== Floating Title`;
static floatingTitleAdocCn = `[discrete,original_title=Floating Title]
== 译Floating Title`;
static floatingTitleHtml = `<h2 id="_floating_title" class="discrete">Floating Title</h2>`;
static floatingTitleTiny = `<article adoc-name="document"><h2 adoc-name="floating_title" attr-Title="Floating Title" attr-Style="discrete" attr-Id="_floating_title">Floating Title</h2></article>`;
static floatingTitleNormalized = this.floatingTitleAdoc;
static sectionWithTitleAndAttributesAdoc = `[positional_attribute_1,positional_attribute_2,named_attribute=value,positional_attribute_3]
.Kizmet's Favorite Authors
=== Section Title`;
static sectionWithTitleAndAttributesAdocCn = `[positional_attribute_1,positional_attribute_2,named_attribute=value,positional_attribute_3,original_title=Kizmet's Favorite Authors]
.译Kizmet's Favorite Authors
=== 译Section Title`;
static sectionWithTitleAndAttributesHtml = `<div class="sect2">
<h3 id="_section_title">Section Title</h3>
</div>`;
static sectionWithTitleAndAttributesTiny = `<article adoc-name="document"><section adoc-name="section" attr-Level="2" type-attr-Level="number" attr-SectionName="positional_attribute_1" attr-Title="Section Title" attr-Id="_section_title" data-named_attribute="value" data-title="Kizmet's Favorite Authors"></section></article>`;
static sectionWithTitleAndAttributesNormalized = this.sectionWithTitleAndAttributesAdoc;
static indexTermBlockSimpleAdoc = `I, King Arthur.
(((knight, "Arthur, King")))`;
static indexTermBlockSimpleAdocCn = `I, King Arthur.
(((knight, "Arthur, King")))
译I, King Arthur.
(((译knight, "译Arthur, King")))`;
static indexTermBlockSimpleHtml = `<div class="paragraph">
<p>I, King Arthur.
</p>
</div>`;
static indexTermBlockSimpleTiny = `<article adoc-name="document"><p adoc-name="paragraph">I, King Arthur.
<a adoc-name="inline_indexterm" prop-alt=""><span class="term">knight</span><span class="term">Arthur, King</span></a></p></article>`;
static indexTermBlockSimpleNormalized = this.indexTermBlockSimpleAdoc;
static indexTermBlockComplexAdoc = `=== Create a new Git repository
(((Repository, create)))
(((Create Git repository)))
To create a new git repository,`;
static indexTermBlockComplexAdocCn = `[original_title=Create a new Git repository]
=== 译Create a new Git repository
(((Repository, create)))
(((Create Git repository)))
To create a new git repository,
(((译Repository, 译create)))
(((译Create Git repository)))
译To create a new git repository,`;
static indexTermBlockComplexHtml = `<div class="sect2">
<h3 id="_create_a_new_git_repository">Create a new Git repository</h3>
<div class="paragraph">
<p>
To create a new git repository,</p>
</div>
</div>`;
static indexTermBlockComplexTiny = `<article adoc-name="document"><section adoc-name="section" attr-Level="2" type-attr-Level="number" attr-SectionName="section" attr-Title="Create a new Git repository" attr-Id="_create_a_new_git_repository"><p adoc-name="paragraph"><a adoc-name="inline_indexterm" prop-alt=""><span class="term">Repository</span><span class="term">create</span></a><a adoc-name="inline_indexterm" prop-alt=""><span class="term">Create Git repository</span></a>
To create a new git repository,</p></section></article>`;
static indexTermBlockComplexNormalized = this.indexTermBlockComplexAdoc;
static indexTermInlineAdoc = `((abc, def)) ghi`;
static indexTermInlineAdocCn = `((abc, def)) ghi
((译abc, 译def))译 ghi`;
static indexTermInlineHtml = `<div class="paragraph">
<p>abc, def ghi</p>
</div>`;
static indexTermInlineTiny = `<article adoc-name="document"><p adoc-name="paragraph"><a adoc-name="inline_indexterm" prop-type="visible" prop-alt=""><span class="term">abc</span><span class="term">def</span></a> ghi</p></article>`;
static indexTermInlineNormalized = this.indexTermInlineAdoc;
static breakThematic1Adoc = `'''`;
static breakThematic1AdocCn = `'''`;
static breakThematic1Html = `<hr>`;
static breakThematic1Tiny = `<article adoc-name="document"><hr adoc-name="thematic_break"/></article>`;
static breakThematic1Normalized = this.breakThematic1Adoc;
static breakThematic2Adoc = `---`;
static breakThematic2AdocCn = `---`;
static breakThematic2Html = `<hr>`;
static breakThematic2Tiny = Examples.breakThematic1Tiny;
static breakThematic2Normalized = `'''`;
static breakThematic3Adoc = `- - -`;
static breakThematic3AdocCn = `- - -`;
static breakThematic3Html = `<hr>`;
static breakThematic3Tiny = Examples.breakThematic1Tiny;
static breakThematic3Normalized = `'''`;
static breakThematic4Adoc = `***`;
static breakThematic4AdocCn = `***`;
static breakThematic4Html = `<hr>`;
static breakThematic4Tiny = Examples.breakThematic1Tiny;
static breakThematic4Normalized = `'''`;
static breakThematic5Adoc = `* * *`;
static breakThematic5AdocCn = `* * *`;
static breakThematic5Html = `<hr>`;
static breakThematic5Tiny = Examples.breakThematic1Tiny;
static breakThematic5Normalized = `'''`;
static breakPageAdoc = `<<<`;
static breakPageAdocCn = `<<<`;
static breakPageHtml = `<div style="page-break-after: always;"></div>`;
static breakPageTiny = `<article adoc-name="document"><hr adoc-name="page_break"/></article>`;
static breakPageNormalized = this.breakPageAdoc;
static unorderedListSimpleAdoc = `* [ ] Edgar Allan Poe
** Sheri S. Tepper
* [x] Bill Bryson`;
static unorderedListSimpleAdocCn = `* [ ] Edgar Allan Poe$$$译Edgar Allan Poe
** Sheri S. Tepper$$$译Sheri S. Tepper
* [x] Bill Bryson$$$译Bill Bryson`;
static unorderedListSimpleHtml = `<div class="ulist checklist">
<ul class="checklist">
<li>
<p>❏ Edgar Allan Poe</p>
<div class="ulist">
<ul>
<li>
<p>Sheri S. Tepper</p>
</li>
</ul>
</div>
</li>
<li>
<p>✓ Bill Bryson</p>
</li>
</ul>
</div>`;
static unorderedListSimpleTiny = `<article adoc-name="document"><ul adoc-name="ulist" data-checklist-option=""><li adoc-name="list_item" attr-Text="Edgar Allan Poe" attr-Marker="*" data-checkbox="">Edgar Allan Poe<ul adoc-name="ulist"><li adoc-name="list_item" attr-Text="Sheri S. Tepper" attr-Marker="**">Sheri S. Tepper</li></ul></li><li adoc-name="list_item" attr-Text="Bill Bryson" attr-Marker="*" data-checkbox="" data-checked="">Bill Bryson</li></ul></article>`;
static unorderedListSimpleNormalized = this.unorderedListSimpleAdoc;
static unorderedListWithParagraphsAdoc = `abc
* [ ] Edgar Allan Poe
** Sheri S. Tepper
* [x] Bill Bryson
def`;
static unorderedListWithParagraphsAdocCn = `abc
译abc
* [ ] Edgar Allan Poe$$$译Edgar Allan Poe
** Sheri S. Tepper$$$译Sheri S. Tepper
* [x] Bill Bryson$$$译Bill Bryson
def
译def`;
static unorderedListWithParagraphsHtml = `<div class="paragraph">
<p>abc</p>
</div>
<div class="ulist checklist">
<ul class="checklist">
<li>
<p>❏ Edgar Allan Poe</p>
<div class="ulist">
<ul>
<li>
<p>Sheri S. Tepper</p>
</li>
</ul>
</div>
</li>
<li>
<p>✓ Bill Bryson</p>
</li>
</ul>
</div>
<div class="paragraph">
<p>def</p>
</div>`;
static unorderedListWithParagraphsTiny = `<article adoc-name="document"><p adoc-name="paragraph">abc</p><ul adoc-name="ulist" data-checklist-option=""><li adoc-name="list_item" attr-Text="Edgar Allan Poe" attr-Marker="*" data-checkbox="">Edgar Allan Poe<ul adoc-name="ulist"><li adoc-name="list_item" attr-Text="Sheri S. Tepper" attr-Marker="**">Sheri S. Tepper</li></ul></li><li adoc-name="list_item" attr-Text="Bill Bryson" attr-Marker="*" data-checkbox="" data-checked="">Bill Bryson</li></ul><p adoc-name="paragraph">def</p></article>`;
static unorderedListWithParagraphsNormalized = this.unorderedListWithParagraphsAdoc;
static orderedListAdoc = `[start=4,%reversed]
.Title
. Step four
.. Step four-one
.. Step four-two
... Step four-two-one
.... Step four-two-one-one
..... Step four-two-one-one-one
...... Step four-two-one-one-one-one
....... Step four-two-one-one-one-one-one
. Step five
. Step six`;
static orderedListAdocCn = `[start=4,%reversed,original_title=Title]
.译Title
. Step four$$$译Step four
.. Step four-one$$$译Step four-one
.. Step four-two$$$译Step four-two
... Step four-two-one$$$译Step four-two-one
.... Step four-two-one-one$$$译Step four-two-one-one
..... Step four-two-one-one-one$$$译Step four-two-one-one-one
...... Step four-two-one-one-one-one$$$译Step four-two-one-one-one-one
....... Step four-two-one-one-one-one-one$$$译Step four-two-one-one-one-one-one
. Step five$$$译Step five
. Step six$$$译Step six`;
static orderedListHtml = `<div class="olist arabic">
<div class="title">Title</div>
<ol class="arabic" start="4">
<li>
<p>Step four</p>
<div class="olist loweralpha">
<ol class="loweralpha" type="a">
<li>
<p>Step four-one</p>
</li>
<li>
<p>Step four-two</p>
<div class="olist lowerroman">
<ol class="lowerroman" type="i">
<li>
<p>Step four-two-one</p>
<div class="olist upperalpha">
<ol class="upperalpha" type="A">
<li>
<p>Step four-two-one-one</p>
<div class="olist upperroman">
<ol class="upperroman" type="I">
<li>
<p>Step four-two-one-one-one</p>
<div class="olist arabic">
<ol class="arabic">
<li>
<p>Step four-two-one-one-one-one</p>
<div class="olist arabic">
<ol class="arabic">
<li>
<p>Step four-two-one-one-one-one-one</p>
</li>
</ol>
</div>
</li>
</ol>
</div>
</li>
</ol>
</div>
</li>
</ol>
</div>
</li>
</ol>
</div>
</li>
</ol>
</div>
</li>
<li>
<p>Step five</p>
</li>
<li>
<p>Step six</p>
</li>
</ol>
</div>`;
static orderedListTiny = `<article adoc-name="document"><ol adoc-name="olist" attr-Title="Title" attr-Style="arabic" data-start="4"><li adoc-name="list_item" attr-Text="Step four" attr-Marker=".">Step four<ol adoc-name="olist" attr-Style="loweralpha"><li adoc-name="list_item" attr-Text="Step four-one" attr-Marker="..">Step four-one</li><li adoc-name="list_item" attr-Text="Step four-two" attr-Marker="..">Step four-two<ol adoc-name="olist" attr-Style="lowerroman"><li adoc-name="list_item" attr-Text="Step four-two-one" attr-Marker="...">Step four-two-one<ol adoc-name="olist" attr-Style="upperalpha"><li adoc-name="list_item" attr-Text="Step four-two-one-one" attr-Marker="....">Step four-two-one-one<ol adoc-name="olist" attr-Style="upperroman"><li adoc-name="list_item" attr-Text="Step four-two-one-one-one" attr-Marker=".....">Step four-two-one-one-one<ol adoc-name="olist" attr-Style="arabic"><li adoc-name="list_item" attr-Text="Step four-two-one-one-one-one" attr-Marker="......">Step four-two-one-one-one-one<ol adoc-name="olist" attr-Style="arabic"><li adoc-name="list_item" attr-Text="Step four-two-one-one-one-one-one" attr-Marker=".......">Step four-two-one-one-one-one-one</li></ol></li></ol></li></ol></li></ol></li></ol></li></ol></li><li adoc-name="list_item" attr-Text="Step five" attr-Marker=".">Step five</li><li adoc-name="list_item" attr-Text="Step six" attr-Marker=".">Step six</li></ol></article>`;
static orderedListNormalized = this.orderedListAdoc;
static mixedListAdoc = `. Linux
* Fedora
* Ubuntu
* Slackware
. BSD
* FreeBSD
* NetBSD`;
static mixedListAdocCn = `. Linux$$$译Linux
* Fedora$$$译Fedora
* Ubuntu$$$译Ubuntu
* Slackware$$$译Slackware
. BSD
* FreeBSD
* NetBSD`;
static mixedListHtml = `<div class="olist arabic">
<ol class="arabic">
<li>
<p>Linux</p>
<div class="ulist">
<ul>
<li>
<p>Fedora</p>
</li>
<li>
<p>Ubuntu</p>
</li>
<li>
<p>Slackware</p>
</li>
</ul>
</div>
</li>
<li>
<p>BSD</p>
<div class="ulist">
<ul>
<li>
<p>FreeBSD</p>
</li>
<li>
<p>NetBSD</p>
</li>
</ul>
</div>
</li>
</ol>
</div>`;
static mixedListTiny = `<article adoc-name="document"><ol adoc-name="olist" attr-Style="arabic"><li adoc-name="list_item" attr-Text="Linux" attr-Marker=".">Linux<ul adoc-name="ulist"><li adoc-name="list_item" attr-Text="Fedora" attr-Marker="*">Fedora</li><li adoc-name="list_item" attr-Text="Ubuntu" attr-Marker="*">Ubuntu</li><li adoc-name="list_item" attr-Text="Slackware" attr-Marker="*">Slackware</li></ul></li><li adoc-name="list_item" attr-Text="BSD" attr-Marker=".">BSD<ul adoc-name="ulist"><li adoc-name="list_item" attr-Text="FreeBSD" attr-Marker="*">FreeBSD</li><li adoc-name="list_item" attr-Text="NetBSD" attr-Marker="*">NetBSD</li></ul></li></ol></article>`;
static mixedListNormalized = this.mixedListAdoc;
static descriptionListSimpleAdoc = `.Labeled, single-line
CPU:: The brain of the computer.
Hard drive:: Permanent storage for operating system and/or user files.
Mouse:: A device that provides input to a computer.
Monitor:: Displays information in visual form using text and graphics.`;
static descriptionListSimpleAdocCn = `[original_title="Labeled, single-line"]
.译Labeled, single-line
CPU:: The brain of the computer.$$$译The brain of the computer.
Hard drive$$$译Hard drive:: Permanent storage for operating system and/or user files.$$$译Permanent storage for operating system and/or user files.
Mouse$$$译Mouse:: A device that provides input to a computer.$$$译A device that provides input to a computer.
Monitor$$$译Monitor:: Displays information in visual form using text and graphics.$$$译Displays information in visual form using text and graphics.`;
static descriptionListSimpleHtml = `<div class="dlist">
<div class="title">Labeled, single-line</div>
<dl>
<dt class="hdlist1">CPU</dt>
<dd>
<p>The brain of the computer.</p>
</dd>
<dt class="hdlist1">Hard drive</dt>
<dd>
<p>Permanent storage for operating system and/or user files.</p>
</dd>
<dt class="hdlist1">Mouse</dt>
<dd>
<p>A device that provides input to a computer.</p>
</dd>
<dt class="hdlist1">Monitor</dt>
<dd>
<p>Displays information in visual form using text and graphics.</p>
</dd>
</dl>
</div>`;
static descriptionListSimpleTiny = `<article adoc-name="document"><dl adoc-name="dlist" attr-Title="Labeled, single-line"><dt>CPU</dt><dd>The brain of the computer.</dd><dt>Hard drive</dt><dd>Permanent storage for operating system and/or user files.</dd><dt>Mouse</dt><dd>A device that provides input to a computer.</dd><dt>Monitor</dt><dd>Displays information in visual form using text and graphics.</dd></dl></article>`;
static descriptionListSimpleNormalized = this.descriptionListSimpleAdoc;
static descriptionListComplexAdoc = `Dairy::
* Milk
* Eggs
Bakery::
* Bread
Produce::
* Bananas`;
static descriptionListComplexAdocCn = `Dairy$$$译Dairy::
* Milk$$$译Milk
* Eggs$$$译Eggs
Bakery$$$译Bakery::
* Bread$$$译Bread
Produce$$$译Produce::
* Bananas$$$译Bananas`;
static descriptionListComplexHtml = `<div class="dlist">
<dl>
<dt class="hdlist1">Dairy</dt>
<dd>
<div class="ulist">
<ul>
<li>
<p>Milk</p>
</li>
<li>
<p>Eggs</p>
</li>
</ul>
</div>
</dd>
<dt class="hdlist1">Bakery</dt>
<dd>
<div class="ulist">
<ul>
<li>
<p>Bread</p>
</li>
</ul>
</div>
</dd>
<dt class="hdlist1">Produce</dt>
<dd>
<div class="ulist">
<ul>
<li>
<p>Bananas</p>
</li>
</ul>
</div>
</dd>
</dl>
</div>`;
static descriptionListComplexTiny = `<article adoc-name="document"><dl adoc-name="dlist"><dt>Dairy</dt><dd><ul adoc-name="ulist"><li adoc-name="list_item" attr-Text="Milk" attr-Marker="*">Milk</li><li adoc-name="list_item" attr-Text="Eggs" attr-Marker="*">Eggs</li></ul></dd><dt>Bakery</dt><dd><ul adoc-name="ulist"><li adoc-name="list_item" attr-Text="Bread" attr-Marker="*">Bread</li></ul></dd><dt>Produce</dt><dd><ul adoc-name="ulist"><li adoc-name="list_item" attr-Text="Bananas" attr-Marker="*">Bananas</li></ul></dd></dl></article>`;
static descriptionListComplexNormalized = this.descriptionListComplexAdoc;
static listContinuationAdoc = `* The header in AsciiDoc must start with a document title.
+
The header is optional.
* The header in AsciiDoc must start with a document title.
+
----
= Document Title
----
+
Keep in mind that the header is optional.
* Optional author and revision information lines immediately follow the document title.
+
----
= Document Title
Doc Writer <doc.writer@asciidoc.org>
v1.0, 2022-01-01
----
* grandparent list item
** parent list item
*** child list item
paragraph attached to grandparent list item`;
static listContinuationNormalized = this.listContinuationAdoc;
static listContinuationAdocCn = `* The header in AsciiDoc must start with a document title.$$$译The header in AsciiDoc must start with a document title.
+
The header is optional.$$$译The header is optional.
* The header in AsciiDoc must start with a document title.$$$译The header in AsciiDoc must start with a document title.
+
----
= Document Title
----
+
Keep in mind that the header is optional.$$$译Keep in mind that the header is optional.
* Optional author and revision information lines immediately follow the document title.$$$译Optional author and revision information lines immediately follow the document title.
+
----
= Document Title
Doc Writer <doc.writer@asciidoc.org>
v1.0, 2022-01-01
----
* grandparent list item$$$译grandparent list item
** parent list item$$$译parent list item
*** child list item$$$译child list item
paragraph attached to grandparent list item
译paragraph attached to grandparent list item`;
static textFormatSimpleAdoc = `That is *strong* _emphasis_ \`monospace\` #highlight# ~sub~ ^sup^ **unconstrained strong** stuff!`;
static textFormatSimpleAdocCn = `That is *strong* _emphasis_ \`monospace\` #highlight# ~sub~ ^sup^ **unconstrained strong** stuff!
译That is *译strong* _译emphasis_ \`monospace\` #译highlight# ~译sub~ ^译sup^ *译unconstrained strong*译 stuff!`;
static textFormatSimpleHtml = `<div class="paragraph">
<p>That is <strong>strong</strong> <em>emphasis</em> <code>monospace</code> <mark>highlight</mark> <sub>sub</sub> <sup>sup</sup> <strong>unconstrained strong</strong> stuff!</p>
</div>`;
static textFormatSimpleTiny = `<article adoc-name="document"><p adoc-name="paragraph">That is <strong adoc-name="inline_quoted" prop-type="strong" prop-alt="">strong</strong> <em adoc-name="inline_quoted" prop-type="emphasis" prop-alt="">emphasis</em> <code adoc-name="inline_quoted" prop-type="monospaced" prop-alt="">monospace</code> <mark adoc-name="inline_quoted" prop-type="mark" prop-alt="">highlight</mark> <sub adoc-name="inline_quoted" prop-type="subscript" prop-alt="">sub</sub> <sup adoc-name="inline_quoted" prop-type="superscript" prop-alt="">sup</sup> <strong adoc-name="inline_quoted" prop-type="strong" prop-alt="">unconstrained strong</strong> stuff!</p></article>`;
static textFormatSimpleNormalized = `That is *strong* _emphasis_ \`monospace\` #highlight# ~sub~ ^sup^ *unconstrained strong* stuff!`;
static textFormatNestedAdoc = `\`*_monospace bold italic phrase_*\` & \`\`*_char_*\`\`acter\`\`*_s_*\`\``;
static textFormatNestedAdocCn = `\`*_monospace bold italic phrase_*\` & \`\`*_char_*\`\`acter\`\`*_s_*\`\`
\`*_monospace bold italic phrase_*\` & \`*_char_*\`译acter\`\`*_s_*\`\``;
static textFormatNestedHtml = `<div class="paragraph">
<p><code><strong><em>monospace bold italic phrase</em></strong></code> & <code><strong><em>char</em></strong></code>acter<code><strong><em>s</em></strong></code></p>
</div>`;
static textFormatNestedTiny = `<article adoc-name="document"><p adoc-name="paragraph"><code adoc-name="inline_quoted" prop-type="monospaced" prop-alt=""><strong adoc-name="inline_quoted" prop-type="strong" prop-alt=""><em adoc-name="inline_quoted" prop-type="emphasis" prop-alt="">monospace bold italic phrase</em></strong></code> & <code adoc-name="inline_quoted" prop-type="monospaced" prop-alt=""><strong adoc-name="inline_quoted" prop-type="strong" prop-alt=""><em adoc-name="inline_quoted" prop-type="emphasis" prop-alt="">char</em></strong></code>acter<code adoc-name="inline_quoted" prop-type="monospaced" prop-alt=""><strong adoc-name="inline_quoted" prop-type="strong" prop-alt=""><em adoc-name="inline_quoted" prop-type="emphasis" prop-alt="">s</em></strong></code></p></article>`;
static textFormatNestedNormalized = this.textFormatNestedAdoc;
static textFormatLiteralMonospaceAdoc = `You can reference the value of a document attribute using
the syntax \`{name}\`, where is the attribute name.`;
static textFormatLiteralMonospaceAdocCn = `You can reference the value of a document attribute using
the syntax \`{name}\`, where is the attribute name.
译You can reference the value of a document attribute using
译the syntax \`{name}\`译, where is the attribute name.`;
static textFormatLiteralMonospaceHtml = `<div class="paragraph">
<p>You can reference the value of a document attribute using
the syntax <code>{name}</code>, where is the attribute name.</p>
</div>`;
static textFormatLiteralMonospaceTiny = `<article adoc-name="document"><p adoc-name="paragraph">You can reference the value of a document attribute using
the syntax <code adoc-name="inline_quoted" prop-type="monospaced" prop-alt="">{name}</code>, where is the attribute name.</p></article>`;
static textFormatLiteralMonospaceNormalized = this.textFormatLiteralMonospaceAdoc;
static textFormatCustomSpanAdoc = `The text [.underline]#underline me# is underlined.`;
static textFormatCustomSpanAdocCn = `The text [.underline]#underline me# is underlined.
译The text [.underline]#译underline me#译 is underlined.`;
static textFormatCustomSpanHtml = `<div class="paragraph">
<p>The text <span class="underline">underline me</span> is underlined.</p>
</div>`;
static textFormatCustomSpanTiny = `<article adoc-name="document"><p adoc-name="paragraph">The text <span adoc-name="inline_quoted" data-role="underline" prop-type="unquoted" prop-alt="">underline me</span> is underlined.</p></article>`;
static textFormatCustomSpanNormalized = this.textFormatCustomSpanAdoc;
static autoLinksAdoc = `The homepage for the Asciidoctor Project is https://www.asciidoctor.org.
Email us at hello@example.com to say hello.`;
static autoLinksAdocCn = `The homepage for the Asciidoctor Project is https://www.asciidoctor.org.
Email us at hello@example.com to say hello.
译The homepage for the Asciidoctor Project is https://www.asciidoctor.org.
译Email us at hello@example.com译 to say hello.`;
static autoLinksHtml = `<div class="paragraph">
<p>The homepage for the Asciidoctor Project is <a href="https://www.asciidoctor.org" class="bare">https://www.asciidoctor.org</a>.
Email us at <a href="mailto:hello@example.com">hello@example.com</a> to say hello.</p>
</div>`;
static autoLinksTiny = `<article adoc-name="document"><p adoc-name="paragraph">The homepage for the Asciidoctor Project is <a adoc-name="inline_anchor" data-role="bare" prop-type="link" prop-alt="" prop-target="https://www.asciidoctor.org">https://www.asciidoctor.org</a>.
Email us at <a adoc-name="inline_anchor" prop-type="link" prop-alt="" prop-target="mailto:hello@example.com">hello@example.com</a> to say hello.</p></article>`;
static autoLinksNormalized = this.autoLinksAdoc;
static enclosedLinkAdoc = `You will often see https://example.org used in examples.`;
static enclosedLinkAdocCn = `You will often see https://example.org used in examples.
译You will often see https://example.org译 used in examples.`;
static enclosedLinkHtml = `<div class="paragraph">
<p>You will often see <a href="https://example.org" class="bare">https://example.org</a> used in examples.</p>
</div>`;
static enclosedLinkTiny = `<article adoc-name="document"><p adoc-name="paragraph">You will often see <a adoc-name="inline_anchor" data-role="bare" prop-type="link" prop-alt="" prop-target="https://example.org">https://example.org</a> used in examples.</p></article>`;
static enclosedLinkNormalized = this.enclosedLinkAdoc;
static autoLinkEscapedAdoc = `Once launched, the site will be available at \\https://example.org.
If you cannot access the site, email \\help@example.org for assistance.`;
static autoLinkEscapedAdocCn = `Once launched, the site will be available at \\https://example.org.
译Once launched, the site will be available at \\https://example.org.
If you cannot access the site, email \\help@example.org for assistance.
译If you cannot access the site, email \\help@example.org for assistance.`;
static autoLinkEscapedHtml = `<div class="paragraph">
<p>Once launched, the site will be available at \https://example.org.</p>
</div>
<div class="paragraph">
<p>If you cannot access the site, email \help@example.org for assistance.</p>
</div>`;
static autoLinkEscapedTiny = `<article adoc-name="document"><p adoc-name="paragraph">Once launched, the site will be available at https://example.org.</p><p adoc-name="paragraph">If you cannot access the site, email help@example.org for assistance.</p></article>`;
static autoLinkEscapedNormalized = this.autoLinkEscapedAdoc;
static urlMacroAdoc = `Chat with other Asciidoctor users on the https://discuss.asciidoctor.org/[*mailing list*^, role=green].`;
static urlMacroAdocCn = `Chat with other Asciidoctor users on the https://discuss.asciidoctor.org/[*mailing list*^, role=green].
译Chat with other Asciidoctor users on the https://discuss.asciidoctor.org/[*译mailing list*^, role=green].`;
static urlMacroHtml = `<div class="paragraph">
<p>Chat with other Asciidoctor users on the <a href="https://discuss.asciidoctor.org/" class="green" target="_blank" rel="noopener"><strong>mailing list</strong></a>.</p>
</div>`;
static urlMacroTiny = `<article adoc-name="document"><p adoc-name="paragraph">Chat with other Asciidoctor users on the <a adoc-name="inline_anchor" data-role="green" data-window="_blank" prop-type="link" prop-alt="" prop-target="https://discuss.asciidoctor.org/"><strong adoc-name="inline_quoted" prop-type="strong" prop-alt="">mailing list</strong></a>.</p></article>`;
static urlMacroNormalized = this.urlMacroAdoc;
static textInterpolationAdoc = `= Document Title
:link-with-underscores: https://asciidoctor.org/now_this__link_works.html
This URL has repeating underscores {link-with-underscores}.`;
static textInterpolationAdocCn = `= 译Document Title
:link-with-underscores: https://asciidoctor.org/now_this__link_works.html
:original_doctitle: Document Title
This URL has repeating underscores {link-with-underscores}.
译This URL has repeating underscores {link-with-underscores}.`;
static textInterpolationHtml = `<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Asciidoctor 2.0.17">
<title>Document Title</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
<link rel="stylesheet" href="./asciidoctor.css">
</head>
<body class="article">
<div id="header">
<h1>Document Title</h1>
</div>
<div id="content">
<div class="paragraph">
<p>This URL has repeating underscores <a href="https://asciidoctor.org/now_this__link_works.html" class="bare">https://asciidoctor.org/now_this__link_works.html</a>.</p>
</div>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2000-01-01 00:00:00 +0000
</div>
</div>
</body>
</html>`;
static textInterpolationTiny = `<article adoc-name="document" data-doctitle="Document Title" data-link-with-underscores="https://asciidoctor.org/now_this__link_works.html"><p adoc-name="paragraph">This URL has repeating underscores <a adoc-name="inline_anchor" data-role="bare" prop-type="link" prop-alt="" prop-target="https://asciidoctor.org/now_this__link_works.html">https://asciidoctor.org/now_this__link_works.html</a>.</p></article>`;
static textInterpolationNormalized = this.textInterpolationAdoc;
static crossReferenceBasicAdoc = `The section <<anchors>> describes how automatic anchors work.`;
static crossReferenceBasicAdocCn = `The section <<anchors>> describes how automatic anchors work.
译The section <<anchors,译anchors>>译 describes how automatic anchors work.`;
static crossReferenceBasicHtml = `<div class="paragraph">
<p>The section <a href="#anchors">[anchors]</a> describes how automatic anchors work.</p>
</div>`;
static crossReferenceBasicTiny = `<article adoc-name="document"><p adoc-name="paragraph">The section <a adoc-name="inline_anchor" data-fragment="anchors" data-refid="anchors" prop-type="xref" prop-alt="" prop-target="#anchors">anchors</a> describes how automatic anchors work.</p></article>`;
static crossReferenceBasicNormalized = this.crossReferenceBasicAdoc;
static crossReferenceWithTitleAdoc = `Learn how to <<link-macro-attributes,use attributes within the link macro>>.`;
static crossReferenceWithTitleAdocCn = `Learn how to <<link-macro-attributes,use attributes within the link macro>>.
译Learn how to <<link-macro-attributes,译use attributes within the link macro>>.`;
static crossReferenceWithTitleHtml = `<div class="paragraph">
<p>Learn how to <a href="#link-macro-attributes">use attributes within the link macro</a>.</p>
</div>`;
static crossReferenceWithTitleTiny = `<article adoc-name="document"><p adoc-name="paragraph">Learn how to <a adoc-name="inline_anchor" data-fragment="link-macro-attributes" data-refid="link-macro-attributes" prop-type="xref" prop-alt="" prop-target="#link-macro-attributes">use attributes within the link macro</a>.</p></article>`;
static crossReferenceWithTitleNormalized = this.crossReferenceWithTitleAdoc;
static crossReferenceNatureAdoc = `Refer to <<Internal Cross References>>.`;
static crossReferenceNatureAdocCn = `Refer to <<Internal Cross References>>.
译Refer to <<Internal Cross References,译Internal Cross References>>.`;
static crossReferenceNatureHtml = `<div class="paragraph">
<p>Refer to <a href="#Internal Cross References">[Internal Cross References]</a>.</p>
</div>`;
static crossReferenceNatureTiny = `<article adoc-name="document"><p adoc-name="paragraph">Refer to <a adoc-name="inline_anchor" data-fragment="Internal Cross References" data-refid="Internal Cross References" prop-type="xref" prop-alt="" prop-target="#Internal Cross References">Internal Cross References</a>.</p></article>`;
static crossReferenceNatureNormalized = this.crossReferenceNatureAdoc;
static crossReferenceToOtherDocumentAdoc = `Refer to <<document-b.adoc#section-b,Section B>> for more information.`;
static crossReferenceToOtherDocumentAdocCn = `Refer to <<document-b.adoc#section-b,Section B>> for more information.
译Refer to <<document-b.adoc#section-b,译Section B>>译 for more information.`;
static crossReferenceToOtherDocumentHtml = `<div class="paragraph">
<p>Refer to <a href="document-b.html#section-b">Section B</a> for more information.</p>
</div>`;
static crossReferenceToOtherDocumentTiny = `<article adoc-name="document"><p adoc-name="paragraph">Refer to <a adoc-name="inline_anchor" data-path="document-b.html" data-fragment="section-b" data-refid="document-b#section-b" prop-type="xref" prop-alt="" prop-target="document-b.html#section-b">Section B</a> for more information.</p></article>`;
static crossReferenceToOtherDocumentNormalized = this.crossReferenceToOtherDocumentAdoc;
static footnotesAdoc = `The hail-and-rainbow protocol can be initiated at five levels:
doublefootnote:[The double hail-and-rainbow level makes my toes tingle.]
A bold statement!footnote:disclaimer[Opinions are my own.]
Another outrageous statement.footnote:disclaimer[]`;
static footnotesAdocCn = `The hail-and-rainbow protocol can be initiated at five levels:
译The hail-and-rainbow protocol can be initiated at five levels:
doublefootnote:[The double hail-and-rainbow level makes my toes tingle.]
译doublefootnote:[译The double hail-and-rainbow level makes my toes tingle.]
A bold statement!footnote:disclaimer[Opinions are my own.]
译A bold statement!footnote:disclaimer[译Opinions are my own.]
Another outrageous statement.footnote:disclaimer[]
译Another outrageous statement.footnote:disclaimer[]`;
static footnotesHtml = `<div class="paragraph">
<p>The hail-and-rainbow protocol can be initiated at five levels:</p>
</div>
<div class="paragraph">
<p>double<sup class="footnote">[<a id="_footnoteref_1" class="footnote" href="#_footnotedef_1" title="View footnote.">1</a>]</sup></p>
</div>
<div class="paragraph">
<p>A bold statement!<sup class="footnote" id="_footnote_disclaimer">[<a id="_footnoteref_2" class="footnote" href="#_footnotedef_2" title="View footnote.">2</a>]</sup></p>
</div>
<div class="paragraph">
<p>Another outrageous statement.<sup class="footnoteref">[<a class="footnote" href="#_footnotedef_2" title="View footnote.">2</a>]</sup></p>
</div>
<div id="footnotes">
<hr>
<div class="footnote" id="_footnotedef_1">
<a href="#_footnoteref_1">1</a>. The double hail-and-rainbow level makes my toes tingle.
</div>
<div class="footnote" id="_footnotedef_2">
<a href="#_footnoteref_2">2</a>. Opinions are my own.
</div>
</div>`;
static footnotesTiny = `<article adoc-name="document"><p adoc-name="paragraph">The hail-and-rainbow protocol can be initiated at five levels:</p><p adoc-name="paragraph">double<span adoc-name="inline_footnote" data-index="1" type-data-index="number" prop-alt="">The double hail-and-rainbow level makes my toes tingle.</span></p><p adoc-name="paragraph">A bold statement!<span adoc-name="inline_footnote" attr-Id="disclaimer" data-index="2" type-data-index="number" prop-type="ref" prop-alt="">Opinions are my own.</span></p><p adoc-name="paragraph">Another outrageous statement.<span adoc-name="inline_footnote" data-index="2" type-data-index="number" prop-type="xref" prop-alt="" prop-target="disclaimer">Opinions are my own.</span></p></article>`;
static footnotesNormalized = this.footnotesAdoc;
static imageBlockAdoc = `image::sunset.jpg["Mesa Verde Sunset, by JAVH"]`;
static imageBlockAdocCn = `[original_alt="Mesa Verde Sunset, by JAVH"]
image::sunset.jpg["译Mesa Verde Sunset, by JAVH"]`;
static imageBlockHtml = `<div class="imageblock">
<div class="content">
<img src="sunset.jpg" alt="Mesa Verde Sunset, by JAVH">
</div>
</div>`;
static imageBlockTiny = `<article adoc-name="document"><img adoc-name="image" data-alt="Mesa Verde Sunset, by JAVH" data-target="sunset.jpg"/></article>`;
static imageBlockNormalized = this.imageBlockAdoc;
static imageInlineAdoc = `Click image:play.png[] to get the party started.
Click image:pause.png[Pause] when you need a break.`;
static imageInlineAdocCn = `Click image:play.png[] to get the party started.
译Click image:play.png[译play]译 to get the party started.
Click image:pause.png[Pause] when you need a break.
译Click image:pause.png[译Pause]译 when you need a break.`;
static imageInlineHtml = `<div class="paragraph">
<p>Click <span class="image"><img src="play.png" alt="play"></span> to get the party started.</p>
</div>
<div class="paragraph">
<p>Click <span class="image"><img src="pause.png" alt="Pause"></span> when you need a break.</p>
</div>`;
static imageInlineTiny = `<article adoc-name="document"><p adoc-name="paragraph">Click <img adoc-name="inline_image" data-default-alt="play" prop-type="image" prop-alt="play" prop-target="play.png" /> to get the party started.</p><p adoc-name="paragraph">Click <img adoc-name="inline_image" prop-type="image" prop-alt="Pause" prop-target="pause.png" /> when you need a break.</p></article>`;
static imageInlineNormalized = this.imageInlineAdoc;
static imageBlockWithTitleAndAttributesAdoc = `[#img-sunset,link=https://www.flickr.com/photos/javh/5448336655]
.A mountain sunset
image::sunset.jpg[Sunset,200,100]`;
static imageBlockWithTitleAndAttributesAdocCn = `[#img-sunset,link=https://www.flickr.com/photos/javh/5448336655,original_title=A mountain sunset,original_alt=Sunset]
.译A mountain sunset
image::sunset.jpg[译Sunset,200,100]`;
static imageBlockWithTitleAndAttributesHtml = `<div id="img-sunset" class="imageblock">
<div class="content">
<a class="image" href="https://www.flickr.com/photos/javh/5448336655"><img src="sunset.jpg" alt="Sunset" width="200" height="100"></a>
</div>
<div class="title">Figure 1. A mountain sunset</div>
</div>`;
static imageBlockWithTitleAndAttributesTiny = `<article adoc-name="document"><img adoc-name="image" attr-Title="A mountain sunset" attr-Caption="Figure 1. " attr-Numeral="1" type-attr-Numeral="number" attr-Id="img-sunset" data-attribute_entries="[{"name":"figure-number","value":1,"negate":false}]" type-data-attribute_entries="object" data-link="https://www.flickr.com/photos/javh/5448336655" data-id="img-sunset" data-alt="Sunset" data-width="200" data-height="100" data-target="sunset.jpg"/></article>`;
static imageBlockWithTitleAndAttributesNormalized = this.imageBlockWithTitleAndAttributesAdoc;
static imageWithPositionalAttributesAdoc = `image::tiger.png[Tiger,200,200,float=right,align=center]`;
static imageWithPositionalAttributesAdocCn = `[original_alt=Tiger]
image::tiger.png[译Tiger,200,200,float=right,align=center]`;
static imageWithPositionalAttributesHtml = `<div class="imageblock right text-center">
<div class="content">
<img src="tiger.png" alt="Tiger" width="200" height="200">
</div>
</div>`;
static imageWithPositionalAttributesTiny = `<article adoc-name="document"><img adoc-name="image" data-alt="Tiger" data-width="200" data-height="200" data-float="right" data-align="center" data-target="tiger.png"/></article>`;
static imageWithPositionalAttributesNormalized = this.imageWithPositionalAttributesAdoc;
static videoAdoc = `video::tiger.mp4[Tiger,200,200,float=right,align=center]`;
static videoAdocCn = `[original_poster=Tiger]
video::tiger.mp4[译Tiger,200,200,float=right,align=center]`;
static videoHtml = `<div class="videoblock right text-center">
<div class="content">
<video src="tiger.mp4" width="200" height="200" poster="Tiger" controls>
Your browser does not support the video tag.
</video>
</div>
</div>`;
static videoTiny = `<article adoc-name="document"><video adoc-name="video" data-poster="Tiger" data-width="200" data-height="200" data-float="right" data-align="center" data-target="tiger.mp4">Your browser does not support the video tag.</video></article>`;
static videoNormalized = this.videoAdoc;
static iconAdoc = `icon:download[link=https://rubygems.org/downloads/whizbang-1.0.0.gem,window=_blank]`;
static iconAdocCn = `icon:download[link=https://rubygems.org/downloads/whizbang-1.0.0.gem,window=_blank]`;
static iconHtml = `<div class="paragraph">
<p><span class="icon"><a class="image" href="https://rubygems.org/downloads/whizbang-1.0.0.gem" target="_blank" rel="noopener">[download]</a></span></p>
</div>`;
static iconTiny = `<article adoc-name="document"><p adoc-name="paragraph"><img adoc-name="inline_image" data-link="https://rubygems.org/downloads/whizbang-1.0.0.gem" data-window="_blank" data-default-alt="download" prop-type="icon" prop-alt="download" prop-target="download" /></p></article>`;
static iconNormalized = this.iconAdoc;
static keyboardMacroAdoc = `the hortkey is kbd:[Ctrl+F11]`;
static keyboardMacroAdocCn = `the hortkey is kbd:[Ctrl+F11]
译the hortkey is kbd:[Ctrl+F11]`;
static keyboardMacroHtml = `<div class="paragraph">
<p>the hortkey is kbd:[Ctrl+F11]</p>
</div>`;
static keyboardMacroTiny = `<article adoc-name="document"><p adoc-name="paragraph">the hortkey is <span adoc-name="inline_kbd" data-keys="["Ctrl","F11"]" type-data-keys="object" prop-alt=""><kbd>Ctrl</kbd>+<kbd>F11</kbd></span></p></article>`;
static keyboardMacroNormalized = this.keyboardMacroAdoc;
static buttonMacroAdoc = `Press the btn:[OK] button when you are finished.
Select a file in the file navigator and click btn:[Open].`;
static buttonMacroAdocCn = `Press the btn:[OK] button when you are finished.
译Press the btn:[OK]译 button when you are finished.
Select a file in the file navigator and click btn:[Open].
译Select a file in the file navigator and click btn:[译Open].`;
static buttonMacroHtml = `<div class="paragraph">
<p>Press the btn:[OK] button when you are finished.</p>
</div>
<div class="paragraph">
<p>Select a file in the file navigator and click btn:[Open].</p>
</div>`;
static buttonMacroTiny = `<article adoc-name="document"><p adoc-name="paragraph">Press the <button adoc-name="inline_button" prop-alt="">OK</button> button when you are finished.</p><p adoc-name="paragraph">Select a file in the file navigator and click <button adoc-name="inline_button" prop-alt="">Open</button>.</p></article>`;
static buttonMacroNormalized = this.buttonMacroAdoc;
static menuMacroAdoc = `To save the file, select menu:File[Save].
Select menu:View[Zoom > Reset > Now] to reset the zoom level to the default setting.`;
static menuMacroAdocCn = `To save the file, select menu:File[Save].
译To save the file, select menu:译File[译Save].
Select menu:View[Zoom > Reset > Now] to reset the zoom level to the default setting.
译Select menu:译View[译Zoom > 译Reset > 译Now]译 to reset the zoom level to the default setting.`;
static menuMacroHtml = `<div class="paragraph">
<p>To save the file, select menu:File[Save].</p>
</div>
<div class="paragraph">
<p>Select menu:View[Zoom > Reset > Now] to reset the zoom level to the default setting.</p>
</div>`;
static menuMacroTiny = `<article adoc-name="document"><p adoc-name="paragraph">To save the file, select <span adoc-name="inline_menu" data-menu="File" data-menuitem="Save" prop-alt=""><span>File</span><span>Save</span></span>.</p><p adoc-name="paragraph">Select <span adoc-name="inline_menu" data-menu="View" data-submenus="["Zoom","Reset"]" type-data-submenus="object" data-menuitem="Now" prop-alt=""><span>View</span><span>Zoom</span><span>Reset</span><span>Now</span></span> to reset the zoom level to the default setting.</p></article>`;
static menuMacroNormalized = this.menuMacroAdoc;
static admonitionSimpleAdoc = `abc
WARNING: Wolpertingers are known to nest in server racks.
Enter at your own risk.`;
static admonitionSimpleAdocCn = `abc
译abc
[WARNING]
====
Wolpertingers are known to nest in server racks.
Enter at your own risk.
译Wolpertingers are known to nest in server racks.
译Enter at your own risk.
====`;
static admonitionSimpleHtml = `<div class="paragraph">
<p>abc</p>
</div>
<div class="admonitionblock warning">
<table>
<tr>
<td class="icon">
<div class="title">Warning</div>
</td>
<td class="content">
Wolpertingers are known to nest in server racks.
Enter at your own risk.
</td>
</tr>
</table>
</div>`;
static admonitionSimpleTiny = `<article adoc-name="document"><p adoc-name="paragraph">abc</p><figure adoc-name="admonition" attr-Style="WARNING" attr-Caption="Warning" data-name="warning" data-textlabel="Warning">Wolpertingers are known to nest in server racks.
Enter at your own risk.</figure></article>`;
static admonitionSimpleNormalized = this.admonitionSimpleAdoc;
static admonitionComplexAdoc = `[IMPORTANT]
.Feeding the Werewolves
====
While werewolves are hardy community members, keep in mind the following dietary concerns:
. They are allergic to cinnamon.
. More than two glasses of orange juice in 24 hours makes them howl in harmony with alarms and sirens.
. Celery makes them sad.
====`;
static admonitionComplexAdocCn = `[IMPORTANT,original_title=Feeding the Werewolves]
.译Feeding the Werewolves
====
While werewolves are hardy community members, keep in mind the following dietary concerns:
译While werewolves are hardy community members, keep in mind the following dietary concerns:
. They are allergic to cinnamon.$$$译They are allergic to cinnamon.
. More than two glasses of orange juice in 24 hours makes them howl in harmony with alarms and sirens.$$$译More than two glasses of orange juice in 24 hours makes them howl in harmony with alarms and sirens.
. Celery makes them sad.$$$译Celery makes them sad.
====`;
static admonitionComplexHtml = `<div class="admonitionblock important">
<table>
<tr>
<td class="icon">
<div class="title">Important</div>
</td>
<td class="content">
<div class="title">Feeding the Werewolves</div>
<div class="paragraph">
<p>While werewolves are hardy community members, keep in mind the following dietary concerns:</p>
</div>
<div class="olist arabic">
<ol class="arabic">
<li>
<p>They are allergic to cinnamon.</p>
</li>
<li>
<p>More than two glasses of orange juice in 24 hours makes them howl in harmony with alarms and sirens.</p>
</li>
<li>
<p>Celery makes them sad.</p>
</li>
</ol>
</div>
</td>
</tr>
</table>
</div>`;
static admonitionComplexTiny = `<article a