---
title: resource type
---

The main type of a resource's [media type]. Content files such as Markdown, HTML, AsciiDoc, Pandoc, reStructuredText, and Emacs Org Mode have resource type `page`. Other resource types include `image`, `video`, etc. Retrieve the resource type using the [`ResourceType`] method on a `Resource` object.

[media type]: /methods/resource/mediatype/
[`ResourceType`]: /methods/resource/resourcetype/
