Developer documentation
Preview status
Section titled “Preview status”[!WARNING] The SFM npm package has not been released. The website previews its capabilities and interfaces. The public package name, installation command, and release date will be announced with the release.
The planned SFM npm package will let you display Markdown authored in Space as a read-only document in your own web app. Your app supplies the Markdown, controls which resources the reader can load, and decides where the document appears. Authors continue to edit and save the same .md file in Space.
Space Flavored Markdown (SFM) extends GitHub Flavored Markdown with structures such as columns, highlights, resizable images, and diagram blocks. Those structures are stored in the Markdown source, so the same file can be displayed on the web without conversion.
Use the live demo to edit and render SFM in the browser. Preview interfaces may change before release.
How it fits into your app
Section titled “How it fits into your app”launch-checklist.md → Load the Markdown source in your app → render(container, source, options) → Read-only document in the browser- Get started Follow a Markdown file from Space into a browser element.
- Rendering and themes Integrate the reader with your app lifecycle and customize typography and diagrams.
- Resources and security Authorize images, audio, video, and relative links.
- API reference Look up entry points, signatures, options, and results.
- Compatibility and troubleshooting Check feature coverage, fallbacks, and common problems.
To write a document in Space, use the SFM syntax reference.