A fully open-source headless CMS that supports Markdown and Visual Editing
Method on the deprecated GitFile class (PR #5715). Reads the file at HEAD through the legacy GitClient REST endpoints, which are being removed alongside the class.
411d until removal
/**
* Load the contents of this file at HEAD
*
* @deprecated
*/
show = () => {
return this.git.show(this.relativePath).then((git: { content: string }) => {
return this.parse(git.content);
});
};Query the document via the TinaCMS GraphQL client (client.queries.<collection>(...)).