首页 > 就是想要知道能够显示编辑器行号的在线编辑器是什么

就是想要知道能够显示编辑器行号的在线编辑器是什么

例如这段代码,什么编辑器可以让他显示行号呢?

server {
    #$root_path '/home/www/wordpress/public';

    listen  80;
    server_name www.wordpress.com admin.wordpress.com m.wordpress.com;
    index index.php index.html index.htm;
    root /home/www/wordpress;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }
    

    location ~ \.php$ {
        try_files $uri /index.php =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include /usr/local/nginx/conf/fastcgi_params;
    }

    location ~* ^/(css|img|js|flv|swf|font)/(.+)$ {
        root /home/www/wordpress;
    }

    location ~ /\.ht {
        deny all;
    }
    
    access_log  /home/wwwlogs/wordpress.log  access;
    error_log  /home/wwwlogs/wordpress_error.log;
}

推荐两个,都挺容易上手的
codemirror

ace editor

【热门文章】
【热门文章】