5

I'm looking for something like ReText, but for AsciiDoc.

The closest I have found is this relatively complex solution (or here) involving Ruby, guard, guard-shell, rb-inotify, asciidoctor, Epiphany (or another browser with LiveReload).

I'll do all that if it is the best option. But I was looking for just a simple solution, along the lines of a ReText for AsciiDoc.

I also heard that O'Reilly has some tools (e.g., the Atlas wiki interface), but I'm not submitting my documents to O'Reilly. (Atlas looks cool and I'd consider using it if I could do so privately.)

Anyone have another suggestion?

1

AsciiDoctor provides a nice Overview of Editing AsciiDoc with Live Preview.

It includes details on how to setup many of the tools mentioned here, e.g. AsciidocFX, Atom, Brackets and IntelliJ.

7

You can use AsciidocFX on any platform.

There are many features:

  • Real-Time Preview
  • Multi-platform (Windows, Mac, Linux ..)
  • Creating Asciidoc Books
  • Creating Markdown Books
  • Creating PDF, HTML, Epub, Mobi, Docbook
  • Epub Viewer
  • External Browser Support
  • Table Generator
  • MathJax Extension
  • PlantUML Extension
  • Filesystem Tree Extension
  • JavaFX Charts Extension
  • That looks pretty good. Can it edit in Preview mode? I'm looking for an asciidoc editor that can do WYSIWYG editing (not just a live preview). – wisbucky Jun 5 '17 at 20:33
  • 1
    Unfortunately, the AsciidocFX editor is very slow. Even with turned off preview, I have to wait the typed letters to appear. Selecting words is even slower. – Dimitar II Jan 23 '18 at 20:17
3

You can also use atom.io with the plugin asciidoc-preview :

http://www.youtube.com/watch?v=R9o-0J2YKZ4

  • atom.io looks exciting. I'll check it out. Thanks – MountainX Apr 13 '15 at 20:48
  • 1
    asciidoc-preview for atom does not support PlantUML that makes it useless. – Stanislav Berkov Feb 15 '16 at 14:53
2

You can use the AsciiDoctor.js Live Preview browser extension to render AsciiDoc (.ad, .adoc, .asc, .asciidoc) as HTML.

  1. Install it for either Chrome or Firefox.

  2. For Firefox, you'll need to download the latest xpi file (link on the README).

  3. For Chrome, you'll likely want to enable Allow access to local file URLs under the extension options.

  4. Then either point your browser at a remote AsciiDoc URL or create a new file locally (e.g. helloworld.adoc), enter some text in it with your favourite editor, and then point your browser to it (e.g. file:///home/ggrossetie/helloworld.adoc).

1

Brackets Editor has a AsciiDoc Preview Extension that I am using right now. Works well.

  • Should we trust Adobe to support Ubuntu going forward? – MountainX Apr 13 '15 at 20:46
  • 1
    It is an opensource project. Code available on github here Here is the License – Mandar Vaze Apr 15 '15 at 6:30
1

Visual Studio Code also comes with a nice AsciiDoc plugin:

enter image description here

  • This plugin also uses AsciiDoctor.js. – MountainX Mar 15 at 18:38

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.