d-showdown

0.1.3 • Public • Published

d-showdown

Example Showdown Derby component.

Usage

Example usage

In your template

<Head:>
  <view name="d-showdown:includes"></view>
<Body:>
  <view name="d-showdown" text={{_page.text}} html={{_page.markdown}} options="{{ {  } }}"></view>

Your data

model.set("_page.text", "__Hello World__");

See the derby-examples repo for an example using real-time data subscriptions to power multi-player markdown editing.

Package Sidebar

Install

npm i d-showdown

Weekly Downloads

0

Version

0.1.3

License

MIT

Last publish

Collaborators

  • enjalot