Sure. Having a title for the block is perfectly reasonable. I did bring up the 
option with Jekyll folks to see if they could help, but I was told that this 
kind of thing is better suited as a custom extension, so we are going to have 
to build our own anyway. I imagine adding a title-like <span> would no problem. 
What to show on that title and where to get that text from is a bigger problem.

> On Dec 17, 2014, at 6:04 AM, Marvin Addison <marvin.addi...@gmail.com> wrote:
> 
> I have just added collapsible code blocks to the docs site:
> 
> http://jasig.github.io/cas/development/installation/Maven-Overlay-Installation.html
>  
> <http://jasig.github.io/cas/development/installation/Maven-Overlay-Installation.html>
> I have some mixed feelings on the result. It's partly just bike shedding I'll 
> admit.
> That should hopefully provide a more pleasant experience.
> 
> I agree the text flows better, but I really do not like hiding the code 
> altogether. Is there another widget we could use that shows some of the code 
> block content; for example, the first N lines? Is that an (easy) option?The 
> Confluence code block toggle shows the code block title and an expand 
> link/button, which I would recommend we model if there's nothing canned that 
> does what I suggested. Jekyll plugins seem straightforward, so building our 
> own doesn't seem unreasonable; I'm willing to look into it if needed.
> 
> M
> 
> -- 
> You are currently subscribed to cas-dev@lists.jasig.org 
> <mailto:cas-dev@lists.jasig.org> as: mmoay...@unicon.net
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-dev


-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to