styledocco icon indicating copy to clipboard operation
styledocco copied to clipboard

Syntax Highlighting

Open tbleckert opened this issue 12 years ago • 3 comments

Hi!

First of all the latest release is awesome, keep up the good work!

I was just wondering if you are planning on adding syntax highlighting? I'm talking about the HTML code example and maybe also the css on the right side.

tbleckert avatar Aug 22 '12 11:08 tbleckert

Thanks! Highlighting is on my todo-list.

Now the HTML examples are editable which makes highlighting slightly complicated, but I have some ideas. I benchmarked a few highlighters and I'll probably use Prism.js.

Right now my focus is improved testing, to be able to add features quicker without breaking stuff, but this will come after the test suite is in order.

jacobrask avatar Aug 24 '12 05:08 jacobrask

That sounds great!

tbleckert avatar Aug 24 '12 06:08 tbleckert

Looking forward to this Jacob.

Styleguides acts as a reference, so syntax highlighting is a key part. I still dont understand why would you make code areas editable. For a styleguide, it doesnt make sense.

rmdort avatar Oct 20 '12 02:10 rmdort