easybook icon indicating copy to clipboard operation
easybook copied to clipboard

Support for code listing caption

Open hhamon opened this issue 12 years ago • 0 comments

It would be useful to be able to specify a caption for a code listing.

I suggest to use a syntax similar like this one:

[code php "Listing 2-3: class skeleton with constructor"]
<?php
class Foo
{
    private $bar;

    public function __construct($bar)
    {
        $this->bar = $bar;
    }
}

hhamon avatar Sep 24 '12 00:09 hhamon