How to use the chordsheetjs.HtmlFormatter function in chordsheetjs

To help you get started, we’ve selected a few chordsheetjs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github martijnversluis / ChordFiddle / js / chord_pro_editor.js View on Github external
onEditorChange() {
    const song = this.parseChordProSheet();

    if (this.textPreviewer) {
      this.textPreviewer.value = new ChordSheetJS.TextFormatter().format(song);
    }

    if (this.htmlPreviewer) {
      this.htmlPreviewer.innerHTML = new ChordSheetJS.HtmlFormatter().format(song);
    }
  }

chordsheetjs

A JavaScript library for parsing and formatting chord sheets

GPL-2.0
Latest version published 3 days ago

Package Health Score

78 / 100
Full package analysis

Similar packages