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.
| Limit | Value |
|---|---|
| File types | .md, .markdown, .mdx |
| Size | 2 MB at most |
| Files per import | One |
Import a file
- Open the collection the article belongs in.
- Click + next to Contents.
- Set Content Source to (None).
- Under Import from File, drop the file on the box or click it to choose one.
- Click Save.
| # | What it does |
|---|---|
| 1 | Content Source: (None) shows the import box. |
| 2 | The chosen file. Remove clears it. |
| 3 | Save: 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
- Click the article to open it.
- Under Content File, click Replace from file and choose the new version.
- Click Replace content.
| # | What it does |
|---|---|
| 1 | Replace 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 .
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.