Importing Multiple Markdown Files as One Multi-Page Asset
You may group together markdown files and upload them to Hub as a single multi-page asset, where each page is one of the markdown files uploaded.
You may only upload such assets using the Cloud Import method outlined below.
Uploading Multi-Markdown Assets
Step 1: Preparing the JSON
With URLs to the Markdown files
Prepare a JSON like the following, where each URL points to a markdown file you'd like to include in the asset. The order of the URLs will determine the order in which markdown files will be presented to the annotator as pages.
The following JSON will import two assets of four markdown files each:
With the Markdown content directly
You may also choose to directly insert the Markdown content within the JSON file, like so:
Step 2: Uploading the JSON
From your project dashboard, go to the Assets tab and click on Add Data. Then, enter the Upload Data URL section and drag and drop your JSON on the file upload field. Then, press on Upload. Your multi-image asset(s) will be uploaded.
Assets uploaded this way will have navigation buttons at the top, allowing annotators to navigate between the images in the dataset.
Last updated