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 installandnpm run buildto build the components. - Run
npm run startto start the server. - View the sample Markdoc page at
http://localhost:4242.