mirror of
https://github.com/docling-project/docling-core.git
synced 2026-05-17 13:10:44 +00:00
148 lines
3.6 KiB
HTML
148 lines
3.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<link rel="icon" type="image/png"
|
|
href="https://raw.githubusercontent.com/docling-project/docling/refs/heads/main/docs/assets/logo.svg"/>
|
|
<meta charset="UTF-8">
|
|
<title>
|
|
Powered by Docling
|
|
</title>
|
|
<style>
|
|
html {
|
|
background-color: LightGray;
|
|
}
|
|
body {
|
|
margin: 0 auto;
|
|
width:800px;
|
|
padding: 30px;
|
|
background-color: White;
|
|
font-family: Arial, sans-serif;
|
|
box-shadow: 10px 10px 10px grey;
|
|
}
|
|
figure{
|
|
display: block;
|
|
width: 100%;
|
|
margin: 0px;
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
img {
|
|
display: block;
|
|
margin: auto;
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
max-width: 640px;
|
|
max-height: 640px;
|
|
}
|
|
table {
|
|
min-width:500px;
|
|
background-color: White;
|
|
border-collapse: collapse;
|
|
cell-padding: 5px;
|
|
margin: auto;
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
th, td {
|
|
border: 1px solid black;
|
|
padding: 8px;
|
|
}
|
|
th {
|
|
font-weight: bold;
|
|
}
|
|
table tr:nth-child(even) td{
|
|
background-color: LightGray;
|
|
}
|
|
math annotation {
|
|
display: none;
|
|
}
|
|
.formula-not-decoded {
|
|
background: repeating-linear-gradient(
|
|
45deg, /* Angle of the stripes */
|
|
LightGray, /* First color */
|
|
LightGray 10px, /* Length of the first color */
|
|
White 10px, /* Second color */
|
|
White 20px /* Length of the second color */
|
|
);
|
|
margin: 0;
|
|
text-align: center;
|
|
}
|
|
</style>
|
|
</head>
|
|
<ul>
|
|
<li>item of leading list</li>
|
|
</ul>
|
|
<h1>Title of the Document</h1>
|
|
<p>Author 1<br>Affiliation 1</p>
|
|
<p>Author 2<br>Affiliation 2</p>
|
|
<h2>1. Introduction</h2>
|
|
<p>This paper introduces the biggest invention ever made. ...</p>
|
|
<ul>
|
|
<li>list item 1</li>
|
|
<li>list item 2</li>
|
|
<li>list item 3</li>
|
|
<ol>
|
|
<li>list item 3.a</li>
|
|
<li>list item 3.b</li>
|
|
<li>list item 3.c</li>
|
|
<ol>
|
|
<li>list item 3.c.i</li>
|
|
</ol>
|
|
</ol>
|
|
</ul>
|
|
<li>list item 4</li>
|
|
<table><caption>This is the caption of table 1.</caption><tbody><tr><td rowspan="2">Product</td><td colspan="2">Years</td></tr><tr><td>2016</td><td>2017</td></tr><tr><td>Apple</td><td>49823</td><td>695944</td></tr></tbody></table>
|
|
<figure><figcaption>This is the caption of figure 1.</figcaption></figure>
|
|
<figure><figcaption>This is the caption of figure 2.</figcaption></figure>
|
|
<ul>
|
|
<li>item 1 of list</li>
|
|
</ul>
|
|
<ul>
|
|
<ul>
|
|
<li>item 1 of list after empty list</li>
|
|
<li>item 2 of list after empty list</li>
|
|
</ul>
|
|
<ul>
|
|
<li>item 1 of neighboring list</li>
|
|
<li>item 2 of neighboring list</li>
|
|
<ul>
|
|
<li>item 1 of sub list</li>
|
|
<p>Here a code snippet:</p>
|
|
<pre><code><p>Hello world</p></code></pre>
|
|
<p>(to be displayed inline)</p>
|
|
</ul>
|
|
<p>Here a formula:</p>
|
|
<div><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mrow><mi>E</mi><mo>=</mo><mi>m</mi><msup><mi>c</mi><mn>2</mn></msup></mrow><annotation encoding="TeX">E=mc^2</annotation></math></div>
|
|
<p>(to be displayed inline)</p>
|
|
</ul>
|
|
</ul>
|
|
<p>Here a code block:</p>
|
|
<pre><code>print("Hello world")</code></pre>
|
|
<p>Here a formula block:</p>
|
|
<div><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mrow><mi>E</mi><mo>=</mo><mi>m</mi><msup><mi>c</mi><mn>2</mn></msup></mrow><annotation encoding="TeX">E=mc^2</annotation></math></div>
|
|
<p>Some formatting chops:</p>
|
|
<p>bold</p>
|
|
<p>italic</p>
|
|
<p>underline</p>
|
|
<p>strikethrough</p>
|
|
<p>hyperlink</p>
|
|
<p>&</p>
|
|
<p>everything at the same time.</p>
|
|
<ol>
|
|
<li>Item 1 in A</li>
|
|
<li>Item 2 in A</li>
|
|
<li>Item 3 in A</li>
|
|
<ol>
|
|
<li>Item 1 in B</li>
|
|
<li>Item 2 in B</li>
|
|
<ol>
|
|
<li>Item 1 in C</li>
|
|
<li>Item 2 in C</li>
|
|
</ol>
|
|
</ol>
|
|
<li>Item 3 in B</li>
|
|
</ol>
|
|
<li>Item 4 in A</li>
|
|
<p>The end.</p>
|
|
</html>
|