md-jsx-html

0.0.0 • Public • Published

md + jsx = html

md-jsx-html is a utility for creating

[].md ->

  • site-wide data
  • available to every rendered page.

.md ->

  • normal page data
  • optionally used with .jsx to produce .html

.jsx ->

  • normal page component
  • combine with .md, if available, to produce .html

[].md ->

  • post page data
  • combine with [post].jsx to produce .html
  • create index from all post pages and combine with [index].html to produce index.html, 1.html, 2.html, etc...

[].jsx -> Special page component.

  • [post].jsx
    • post component
    • combine with data from files formatted [].md to produce .html
  • [index].jsx
    • index component
    • combine with index created from all post pages to produce index.html, 1.html, 2.html, etc...

Readme

Keywords

none

Package Sidebar

Install

npm i md-jsx-html

Weekly Downloads

1

Version

0.0.0

License

MIT

Last publish

Collaborators

  • johnhenry