This example uses Express.js and Web Components to render Markdoc.
We use Lit to simplify organizing and creating our Web Components but you can use native Web Component browser features directly to build your own set of custom elements.
To get started:
- Download the project.
- Run
npm install
andnpm run build
to build the components. - Run
npm run start
to start the server. - View the sample Markdoc page at
http://localhost:4242
.