Developer guide

Prepare an Astro site for Marpos Studio and follow an editor’s first change from a local checkout to the published page.

Set up an Astro site
Margin’s headline field beside the same article rendered by Astro in Marpos Studio.
A headline edit in Margin, beside its Astro preview.

Astro chapters

  1. Project setup

    Adapt an existing Astro site with a coding assistant, then open it in Studio and check your editor’s first change.

  2. Content collections

    Define editable fields, connect related entries, and choose the right editing experience for each file type.

  3. Page previews

    Render an entry in Astro, map it to a public route, and check unsaved changes alongside the editor.

  4. Images and cropping

    Choose where uploads go, give photos editable details, and verify a crop in the site’s image pipeline.

  5. Review and publishing

    Take a saved edit through GitHub, run the website’s checks, and see which update your host is serving.

  6. Optional connections

    Supply preview settings for an external service, or connect the writing, development, and search tools your team uses.

Reference

Marpos Studio settings

Look up a configuration key, its accepted values, its default, and the file where it belongs.