Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Latest commit

 

History

History

html-nodejs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

HTML example

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.

Setup

To get started:

  1. Download the project.
  2. Run npm install and npm run build to build the components.
  3. Run npm run start to start the server.
  4. View the sample Markdoc page at http://localhost:4242.