Content Sources

Importing a Markdown File

Upload a Markdown file once to make it an article, and upload a new version whenever it changes.

An imported file becomes a content (an article) that Contito owns.

Nothing stays connected: a change to the file on your computer reaches the site only when you upload it again.

LimitValue
File types.md, .markdown, .mdx
Size2 MB at most
Files per importOne

Import a file

  1. Open the collection the article belongs in.
  2. Click + next to Contents.
  3. Set Content Source to (None).
  4. Under Import from File, drop the file on the box or click it to choose one.
  5. Click Save.

The Add Content dialog with (None) picked, a Markdown file chosen and Save marked

#What it does
1Content Source: (None) shows the import box.
2The chosen file. Remove clears it.
3Save: imports the file as a new article.

The article's title comes from the title in the file's front matter, or else from the file name.

Type a Name to use a different one.

A collection synced from a Drive folder, a doc or GitHub has no +. Import into a collection of your own.

After the import, keep editing the article in its Write tab, with no file needed. See Writing in Contito .

Upload a new version

  1. Click the article to open it.
  2. Under Content File, click Replace from file and choose the new version.
  3. Click Replace content.

The Content File box in the edit dialog, asking to replace the article with a new file, with Replace content marked

#What it does
1Replace content: swaps the article's text for the new file.

The new file replaces the text, description, tags and cover image from the file.

What you changed in Contito stays: the name, address, authors and dates.

What the file can hold

The same Markdown as a GitHub file, with front matter for the title, description, tags and authors. See Writing in Markdown .

Images need a full address that starts with https://. A path to a file on your computer, like ./images/photo.png, doesn't load. For files with local images, connect them from GitHub instead.