import { ComponentBase } from "./ComponentBase.js";
export class Markdown extends ComponentBase {
  content;
  headerStartLevel;
  constructor(def, props) {
    super(def, props);
    const {
      content,
      options
    } = def;
    this.content = content;
    this.options = options;
    this.headerStartLevel = 2;
  }
  getViewModel() {
    const {
      content,
      viewModel
    } = this;
    return {
      ...viewModel,
      content,
      headerStartLevel: this.headerStartLevel
    };
  }
}
//# sourceMappingURL=Markdown.js.map