문제

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