@mercury-fx/content
v3.0.0
Published
Mercury published pages — a renderer registry and block catalog that reads Mercury documents without the editor: no builder, history, editing engine or Effector provider in its import graph.
Readme
@mercury-fx/content
Mercury published pages: a renderer registry and block catalog that reads Mercury documents without the editor. Its import graph has no builder, history, editing engine or Effector provider.
Install
npm i @mercury-fx/content @mercury-fx/schema @mercury-fx/ui react # schema, ui and react are peer dependenciesUse
import { renderDocument, createRendererRegistry, CATALOG } from "@mercury-fx/content";Exports: renderDocument, createRendererRegistry, schemaFor, BREAKPOINTS, and the
block catalog (CATALOG, catalogEntries, contentRegistry, contentSchema,
exampleDocument). It ships as one ES-module bundle (dist/mercury-content.js) with
type declarations.
License
MIT
