doc-down
Renders markdown with custom elements inline for documentation
Installation
npm install doc-down --save
Usage
Some **markdown** This is a custom element where the content is treated as markdown: : MyElementName(attribute="value") This content **must** be indented to appear inside the element. This is a custom element where the content is treated as plain text: : MyElementName(attribute="value"). This is plain text. This is an element without any content : MyElementName(attribute="value")
On the server side/in advance if possible:
var DocDown = ; const dd = ; fs;
On the client side:
const data = ; // you can use any kind of react component here { return <div>propschildren</div>;}const customElements = MyElementName; ReactDOM
License
MIT