Thanks John - exactly what I was looking for. Do you know how to
specify multiple params for Coderay? I want to tell it to hide line
numbers but can't seem to get to recognize the command. Here's what
I'm trying:

----def meth options
------p options
----end
{:lang="ruby", :line_numbers="false"}

Am I doing this incorrectly?

On Jan 17, 3:29 pm, john muhl <[email protected]> wrote:
> (whoops. accidentally sent off list)
>
> looks at my previous posts in this thread. i explained it there. you
> only need the kramdown_filter extension and the coderay gem (not the
> coderay extension). usage looks like:
>
> ----def meth options
> ------p options
> ----end
> {:lang="ruby"}
>
> where - is replaced with space as you would in regular markdown `pre`
> blocks. i don't think it gets easier than that.

Reply via email to