This code reacts to user input. OnChange gets fired and the HTML generated by Pell is converted into Markdown using Turndown.
npm i --save pell;
npm i --save turndown;
<pell-input (onChangeInput)="onChangeInput($event)"></pell-input>
onChangeInput(event) {
this.markdown = event;
}
(using pell v1.0.4 and turndown v5.0.1)