phpdocumentor / guides-code
A library to provide code-related functionality to phpDocumentor's Guides
Installs: 1 201
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/phpdocumentor/guides-code
Requires
- php: ^8.1
- scrivo/highlight.php: ^9.18.0
README
phpDocumentor Guides
This repository is part of phpDocumentor's Guides library, a framework designed to take hand-written documentation in code repositories and create an AST (abstract syntax tree) from it. This AST is then fed to a renderer, which produces the desired output, such as HTML.
The package phpdocumentor/guides-code provides support for syntax highlighting, and a multi-language code block, allowing you to show equivalent code in multiple languages.
Mono-Repository: | https://github.com/phpDocumentor/guides |
---|---|
Documentation: | https://docs.phpdoc.org/components/guides/guides/index.html |
Packagist: | https://packagist.org/packages/phpdocumentor/guides-code |
Contribution: | https://github.com/phpDocumentor/guides/tree/main/CONTRIBUTING.rst |