mirror of
https://github.com/typst/typst
synced 2025-08-17 16:38:31 +08:00
HTML reference test
This commit is contained in:
parent
63bc1e9fe2
commit
07707f43f2
13
tests/ref/html/ref-basic.html
Normal file
13
tests/ref/html/ref-basic.html
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h2 id="intro">1. Introduction</h2>
|
||||||
|
<p>See <a href="#setup">Section 1.1</a>.</p>
|
||||||
|
<h3 id="setup">1.1. Setup</h3>
|
||||||
|
<p>As seen in <a href="#intro">Section 1</a>, we proceed.</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,6 +1,6 @@
|
|||||||
// Test references.
|
// Test references.
|
||||||
|
|
||||||
--- ref-basic ---
|
--- ref-basic render html ---
|
||||||
#set heading(numbering: "1.")
|
#set heading(numbering: "1.")
|
||||||
|
|
||||||
= Introduction <intro>
|
= Introduction <intro>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user