Files
docling-core/test/data/doc/constructed_document.yaml.html
T
Peter W. J. Staar ef49fd3f34 feat: adding HTML export to DoclingDocument, adding export of images in png with links to Markdown & HTML (#69)
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
Co-authored-by: Christoph Auer <cau@zurich.ibm.com>
Co-authored-by: Michele Dolfi <dol@zurich.ibm.com>
2024-11-27 05:27:23 +01:00

38 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
table {
border-collapse: separate;
/* Maintain separate borders */
border-spacing: 5px; /*
Space between cells */
width: 50%;
}
th, td {
border: 1px solid black;
/* Add lines etween cells */
padding: 8px; }
</style>
</head>
<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 4</li>
</ul>
<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>
</html>