import { Component, h, Host, Prop } from '@stencil/core';
export class DvnMarkdown {
  render() {
    return (h(Host, { innerHTML: this.convertToMarkdown(this.content) }));
  }
  convertToMarkdown(content) {
    // @ts-ignore
    return new showdown.Converter().makeHtml(content);
  }
  static get is() { return "dvn-markdown"; }
  static get originalStyleUrls() { return {
    "$": ["dvn-markdown.css"]
  }; }
  static get styleUrls() { return {
    "$": ["dvn-markdown.css"]
  }; }
  static get properties() { return {
    "content": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "content",
      "reflect": false
    }
  }; }
}
