Mercurial > repos > public > wdown
changeset 11:4bcdc24edbe3
Add music score rendering
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 18 Jun 2020 07:51:33 +0200 |
parents | 1ffe6e4f933c |
children | bfffb69f55aa |
files | test.md test.tmpl |
diffstat | 2 files changed, 24 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test.md Wed Jun 17 22:13:03 2020 +0200 +++ b/test.md Thu Jun 18 07:51:33 2020 +0200 @@ -26,6 +26,20 @@ \zeta = \frac{1}{N}\sqrt{\sum_{i=1}^N \phi_i(x)} $$ +## Music + +X: 22 +M:3/4 +L:1/8 +Q:1/4=100 +C:Paul Rosen +S:Copyright 2007, Paul Rosen +R:Klezmer +K:Dm +Ade|:"Dm"(f2d)e gf|"A7"e2^c4|"Gm"B>>^c BA BG|"A"A3Ade|"Dm"(f2d)e gf|"A7"e2^c4| +"Gm"A>>B "A7"AG FE|1"Dm"D3Ade:|2"Dm"D3DEF||:"Gm"(G2D)E FG|"Dm"A2F4|"Gm"B>>c "A7"BA BG| +"Dm"A3 DEF|"Gm"(G2D)EFG|"Dm"A2F4|"E°"E>>Fy "(A7)"ED^C2|1"Dm"D3DEF:|2"Dm"D6|| + ## Some logic We also need a table
--- a/test.tmpl Wed Jun 17 22:13:03 2020 +0200 +++ b/test.tmpl Thu Jun 18 07:51:33 2020 +0200 @@ -2,10 +2,19 @@ <head> <title>{{title}}</title> <meta charset="UTF-8"> + + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/kognise/water.css@latest/dist/light.min.css"> + <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script> + + <script src="abcjs_plugin_5.10.3-min.js" type="text/javascript"></script> + + <style> + .abctext {display: none;} + </style> </head> <body> -{{{content}}} + {{{content}}} </body> </html>