phpdocumentor / guides-code
一个库,为 phpDocumentor's Guides 提供代码相关功能
1.0.0
2024-03-03 20:57 UTC
Requires
- php: ^8.1
- scrivo/highlight.php: ^9.18.0
README
phpDocumentor Guides
此存储库是 phpDocumentor's Guides 库的一部分,该库是一个框架,旨在从代码存储库中的手写文档中创建一个抽象语法树 (AST)。然后,将此 AST 输送到渲染器,生成所需输出,如 HTML。
包 phpdocumentor/guides-code 提供了语法高亮和多语言代码块的支持,允许您在多种语言中展示等效代码。