Ace Plugin
Gitbook 插件:使 GitBook 支持ace 。
[!TIP|style:flat|iconVisibility:hidden|labelVisibility:hidden] npm install gitbook-plugin-ace
https://github.com/ymcatar/gitbook-plugin-ace
book.json
{
"plugins": [
"ace"
]}
使用示例
hello-world
// This is a hello world program for C.
#include <stdio.h>
int main(){
printf("Hello World!");
return 1;
}