Configure Hexo to Support Asciidoctor

Startup

Please follow the guide on hexo official documents

Some good guides in Chinese are(很好的中文教程):

Supporting Asciidoctor

  • install asciidoctor.js

    cd /path/to/hexo-site-dir/
    npm install asciidoctor.js --save
  • install hexo-renderer-asciidoc

    cd /path/to/hexo-site-dir/
    npm install hexo-renderer-asciidoc --save