スーパーpre記法の練習

プログラムリストを張り付ける際など,改行やインデントをそのまま表示したいことがある.
その場合,はてなスーパーpre記法っていうのを使えばいいらしい.
入力したプログラムコードを色付けするスーパーpre記法 シンタックス・ハイライトの実装について - はてなダイアリー日記

#include "httpd.h"
#include "http_config.h"
#include "http_protocol.h"
#include "ap_config.h"

#include "http_log.h"
#include "apr_time.h"
#include "apr_shm.h"

#define USER_DATA_KEY "snic_attack_detector"
module AP_MODULE_DECLARE_DATA dosadm_module;

typedef struct ServerConfig{
        char *shm_path;
        apr_shm_t *shm_data;
        int *access_count;
}sconfig;

static void *create_server_config(apr_pool_t *p, server_rec *s){
        sconfig *config;

        config = (sconfig *)(apr_palloc(p, sizeof(sconfig)));

        config->shm_path = "/tmp/ccc";
        config->shm_data = NULL;

        return config;
}

すげー,できたできたー!