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 15:41:02
|
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). > I've also asked Github about broken HTML colors in markdown display. What are you refering to with that? Urs > > best, > Janek -------------- next part -------------- An HTML attachment was scrubbed... |