Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Enhance markdown formatting

Christophe Bliarda979e84b22fb
diff --git a/modules/pdf_export/README.md b/modules/pdf_export/README.md
index 6f6d5efa96f..34f25b0dae4 100644
--- a/modules/pdf_export/README.md
+++ b/modules/pdf_export/README.md
@@ -3,15 +3,15 @@ Usage
The plugin provides an admin interface for ExportCardConfiguration CRUD. Existing ExportCardConfigurations can then be used to export data in PDF form, the configuration defining the layout of the card and the specific data which appears in it. The DocumentGenerator init takes a ExportCardConfiguration and an array of any object. It is left to the developer to make sure the fields in the config match the given data. A ExportCardConfiguration currently allows for the following fields to be defined:
-Name - A unique identifier for the configuration.
-Per Page - The number of export cards which will appear on each page of the exported PDF.
-Page Size - Currently we only support A4 paper size.
-Orientation - Portrait of Landscape.
-Rows - A YAML text block which defines in detail what should appear in each row and column of the export cards.
+* Name - A unique identifier for the configuration.
+* Per Page - The number of export cards which will appear on each page of the exported PDF.
+* Page Size - Currently we only support A4 paper size.
+* Orientation - Portrait of Landscape.
+* Rows - A YAML text block which defines in detail what should appear in each row and column of the export cards.
The following sample YAML shows the required form and all of the available configuration options:
-<pre>
+```yaml
group1:
has_border: false
rows:
@@ -74,7 +74,7 @@ group2:
has_label: true
font_size: 15
minimum_lines: 1
-</pre>
+```
The config is divided into groups. A group can have a height property which will enforce the minimum height of the group in pixels. The has_border property can be set to true which will draw a border around the rows in the group.