mirror of
https://github.com/docling-project/docling-core.git
synced 2026-05-17 13:10:44 +00:00
* Add forward slash to singleton tags See issue #354 on docling-project/docling-core Signed-off-by: 15mbp <100952997+15mbp@users.noreply.github.com> * test(HTML): fix ground truth data files Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com> --------- Signed-off-by: 15mbp <100952997+15mbp@users.noreply.github.com> Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com> Co-authored-by: 15mbp <100952997+15mbp@users.noreply.github.com>
75 lines
1.6 KiB
HTML
Vendored
75 lines
1.6 KiB
HTML
Vendored
<!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>
|
|
<h1>This is the title</h1>
|
|
<h2>This is the first section</h2>
|
|
</html>
|