Skip to main content

Markdown import properties

Some aspects of the import are particular to the Markdown file format and the way it is converted into valid XML. You can adjust some of these by using the import settings that match your requirements, while others may require you to adjust the actual Markdown content.

Folder structure after import into Paligo is dependent on headings included in the Markdown files (# Heading 1, ## Heading 2, ### Heading 3 etc.), in conjunction with the Max folder levels import setting. Every heading level gets imported into its own topic. By default (if Max folder levels is left at 1), every heading 1 topic is stored in its own folder, together with all subheading topics. If Max folder levels is set higher, lower level headings will also be stored in their own folder.

Note

Folders and topics are named with the heading content.

Example 1. Multifile import, level set to 1

Every Markdown file contains three heading levels (# Filename Heading 1, ### Filename Heading 2, ### Filename Heading 3).

Folderstructure_1.png


Example 2. Multifile import, level set to 3

Every Markdown file contains three heading levels (# Filename Heading 1, ### Filename Heading 2, ### Filename Heading 3).

Folderstructure_2.png


Example 3. Single file import, level set to 1
260403_Markdown_FolderStructure_3.png


Example 4. Single file import, level set to 3
260403_Markdown_FolderStructure_4.png


Images are placed inside the Media folder, into a folder named with the root Markdown file's Heading 1, with subdirectories bearing the name of the topic the image is referenced from.

Make sure all of the images you want to import are correctly referenced in the Markdown file(s), using a relative reference.

Note

Images that are not referenced, will not be imported, even if they are included in the imported .zip file.

If your Markdown file contains a table of contents, the import will create a separate topic containing that table of contents including cross-references to the relevant topics the entries refer to.