This is an automated email from the ASF dual-hosted git repository.

msahyoun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pdfbox-docs.git

commit 27caaa7099fdb263b7d0f6b1ed348e17ad64f878
Author: Maruan Sahyoun <sahy...@fileaffairs.de>
AuthorDate: Wed Jun 10 08:09:42 2020 +0200

    PDFBOX-4848: allow HTML markup in markdown files, fix markdown indent
---
 .eleventy.js     | 5 ++++-
 content/index.md | 6 ++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.eleventy.js b/.eleventy.js
index 60afdd0..e75d848 100644
--- a/.eleventy.js
+++ b/.eleventy.js
@@ -4,7 +4,10 @@ module.exports = function(eleventyConfig) {
   // needs the markdown-it-anchor plugin
   const markdownIt = require("markdown-it");
   const markdownItAnchor = require("markdown-it-anchor");
-  const markdownLib = markdownIt().use(markdownItAnchor);
+  const options = {
+    html: true
+  };
+  const markdownLib = markdownIt(options).use(markdownItAnchor);
   eleventyConfig.setLibrary("md", markdownLib);
 
   // copy static files to output
diff --git a/content/index.md b/content/index.md
index 0c2970d..5ce6fc9 100644
--- a/content/index.md
+++ b/content/index.md
@@ -23,10 +23,8 @@ title:   A Java PDF Library
 
 <p class="lead">The Apache PDFBox<sup>&reg;</sup> library is an open source 
Java tool for working with
     PDF documents. This project allows creation of new PDF documents, 
manipulation of existing
-    documents and the ability to extract content from documents.
-
-    Apache PDFBox also includes several command-line utilities.
-    Apache PDFBox is published under the Apache License v2.0.</p>
+    documents and the ability to extract content from documents. Apache PDFBox 
also includes several
+    command-line utilities. Apache PDFBox is published under the Apache 
License v2.0.</p>
 
 {% for post in site.categories.news limit:1 %}
 <h2>{{ post.title }}<br><small>{{ post.date  | date: "%Y-%m-%d"}}</small></h2>

Reply via email to