Initial commit
Test / test (push) Successful in 7m5s
Release / gates (push) Successful in 7m28s
Release / build (amd64, freebsd) (push) Successful in 2m52s
Release / build (amd64, linux) (push) Successful in 2m46s
Release / build (arm64, freebsd) (push) Successful in 2m22s
Release / build (arm64, linux) (push) Successful in 2m38s
Release / build (loong64, linux) (push) Successful in 2m7s
Release / build (riscv64, linux) (push) Successful in 2m17s
Release / release (push) Successful in 1m0s
Test / test (push) Successful in 7m5s
Release / gates (push) Successful in 7m28s
Release / build (amd64, freebsd) (push) Successful in 2m52s
Release / build (amd64, linux) (push) Successful in 2m46s
Release / build (arm64, freebsd) (push) Successful in 2m22s
Release / build (arm64, linux) (push) Successful in 2m38s
Release / build (loong64, linux) (push) Successful in 2m7s
Release / build (riscv64, linux) (push) Successful in 2m17s
Release / release (push) Successful in 1m0s
Assisted-by: GLM 5.3
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
=== HTML ===
|
||||
<p>Hello <em>world</em> and <strong>bold</strong></p>
|
||||
=== TOC ===
|
||||
<div class="toc">
|
||||
<ul></ul>
|
||||
</div>
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
=== HTML ===
|
||||
<p>Prose before.</p>
|
||||
<pre><code class="language-go">fmt.Println("hi")
|
||||
</code></pre>
|
||||
<pre><code>indented code
|
||||
</code></pre>
|
||||
<p>Inline <code>code</code> too.</p>
|
||||
=== TOC ===
|
||||
<div class="toc">
|
||||
<ul></ul>
|
||||
</div>
|
||||
+1
@@ -0,0 +1 @@
|
||||
Hello *world* and **bold**
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
Prose before.
|
||||
|
||||
```go
|
||||
fmt.Println("hi")
|
||||
```
|
||||
|
||||
indented code
|
||||
|
||||
Inline `code` too.
|
||||
+3
@@ -0,0 +1,3 @@
|
||||

|
||||
|
||||

|
||||
@@ -0,0 +1,9 @@
|
||||
# Title One
|
||||
|
||||
Some [link](https://example.com) here.
|
||||
|
||||
## Sub & "head"
|
||||
|
||||
### Deep
|
||||
|
||||
Text.
|
||||
@@ -0,0 +1,7 @@
|
||||
<script>alert(1)</script>
|
||||
|
||||
<img src="/media/x.webp" onerror="alert(1)">
|
||||
|
||||
[click](javascript:alert(1))
|
||||
|
||||
<iframe src="https://evil"></iframe>
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
# Math
|
||||
|
||||
Inline radiation: $E = h\nu$ redshifted by $\sqrt{g_{tt}}$.
|
||||
|
||||
$$E = h\nu\,\sqrt{g_{tt}(r)} = \text{konst.} \quad (1)$$
|
||||
|
||||
The metric reads $ds^2 = -g_{tt}(r)c^2dt^2 + dr^2 + r^2d\Omega^2$, and a
|
||||
photon loses energy as $\frac{E(t)}{E_0} = e^{-Ht}$.
|
||||
|
||||
$$1+z = \frac{\nu(r_1)}{\nu(r_2)} = \sqrt{\frac{g_{tt}(r_1)}{g_{tt}(r_2)}}. \quad (2)$$
|
||||
|
||||
Prices are not math: the ticket costs $5 and the guide $10 per group.
|
||||
|
||||
The metric in prose right above its display form
|
||||
$$g_{tt}(r) = 1 - \frac{r_s}{r}$$
|
||||
continues in a sentence after it.
|
||||
|
||||
$$r_h = \frac{\sigma}{\sqrt{2\pi G \rho_{\text{amb}}}},
|
||||
\qquad M_h = \frac{2\sigma^2 r_h}{G}. \quad (7)$$
|
||||
|
||||
An equation broken across lines keeps its prose out of mathematics
|
||||
$\nabla^2 h =
|
||||
(8\pi/\kappa a)u$: the binding is the force of a cell $\kappa a = c^4/G$,
|
||||
and the source is the energy.
|
||||
|
||||
$$\raisebox{1em}{E} = h\nu$$
|
||||
|
||||
Inline degradation too: $\raisebox{1em}{E}$ stays visible where it stands.
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
# Diagrams
|
||||
|
||||
A flowchart of the observed cycle:
|
||||
|
||||
```mermaid
|
||||
flowchart LR
|
||||
A[Observation] --> B{Hypothesis}
|
||||
B -->|confirmed| C[Theory]
|
||||
B -->|refuted| D[Revised model]
|
||||
```
|
||||
|
||||
A sequence of a measurement:
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
participant O as Observer
|
||||
participant S as Source
|
||||
O->>S: request spectrum
|
||||
S-->>O: redshifted light
|
||||
Note over S: proper time runs slow
|
||||
```
|
||||
|
||||
A type the renderer does not carry stays source:
|
||||
|
||||
```mermaid
|
||||
stateDiagram-v2
|
||||
[*] --> calm
|
||||
```
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
~~struck~~ text
|
||||
|
||||
> quote
|
||||
|
||||
Footnote[^1]
|
||||
|
||||
[^1]: note text
|
||||
|
||||
Term
|
||||
: definition
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
| a | b |
|
||||
|---|---|
|
||||
| 1 | 2 |
|
||||
@@ -0,0 +1,5 @@
|
||||
- [x] done
|
||||
- [ ] todo
|
||||
|
||||
1. ordered
|
||||
2. items
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
=== HTML ===
|
||||
<p></p><figure><img src="/media/pic.webp" alt="alt text"/><div class="fig-info">i</div><figcaption>Caption here</figcaption></figure><p></p>
|
||||
<p><img src="/media/other.webp" alt="plain"/></p>
|
||||
=== TOC ===
|
||||
<div class="toc">
|
||||
<ul></ul>
|
||||
</div>
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
=== HTML ===
|
||||
<h1 id="title-one">Title One</h1>
|
||||
<p>Some <a rel="noopener noreferrer" href="https://example.com">link</a> here.</p>
|
||||
<h2 id="sub--head">Sub & "head"</h2>
|
||||
<h3 id="deep">Deep</h3>
|
||||
<p>Text.</p>
|
||||
=== TOC ===
|
||||
<div class="toc">
|
||||
<ul>
|
||||
<li><a rel="noopener noreferrer" href="#title-one">Title One</a>
|
||||
<ul>
|
||||
<li><a rel="noopener noreferrer" href="#sub--head">Sub & "head"</a>
|
||||
<ul>
|
||||
<li><a rel="noopener noreferrer" href="#deep">Deep</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
=== HTML ===
|
||||
|
||||
<img src="/media/x.webp">
|
||||
<p>click</p>
|
||||
|
||||
=== TOC ===
|
||||
<div class="toc">
|
||||
<ul></ul>
|
||||
</div>
|
||||
Vendored
+34
@@ -0,0 +1,34 @@
|
||||
=== HTML ===
|
||||
<h1 id="math">Math</h1>
|
||||
<p>Inline radiation: <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>E</mi><mo>=</mo><mi>h</mi><mi>ν</mi></math> redshifted by <math xmlns="http://www.w3.org/1998/Math/MathML"><msqrt><msub><mi>g</mi><mrow><mi>t</mi><mi>t</mi></mrow></msub></msqrt></math>.</p>
|
||||
<div class="math math-display">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mi>E</mi><mo>=</mo><mi>h</mi><mi>ν</mi><mspace width="0.1667em"></mspace><msqrt><mrow><msub><mi>g</mi><mrow><mi>t</mi><mi>t</mi></mrow></msub><mo>(</mo><mi>r</mi><mo>)</mo></mrow></msqrt><mo>=</mo><mtext>konst.</mtext><mspace width="1em"></mspace><mo>(</mo><mn>1</mn><mo>)</mo></math>
|
||||
</div>
|
||||
<p>The metric reads <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>d</mi><msup><mi>s</mi><mn>2</mn></msup><mo>=</mo><mo>-</mo><msub><mi>g</mi><mrow><mi>t</mi><mi>t</mi></mrow></msub><mo>(</mo><mi>r</mi><mo>)</mo><msup><mi>c</mi><mn>2</mn></msup><mi>d</mi><msup><mi>t</mi><mn>2</mn></msup><mo>+</mo><mi>d</mi><msup><mi>r</mi><mn>2</mn></msup><mo>+</mo><msup><mi>r</mi><mn>2</mn></msup><mi>d</mi><msup><mi>Ω</mi><mn>2</mn></msup></math>, and a
|
||||
photon loses energy as <math xmlns="http://www.w3.org/1998/Math/MathML"><mfrac><mrow><mi>E</mi><mo>(</mo><mi>t</mi><mo>)</mo></mrow><msub><mi>E</mi><mn>0</mn></msub></mfrac><mo>=</mo><msup><mi>e</mi><mrow><mo>-</mo><mi>H</mi><mi>t</mi></mrow></msup></math>.</p>
|
||||
<div class="math math-display">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mn>1</mn><mo>+</mo><mi>z</mi><mo>=</mo><mfrac><mrow><mi>ν</mi><mo>(</mo><msub><mi>r</mi><mn>1</mn></msub><mo>)</mo></mrow><mrow><mi>ν</mi><mo>(</mo><msub><mi>r</mi><mn>2</mn></msub><mo>)</mo></mrow></mfrac><mo>=</mo><msqrt><mfrac><mrow><msub><mi>g</mi><mrow><mi>t</mi><mi>t</mi></mrow></msub><mo>(</mo><msub><mi>r</mi><mn>1</mn></msub><mo>)</mo></mrow><mrow><msub><mi>g</mi><mrow><mi>t</mi><mi>t</mi></mrow></msub><mo>(</mo><msub><mi>r</mi><mn>2</mn></msub><mo>)</mo></mrow></mfrac></msqrt><mo>.</mo><mspace width="1em"></mspace><mo>(</mo><mn>2</mn><mo>)</mo></math>
|
||||
</div>
|
||||
<p>Prices are not math: the ticket costs $5 and the guide $10 per group.</p>
|
||||
<p>The metric in prose right above its display form</p>
|
||||
<div class="math math-display">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><msub><mi>g</mi><mrow><mi>t</mi><mi>t</mi></mrow></msub><mo>(</mo><mi>r</mi><mo>)</mo><mo>=</mo><mn>1</mn><mo>-</mo><mfrac><msub><mi>r</mi><mi>s</mi></msub><mi>r</mi></mfrac></math>
|
||||
</div>
|
||||
<p>continues in a sentence after it.</p>
|
||||
<div class="math math-display">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><msub><mi>r</mi><mi>h</mi></msub><mo>=</mo><mfrac><mi>σ</mi><msqrt><mrow><mn>2</mn><mi>π</mi><mi>G</mi><msub><mi>ρ</mi><mtext>amb</mtext></msub></mrow></msqrt></mfrac><mo>,</mo><mspace width="2em"></mspace><msub><mi>M</mi><mi>h</mi></msub><mo>=</mo><mfrac><mrow><mn>2</mn><msup><mi>σ</mi><mn>2</mn></msup><msub><mi>r</mi><mi>h</mi></msub></mrow><mi>G</mi></mfrac><mo>.</mo><mspace width="1em"></mspace><mo>(</mo><mn>7</mn><mo>)</mo></math>
|
||||
</div>
|
||||
<p>An equation broken across lines keeps its prose out of mathematics
|
||||
$\nabla^2 h =
|
||||
(8\pi/\kappa a)u$: the binding is the force of a cell <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>κ</mi><mi>a</mi><mo>=</mo><msup><mi>c</mi><mn>4</mn></msup><mo>/</mo><mi>G</mi></math>,
|
||||
and the source is the energy.</p>
|
||||
<div class="math math-display">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><merror><mtext>\raisebox</mtext></merror><mrow><mn>1</mn><mi>e</mi><mi>m</mi></mrow><mi>E</mi><mo>=</mo><mi>h</mi><mi>ν</mi></math>
|
||||
</div>
|
||||
<p>Inline degradation too: <math xmlns="http://www.w3.org/1998/Math/MathML"><merror><mtext>\raisebox</mtext></merror><mrow><mn>1</mn><mi>e</mi><mi>m</mi></mrow><mi>E</mi></math> stays visible where it stands.</p>
|
||||
=== TOC ===
|
||||
<div class="toc">
|
||||
<ul>
|
||||
<li><a rel="noopener noreferrer" href="#math">Math</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
=== HTML ===
|
||||
<h1 id="diagrams">Diagrams</h1>
|
||||
<p>A flowchart of the observed cycle:</p>
|
||||
<div class="diagram">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 388 340" font-family="sans-serif"><path d="M 76 194 C 108 194, 108 194, 140 194" fill="none" stroke="#555" stroke-width="2"/><path d="M 248 194 C 280 194, 280 104, 312 104" fill="none" stroke="#555" stroke-width="2"/><path d="M 248 194 C 280 194, 280 242, 312 242" fill="none" stroke="#555" stroke-width="2"/><polygon points="140,194 129,199 129,189" fill="#555"/><polygon points="312,104 301,109 301,99" fill="#555"/><polygon points="312,242 301,247 301,237" fill="#555"/><rect x="32" y="136" width="44" height="116" fill="#ffffff" stroke="#333" stroke-width="1.5"/><text x="54" y="199" text-anchor="middle" font-size="14">Observation</text><polygon points="194,86 248,194 194,302 140,194" fill="#ffffff" stroke="#333" stroke-width="1.5"/><text x="194" y="199" text-anchor="middle" font-size="14">Hypothesis</text><rect x="312" y="56" width="44" height="96" fill="#ffffff" stroke="#333" stroke-width="1.5"/><text x="334" y="109" text-anchor="middle" font-size="14">Theory</text><rect x="312" y="176" width="44" height="132" fill="#ffffff" stroke="#333" stroke-width="1.5"/><text x="334" y="247" text-anchor="middle" font-size="14">Revised model</text><text x="280" y="142" text-anchor="middle" font-size="12">confirmed</text><text x="280" y="211" text-anchor="middle" font-size="12">refuted</text></svg>
|
||||
</div>
|
||||
<p>A sequence of a measurement:</p>
|
||||
<div class="diagram">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 348 272" font-family="sans-serif"><line x1="99" y1="68" x2="99" y2="248" stroke="#999" stroke-dasharray="5 5"/><line x1="249" y1="68" x2="249" y2="248" stroke="#999" stroke-dasharray="5 5"/><rect x="36" y="24" width="126" height="44" rx="8" fill="#eef2f7" stroke="#333" stroke-width="1.5"/><text x="99" y="51" text-anchor="middle" font-size="14" font-weight="bold">Observer</text><rect x="186" y="24" width="126" height="44" rx="8" fill="#eef2f7" stroke="#333" stroke-width="1.5"/><text x="249" y="51" text-anchor="middle" font-size="14" font-weight="bold">Source</text><line x1="99" y1="126" x2="249" y2="126" stroke="#333" stroke-width="1.8"/><polygon points="249,126 238,121 238,131" fill="#333"/><text x="174" y="119" text-anchor="middle" font-size="13">request spectrum</text><line x1="249" y1="174" x2="99" y2="174" stroke="#333" stroke-width="1.8" stroke-dasharray="7 5"/><polygon points="99,174 110,169 110,179" fill="#333"/><text x="174" y="167" text-anchor="middle" font-size="13">redshifted light</text><rect x="219" y="196" width="60" height="30" rx="4" fill="#fffbe0" stroke="#999"/><text x="249" y="216" text-anchor="middle" font-size="13">proper time runs slow</text></svg>
|
||||
</div>
|
||||
<p>A type the renderer does not carry stays source:</p>
|
||||
<pre><code class="language-mermaid">stateDiagram-v2
|
||||
[*] --> calm
|
||||
</code></pre>
|
||||
=== TOC ===
|
||||
<div class="toc">
|
||||
<ul>
|
||||
<li><a rel="noopener noreferrer" href="#diagrams">Diagrams</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
Vendored
+21
@@ -0,0 +1,21 @@
|
||||
=== HTML ===
|
||||
<p><del>struck</del> text</p>
|
||||
<blockquote>
|
||||
<p>quote</p>
|
||||
</blockquote>
|
||||
<p>Footnote<sup class="footnote-ref"><a rel="noopener noreferrer" href="#fn-1" id="fnref-1" data-footnote-ref="">1</a></sup></p>
|
||||
<dl>
|
||||
<dt>Term</dt>
|
||||
<dd>definition</dd>
|
||||
</dl>
|
||||
<section class="footnotes" data-footnotes="">
|
||||
<ol>
|
||||
<li id="fn-1">
|
||||
<p>note text <a rel="noopener noreferrer" href="#fnref-1" class="data-footnote-backref" aria-label="Back to reference 1">↩</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</section>
|
||||
=== TOC ===
|
||||
<div class="toc">
|
||||
<ul></ul>
|
||||
</div>
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
=== HTML ===
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>a</th>
|
||||
<th>b</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>2</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
=== TOC ===
|
||||
<div class="toc">
|
||||
<ul></ul>
|
||||
</div>
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
=== HTML ===
|
||||
<ul>
|
||||
<li><input checked="" disabled="" type="checkbox"> done</li>
|
||||
<li><input disabled="" type="checkbox"> todo</li>
|
||||
</ul>
|
||||
<ol>
|
||||
<li>ordered</li>
|
||||
<li>items</li>
|
||||
</ol>
|
||||
=== TOC ===
|
||||
<div class="toc">
|
||||
<ul></ul>
|
||||
</div>
|
||||
Reference in New Issue
Block a user