Re: [oll-user] 'snippets' Github interface idea
Resources for LilyPond and LaTeX users writing (about) music
Status: Alpha
Brought to you by:
u-li-1973
From: Urs L. <ul...@op...> - 2013-09-13 16:13:19
|
Am 13.09.2013 18:03, schrieb Janek Warchoł: > 2013/9/13 Urs Liska <ul...@op... <mailto:ul...@op...>> > > Am 13.09.2013 17:12, schrieb Janek Warchoł: >> >> 2013/9/13 Janek Warchoł <lem...@gm... >> <mailto:lem...@gm...>> >> >> 2013/9/13 Urs Liska <ul...@op... >> <mailto:ul...@op...>> >> >> Am 13.09.2013 01:20, schrieb Janek Warchoł: >> >>> Actually, we may be able to provide syntax highligting: >>> as far as i know, you can insert HTML into markdown, so >>> we could use your html-export from Frescobaldi to >>> produce html code and paste it into the .md file! >>> ...for some reason this doesn't work as expected. I've >>> added a markdown file containing html code generated >>> using your Frescobaldi export, and it isn't coloredd. I >>> think that Github isn't respecting some aspect of html >>> formatting, maybe that's a bug. >>> See my attempt here: >>> https://github.com/openlilylib/snippets/blob/markdown-test/notation-snippets/scaling-stencils.md >> >> As you noticed, I had tried the same before ;-) >> Having written to Github is a good idea. Although I don't >> think it's a bug but rather an omission. Maybe even on >> purpose, e.g. for security reasons. >> >> >> As for now i was told to report this to pygments: >> http://bitbucket.org/birkenfeld/pygments-main/issues >> >> >> https://bitbucket.org/birkenfeld/pygments-main/issue/904/lilypond-support > > Does that mean GitHub doesn't support formatted HTML code inside > markdown? > Because what pygments does is something completely different, > isn't it (although some generic highlighting using a widely used > library like pygments would be a good thing in its own right). > > > Sorry, i've indeed mixed two things. > When i talked with GitHub support about syntax highlighting in > general, and the possibility of GitHub highlighting Lily sources > automatically (i.e. when *.ly files are viewed on github website), i > was advised to add an issue to Pygments. And so i did. > >> I've also asked Github about broken HTML colors in markdown display. > What are you refering to with that? > > > To your previous paragraph :) I.e. apart from asking Pygments to > support LilyPond, i've asked Github what's up with Github's support > for formatted HTML code inside markdown. So do I see correctly? a) You asked for displaying .ly files and were forwarded to pygments. This should be doable, but it looks quite crowded there, 51 open pull requests alone ... b) You asked for being able to used styled HTML inside Markdown. And this is still open? Or did they point you to pygments too with that question? Urs -------------- next part -------------- An HTML attachment was scrubbed... |