asciidoctor-intellij-plugin icon indicating copy to clipboard operation
asciidoctor-intellij-plugin copied to clipboard

AsciiDoc plugin for products on the IntelliJ platform (IDEA, RubyMine, etc)

= IntelliJ AsciiDoc Plugin Erik Pragt :experimental:

A plugin for the IntelliJ platform (IntelliJ IDEA, RubyMine, etc) that provides support for the http://www.asciidoc.org[AsciiDoc] markup language. You can install the plugin (named "AsciiDoc") from the plugins section inside your Jetbrains IDE or download it from the https://plugins.jetbrains.com/plugin/7391[Jetbrains Plugin Repository].

== Release notes

=== 0.12

  • Improved table creation
  • New makelink action thanks to @etteru , @ehmkah and @kreba.
  • Bugfixing, refactoring, etc.

=== 0.11

  • Removed AsciiDoc item in right click menu thanks to Dmitry Jemerov.
  • Added 'Open in Browser' menu item.
  • Added 40+ live template (access them by pressing Cmd+J, or type 'ad-')

=== 0.10

  • Toolbar added thanks to Vojtěch Krása
  • Scratch files with preview thanks to Harro Lissenberg
  • Basic Syntax Highlighting thanks to Dmitry Jemerov!

=== 0.9

Performance of editing large documents greatly improved, thanks to Vojtěch Krása

=== 0.8

Fixed incompatibility with non-IDEA IDE's, thanks to Harro Lissenberg

=== 0.7

Added table creation thanks Harro Lissenberg. Also added basic formatting, and fixed IntelliJ 14.1 incompatibility.

=== 0.6

Convert Markdown to AsciiDoc. Also accessible by using the Refactor -> Convert to AsciiDoc menu.

image::https://cloud.githubusercontent.com/assets/46468/5423595/8411b45a-82c5-11e4-9310-ed3d872381ac.gif[]

=== 0.4

link:https://cloud.githubusercontent.com/assets/46468/5202715/c2bfdcec-7580-11e4-91f6-82f9be257b5d.gif[Screencast]

Usable in the following JetBrains products:

  • IntelliJ IDEA
  • WebStorm and PhpStorm
  • PyCharm
  • RubyMine

== Features

  • Since 0.8 Fixed incompatibility with non-IDEA IDE's, thanks to Harro Lissenberg
  • Since 0.7: Right click on a document to apply basic formatting or create tables.
  • Since 0.6: refactor Markdown to AsciiDoc. Right click on a file, or use the Refactor menu, and the Markdown document will be replaced by the AsciiDoc equivalent. Also supports undo, in case you're not happy with the result!
  • Since 0.4: recognizes the AsciiDoc file extension (.adoc, .asciidoc, .ad)
  • Since 0.4: provides a two-pane AsciiDoc preview editor based on https://github.com/asciidoctor/asciidoctorj[AsciidoctorJ] with Live preview.

If you are missing features, please don't hesitate to let me know on Twitter: http://www.twitter.com/epragt[@epragt] or make an issue in the issue tracker!

== Dependencies

This project uses AsciiDoctorJ and JRuby for the rendering of the AsciiDoc content.

For the conversion of Markdown to AsciiDoc, we use Pegdown and the https://github.com/bodiam/markdown-to-asciidoc[Markdown to AsciiDoc] converter.

== Build

To build this plugin, you need to:

. download the IntelliJ IDEA Community Edition (at a minimum) . open the project . set the project SDK to be the IDEA Plugin SDK (and make sure this points to a valid Java SDK) . build the project by selecting menu:Build[Prepare Plugin Module {apos}AsciiDoc Plugin{apos} for Deployment]

You can then install the plugin from the generated zip file in any IntelliJ platform product.

== Copyright and Licensing

Copyright (C) 2013-2014 Julien Viet and Erik Pragt. Released under the Apache License, Version 2.0 (see link:LICENSE[LICENSE]).

== Credits

This plugin is based on the https://github.com/nicoulaj/idea-markdown[Intellij Markdown plugin by Julien Nicoulaud].

Also, great help was received from Harro Lissenberg, Alexander Schwartz and Dan Allen. Thank you all for your support!