phase2: markdown converter with goldmark, chroma, and ASCII-translit anchors

This commit is contained in:
Sergey Filkin
2026-04-18 11:47:18 +03:00
parent cab04768b5
commit 8deba3627f
39 changed files with 5662 additions and 0 deletions
+297
View File
@@ -0,0 +1,297 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Document</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1>Document</h1>
<p>Contact <a href="mailto:dev@example.test">dev@example.test</a> for details.</p>
</main>
</body>
</html>
+1
View File
@@ -0,0 +1 @@
Contact <dev@example.test> for details.
+298
View File
@@ -0,0 +1,298 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Basic Example</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1 id="basic-example"><a href="#basic-example" class="heading-anchor">#</a>Basic Example</h1>
<p>Simple paragraph with <strong>bold</strong>, <em>italic</em>, and <a href="/docs">docs</a>.</p>
</main>
</body>
</html>
+3
View File
@@ -0,0 +1,3 @@
# Basic Example
Simple paragraph with **bold**, *italic*, and [docs](/docs).
+297
View File
@@ -0,0 +1,297 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Document</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1>Document</h1>
<p>Ready to launch &#x1f680; today.</p>
</main>
</body>
</html>
+1
View File
@@ -0,0 +1 @@
Ready to launch :rocket: today.
+303
View File
@@ -0,0 +1,303 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Document</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1>Document</h1>
<pre style="background-color:#f7f7f7;-webkit-text-size-adjust:none;"><code><span style="display:flex;"><span><span style="color:#cf222e">package</span><span style="color:#fff"> </span><span style="color:#1f2328">main</span><span style="color:#fff">
</span></span></span><span style="display:flex;"><span><span style="color:#fff">
</span></span></span><span style="display:flex;"><span><span style="color:#cf222e">import</span><span style="color:#fff"> </span><span style="color:#0a3069">&#34;fmt&#34;</span><span style="color:#fff">
</span></span></span><span style="display:flex;"><span><span style="color:#fff">
</span></span></span><span style="display:flex;"><span><span style="color:#cf222e">func</span><span style="color:#fff"> </span><span style="color:#6639ba">main</span><span style="color:#1f2328">()</span><span style="color:#fff"> </span><span style="color:#1f2328">{</span><span style="color:#fff">
</span></span></span><span style="display:flex;"><span><span style="color:#fff"> </span><span style="color:#1f2328">fmt</span><span style="color:#1f2328">.</span><span style="color:#6639ba">Println</span><span style="color:#1f2328">(</span><span style="color:#0a3069">&#34;hello&#34;</span><span style="color:#1f2328">)</span><span style="color:#fff">
</span></span></span><span style="display:flex;"><span><span style="color:#1f2328">}</span><span style="color:#fff">
</span></span></span></code></pre>
</main>
</body>
</html>
@@ -0,0 +1,9 @@
```go
package main
import "fmt"
func main() {
fmt.Println("hello")
}
```
+305
View File
@@ -0,0 +1,305 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Document</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1>Document</h1>
<p>Footnote text.<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>Extra details.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>
</main>
</body>
</html>
+3
View File
@@ -0,0 +1,3 @@
Footnote text.[^1]
[^1]: Extra details.
+297
View File
@@ -0,0 +1,297 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dev@example.test</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1>dev@example.test</h1>
<h2 id="dev-example-test"><a href="#dev-example-test" class="heading-anchor">#</a><a href="mailto:dev@example.test">dev@example.test</a></h2>
</main>
</body>
</html>
+1
View File
@@ -0,0 +1 @@
## <dev@example.test>
+300
View File
@@ -0,0 +1,300 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Install</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1>Install</h1>
<h2 id="install"><a href="#install" class="heading-anchor">#</a>Install</h2>
<h2 id="install-1"><a href="#install-1" class="heading-anchor">#</a>Install</h2>
<h2 id="setup"><a href="#setup" class="heading-anchor">#</a>Setup</h2>
<h2 id="setap"><a href="#setap" class="heading-anchor">#</a>Сетап</h2>
</main>
</body>
</html>
+7
View File
@@ -0,0 +1,7 @@
## Install
## Install
## Setup
## Сетап
+299
View File
@@ -0,0 +1,299 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Привет</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1 id="privet"><a href="#privet" class="heading-anchor">#</a>Привет</h1>
<h2 id="ustanovka"><a href="#ustanovka" class="heading-anchor">#</a>Установка</h2>
<h3 id="bystryi-start"><a href="#bystryi-start" class="heading-anchor">#</a>Быстрый старт</h3>
</main>
</body>
</html>
+5
View File
@@ -0,0 +1,5 @@
# Привет
## Установка
### Быстрый старт
+297
View File
@@ -0,0 +1,297 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>🚀 Launch</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1>🚀 Launch</h1>
<h2 id="launch"><a href="#launch" class="heading-anchor">#</a>&#x1f680; Launch</h2>
</main>
</body>
</html>
+1
View File
@@ -0,0 +1 @@
## :rocket: Launch
+297
View File
@@ -0,0 +1,297 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>alt Title</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1>alt Title</h1>
<h2 id="alt-title"><a href="#alt-title" class="heading-anchor">#</a><img src="image.png" alt="alt"> Title</h2>
</main>
</body>
</html>
+1
View File
@@ -0,0 +1 @@
## ![alt](image.png) Title
+297
View File
@@ -0,0 +1,297 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>API</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1>API</h1>
<h2 id="api"><a href="#api" class="heading-anchor">#</a><a href="/api">API</a></h2>
</main>
</body>
</html>
+1
View File
@@ -0,0 +1 @@
## [API](/api)
+297
View File
@@ -0,0 +1,297 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Using go fmt</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1>Using go fmt</h1>
<h2 id="using-go-fmt"><a href="#using-go-fmt" class="heading-anchor">#</a>Using <code>go fmt</code></h2>
</main>
</body>
</html>
+1
View File
@@ -0,0 +1 @@
## Using `go fmt`
+297
View File
@@ -0,0 +1,297 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Document</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1>Document</h1>
&lt;script&gt;alert(1)&lt;/script&gt;
</main>
</body>
</html>
+1
View File
@@ -0,0 +1 @@
<script>alert(1)</script>
+297
View File
@@ -0,0 +1,297 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Document</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1>Document</h1>
<p>Use <del>old</del> new output.</p>
</main>
</body>
</html>
+1
View File
@@ -0,0 +1 @@
Use ~~old~~ new output.
+314
View File
@@ -0,0 +1,314 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Document</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1>Document</h1>
<table>
<thead>
<tr>
<th>Name</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Alpha</td>
<td>1</td>
</tr>
<tr>
<td>Beta</td>
<td>2</td>
</tr>
</tbody>
</table>
</main>
</body>
</html>
+4
View File
@@ -0,0 +1,4 @@
| Name | Value |
| --- | --- |
| Alpha | 1 |
| Beta | 2 |
+300
View File
@@ -0,0 +1,300 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Document</title>
<style>
:root {
color-scheme: light;
--page-bg: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text: #0f172a;
--muted: #475569;
--code-bg: #f1f5f9;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--quote-bg: #eff6ff;
--quote-border: #93c5fd;
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.7;
padding: 24px 16px 40px;
}
.document {
max-width: 960px;
margin: 0 auto;
background: var(--surface);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 20px;
box-shadow: var(--shadow);
padding: 48px 56px;
}
.document > :first-child {
margin-top: 0;
}
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
color: var(--text);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.25;
margin: 1.75rem 0 0.85rem;
position: relative;
scroll-margin-top: 2rem;
}
.document h1 {
border-bottom: 1px solid var(--border);
font-size: 2.4rem;
padding-bottom: 0.5rem;
}
.document h2 {
border-bottom: 1px solid var(--border);
font-size: 1.85rem;
padding-bottom: 0.45rem;
}
.document h3 {
font-size: 1.45rem;
}
.document h4 {
font-size: 1.2rem;
}
.document h5,
.document h6 {
font-size: 1rem;
}
.document .heading-anchor {
color: var(--muted);
float: left;
margin-left: -1.25em;
opacity: 0;
padding-right: 0.3em;
text-decoration: none;
transition: opacity 0.18s ease;
user-select: none;
}
.document h1:hover .heading-anchor,
.document h2:hover .heading-anchor,
.document h3:hover .heading-anchor,
.document h4:hover .heading-anchor,
.document h5:hover .heading-anchor,
.document h6:hover .heading-anchor,
.document .heading-anchor:focus {
opacity: 0.65;
}
.document p,
.document ul,
.document ol,
.document blockquote,
.document table,
.document pre,
.document hr {
margin: 0 0 1rem;
}
.document ul,
.document ol {
padding-left: 1.7rem;
}
.document li + li {
margin-top: 0.3rem;
}
.document li > p {
margin-bottom: 0.5rem;
}
.document a {
color: var(--accent);
text-decoration: underline;
text-decoration-thickness: 0.08em;
text-underline-offset: 0.15em;
}
.document a:hover {
color: var(--accent-hover);
}
.document strong {
font-weight: 700;
}
.document em {
font-style: italic;
}
.document del {
color: var(--muted);
text-decoration-thickness: 0.08em;
}
.document blockquote {
background: var(--quote-bg);
border-left: 4px solid var(--quote-border);
border-radius: 0 12px 12px 0;
color: var(--muted);
padding: 1rem 1.2rem;
}
.document hr {
border: 0;
border-top: 1px solid var(--border);
}
.document code {
background: var(--code-bg);
border: 1px solid rgba(148, 163, 184, 0.18);
border-radius: 8px;
font-family: "SFMono-Regular", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
padding: 0.15em 0.4em;
}
.document pre {
background: #0f172a;
border-radius: 16px;
color: #e2e8f0;
overflow-x: auto;
padding: 1rem 1.1rem;
}
.document pre code {
background: transparent;
border: 0;
color: inherit;
display: block;
font-size: 0.92rem;
line-height: 1.6;
padding: 0;
white-space: pre;
}
.document img {
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: block;
height: auto;
max-width: 100%;
}
.document table {
border-collapse: collapse;
display: block;
overflow-x: auto;
width: 100%;
}
.document th,
.document td {
border: 1px solid var(--border);
padding: 0.65rem 0.8rem;
text-align: left;
vertical-align: top;
}
.document th {
background: #f8fafc;
font-weight: 700;
}
.document tr:nth-child(even) td {
background: rgba(248, 250, 252, 0.7);
}
.document .task-list-item {
list-style: none;
margin-left: -1.55rem;
padding-left: 1.55rem;
}
.document .task-list-item input[type="checkbox"] {
accent-color: var(--accent);
margin-right: 0.5rem;
pointer-events: none;
transform: translateY(1px);
}
.document .footnotes {
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.95rem;
margin-top: 2rem;
padding-top: 1rem;
}
.document .footnotes ol {
margin-bottom: 0;
}
@media (max-width: 768px) {
body {
padding: 16px 10px 28px;
}
.document {
border-radius: 16px;
padding: 28px 20px;
}
.document h1 {
font-size: 2rem;
}
.document h2 {
font-size: 1.55rem;
}
.document h3 {
font-size: 1.3rem;
}
.document .heading-anchor {
margin-left: -1.05em;
}
.document th,
.document td {
min-width: 140px;
}
}
</style>
</head>
<body>
<main class="document">
<h1>Document</h1>
<ul>
<li><input checked="" disabled="" type="checkbox"> Ship phase 2</li>
<li><input disabled="" type="checkbox"> Review output</li>
</ul>
</main>
</body>
</html>
+2
View File
@@ -0,0 +1,2 @@
- [x] Ship phase 2
- [ ] Review output