Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 593 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 593 Bytes

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.