Hi Raniere,

> On 3 Dec 2015, at 10:31, Raniere Silva <[email protected]> wrote:
> 
> Hi Alexander,
> 
> thanks for your email.
> 
>> 1) Adding new language for syntax highlighting: when I've started
>> http://alex-konovalov.github.io/gap-lesson/, I haven't found GAP
>> in the list of supported languages. I've decided to use markup
>> 
>> ~~~ {.gap}
>> GAP input
>> ~~~
>> 
>> for the GAP input anyway - in this case {.gap} ignored and it is
>> just displayed in grey colour, but in case of further appearance
>> of {.gap} mode, I will not have to change anything. You may see
>> e.g. http://alex-konovalov.github.io/gap-lesson/01-command-line.html
>> to see how it looks like.
>> 
>> What could I do to try to create a {.gap} mode? Will this be an 
>> extension to pandoc and will I be able to use it locally before 
>> it will be submitted and hopefully accepted by them (if pandoc 
>> is the case).
> 
> This need to be fixed on Pandoc.
> I sent a pull request to Pandoc: https://github.com/jgm/pandoc/pull/2569 .

Thanks - I've just left a comment under that PR.
> 
>> 2) How to change the link to the Source in one of the four buttons
>> in the bottom of the page? It was not suggested anywhere, but it
>> seems like other lessons are pointing to their repositories, and 
>> not to the 'lesson-template'.
> 
> Could you change _includes/footer.html ?

Yes, that worked! I've also made a PR to document this in LAYOUT.md:

https://github.com/swcarpentry/lesson-example/pull/14

Best wishes
Alexander



_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org

Reply via email to