Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chordpro support via a preprocessor? #11

Open
EvanEdwards opened this issue Sep 21, 2023 · 1 comment
Open

Chordpro support via a preprocessor? #11

EvanEdwards opened this issue Sep 21, 2023 · 1 comment

Comments

@EvanEdwards
Copy link

I was poking around to consider making a Chordpro plugin for Obsidian, and I realized that with something like the following code as a preprocessor (and converting {this} to [this]), you could render 99% of all real world Chordpro files that just have chords and a few {chorus} notes. Or a similar bit of TS code; this is not a terribly complex text transformation.

https://github.com/jperkin/chordpro.js/

I haven't dug into the chordlyrics code, but it could be as simple as ```chordlyrics rendering as it does currently, and ```chordpro could apply a preprocessor, followed by treating it as input. Admittedly a bit of a hack, but a very easy one to catch most usage cases for a popular format.

Is there any interest in this, or would it be considered outside the scope of this project?

@vfxturjo
Copy link

vfxturjo commented Apr 8, 2024

I was looking for the same thing, a ChordPro plugin for obsidian would be helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants