I really like highlighting and tabs that are used for code snippets on symfony.com and doctrine-project.org sites.

enter image description here enter image description here

I wish I knew how they managed to achive this. Probably they use some special JavaScript library?

有帮助吗?

解决方案

From Symfony 2 online documentation:

The Symfony2 documentation uses reStructuredText as its markup language and Sphinx for building the output

So go through these tools' documentation to get an idea on how you can adapt them to your site

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top