Ubuntu16.04にasciidoctorをインストール

# Rubyをインストール
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update && sudo apt-get install ruby2.3 ruby2.3-dev

# asciidoctorをインストール

sudo gem install asciidoctor

# HTMLに変換

asciidoctor test.adoc

# PDFに変換

sudo gem install --pre asciidoctor-pdf

asciidoctor-pdf basic-example.adoc


# textlint

npm install textlint-plugin-asciidoc-loose

# Atomのプラグインをインストール
apm install language-asciidoc
apm install asciidoc-preview
{
  "plugins": [
      "asciidoc-loose"
  ],
  "filters": {},
  "rules": {
    "common-misspellings": true,
    "preset-jtf-style": true,
    "spellcheck-tech-word": true,
    "preset-ja-technical-writing": true,
    "joyo-kanji": true,
    "general-novel-style-ja": true,
    "date-weekday-mismatch": true,
    "prh": {
        "rulePaths" :["./prh.yml"]
    }
  }
}