A React component that compiles Songdown syntax (a markup language for chord sheets) into HTML for rendering. Version 0.7.0 is the latest stable release, with no further updates since 2015. It is part of the Songdown project, designed for musicians to write songs with chords, lyrics, guitar tabs, and comments. Key differentiators include transposing, font size control, and options to hide chords/comments/GOTOs. Requires React 0.13.x and lodash 3.x.x as peer dependencies. The project is unmaintained and uses outdated libraries, including React 0.13 (pre-hooks), lodash 3, and CoffeeScript heritage.
npm install songdown-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to require the library, create a Song component with props, and render it using React 0.13-style API.
Migrate to a modern chord sheet rendering library like chord-sheet-renderer or react-chord-sheet.
Use var Song = require('songdown-compiler')(React);Ensure lodash version 3.x is installed in your project.
Update your Songdown files to use the new verse ending syntax as specified in the changelog.
Stick to React 0.13 or migrate to a different library.
Use source maps or avoid this package for new projects.
Install React 0.13.x: npm install react@0.13 --save
Install lodash 3.x: npm install lodash@3 --save
Downgrade to React 0.13 or use an alternative library.
Do not use this package with React 0.14+; if needed, use ReactDOM.render but may still break.